Skip to content

Commit c40aaa0

Browse files
Merge remote-tracking branch 'origin/main' into test/5655-port-network-l7-policy/matthewgrossman
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
2 parents c5223ba + cab6ad1 commit c40aaa0

132 files changed

Lines changed: 5140 additions & 1284 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/agents/gator/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ The launcher:
124124
- Installs `gator/bin/validate-review-findings` to downgrade blockers that lack the required reachability, ownership, base-vs-head, impact, and reproducer evidence.
125125
- Keeps that normalized evidence as Gator's internal review contract, then renders validated blockers for people as a read-aloud `Summary`, an actionable `Fix`, and a deterministic `Verify`. Exact paths and only the additional provenance an implementation agent needs appear in collapsed `Agent context`; raw evidence headings such as `Base` and `Head` are not posted publicly. Review-process provenance, docs and E2E disposition, SHAs, and state codes appear at the end of the summary in collapsed `Gator metadata`, while required human actions remain visible.
126126
- Bakes `.agents/agents/gator/skills/gator-gate/SKILL.md` into `/etc/openshell/agent-payload`.
127-
- Bakes `.claude/agents/principal-engineer-reviewer.md` so the selected harness can run a deterministic independent reviewer execution through `/etc/openshell/agent-payload/runtime/subagent.sh principal-engineer-reviewer < task.md`.
127+
- Bakes `.agents/agents/principal-engineer-reviewer/prompts/principal-engineer-reviewer.md` so the selected harness can run a deterministic independent reviewer execution through `/etc/openshell/agent-payload/runtime/subagent.sh principal-engineer-reviewer < task.md`.
128128
- For `--harness codex`, optionally bakes a host Codex executable as `/etc/openshell/agent-payload/runtime/harnesses/codex/codex`.
129129
- Starts the selected harness without a TTY.
130130
- Runs gator in `watch` mode by default. The sandbox stays alive while the supervisor sleeps between bounded Codex cycles, so Codex is not connected during passive PR waits. The supervisor prints periodic heartbeat lines during active cycles and passive sleeps.

‎.agents/agents/gator/agent.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ resources:
8787

8888
subagents:
8989
- id: principal-engineer-reviewer
90-
source: repo://.claude/agents/principal-engineer-reviewer.md
90+
source: repo://.agents/agents/principal-engineer-reviewer/prompts/principal-engineer-reviewer.md
9191
destination: subagents/principal-engineer-reviewer.md
9292
expose_as: REVIEWER_COMMAND
9393

‎.agents/agents/gator/tests/review_feedback_ledger_test.sh‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ rg -Fq 'private_security_review_required' "$GATOR_DIR/skills/gator-gate/SKILL.md
429429
rg -Fq 'Do not initiate external disclosure' "$GATOR_DIR/skills/gator-gate/SKILL.md"
430430
rg -Fq 'not a generic private-security blocker' "$GATOR_DIR/prompts/gator.md"
431431
rg -Fq 'Security classification alone is not a private-triage gate' \
432-
"$ROOT_DIR/.claude/agents/principal-engineer-reviewer.md"
432+
"$ROOT_DIR/.agents/agents/principal-engineer-reviewer/prompts/principal-engineer-reviewer.md"
433433
rg -q '### Pragmatic review calibration' \
434434
"$GATOR_DIR/skills/gator-gate/SKILL.md"
435435
rg -q 'A new commit permits a delta review' \
@@ -441,9 +441,9 @@ rg -q 'available evidence demonstrates a Critical' \
441441
rg -q 'Keep reviews pragmatic and convergent' \
442442
"$GATOR_DIR/prompts/gator.md"
443443
rg -q '### Pragmatic review calibration' \
444-
"$ROOT_DIR/.claude/agents/principal-engineer-reviewer.md"
444+
"$ROOT_DIR/.agents/agents/principal-engineer-reviewer/prompts/principal-engineer-reviewer.md"
445445
rg -q 'Do not mine unchanged code for new findings' \
446-
"$ROOT_DIR/.claude/agents/principal-engineer-reviewer.md"
446+
"$ROOT_DIR/.agents/agents/principal-engineer-reviewer/prompts/principal-engineer-reviewer.md"
447447
rg -q 'three finding-bearing rounds' \
448448
"$GATOR_DIR/skills/gator-gate/SKILL.md"
449449
rg -q 'alone is not a process blocker' \
@@ -453,7 +453,7 @@ rg -q '`test_dispatch_required`' \
453453
rg -q 'Apply `test:windows` whenever a PR affects Windows support' \
454454
"$GATOR_DIR/skills/gator-gate/SKILL.md"
455455
rg -q 'require the `test:windows` label' \
456-
"$ROOT_DIR/.claude/agents/principal-engineer-reviewer.md"
456+
"$ROOT_DIR/.agents/agents/principal-engineer-reviewer/prompts/principal-engineer-reviewer.md"
457457
rg -q 'attacker_or_operator_prerequisite' \
458458
"$GATOR_DIR/skills/gator-gate/references/review-findings-schema.md"
459459
rg -Fq 'Write `Summary` as natural prose that can be read aloud' \
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# principal-engineer-reviewer
2+
3+
The principal engineer reviewer is a sub-agent prompt for code, plan, and architecture reviews. It is not yet a standalone agent runtime.
4+
5+
`prompts/principal-engineer-reviewer.md` is the canonical, framework-neutral prompt. Gator bakes it into its payload through `.agents/agents/gator/agent.yaml` and runs it with the selected harness.

.claude/agents/principal-engineer-reviewer.md renamed to .agents/agents/principal-engineer-reviewer/prompts/principal-engineer-reviewer.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
---
2-
name: principal-engineer-reviewer
3-
description: >
4-
Use this agent to review existing code, audit plans, evaluate product
5-
requirements, or get architectural guidance that balances pragmatism, user
6-
experience, and security. This includes code reviews, plan audits,
7-
architecture reviews, security assessments, or when building engineering
8-
and development plans from requirements. Use proactively after significant
9-
code changes or before merging.
10-
tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
11-
model: inherit
12-
memory: project
13-
---
14-
151
You are a principal engineer reviewing code, plans, and architecture for the
162
OpenShell project. Your reviews balance three priorities equally:
173

‎.agents/skills/release-captain/SKILL.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ tag, or start a second `Pre-release` run for a tag; it has no concurrency guard.
3232

3333
- A train has one base version, such as `v0.1.4`, fixed by its `-pre.1` tag. A
3434
patch train can't take breaking changes to Stable interfaces.
35-
- `Release Auto-Tag` has no schedule while scheduled pre-releases are paused.
36-
Dispatch it with `gh workflow run release-auto-tag.yml --ref main`. If `main`
37-
has commits since the latest `-pre.N`, it tags the next one and dispatches
35+
- `Release Auto-Tag` runs on weekdays at 14:00 Europe/Zurich. If `main` has
36+
commits since the latest `-pre.N`, it tags the next one and dispatches
3837
`Pre-release` (`release-prerelease.yml`, about 45 minutes). It skips when the
3938
train has no `-pre.1` or the base version is already stable.
4039
- `Pre-release` builds, then publishes and qualifies in parallel, and writes a

‎.agents/skills/release-openshell/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Wait for the entire Pre-release run to pass before promoting it. Stable tag push
7676
start Release. Release Auto-Tag creates and dispatches prereleases on `main`.
7777

7878
Stable releases serialize across branches. A release older than the highest
79-
stable Git tag publishes versioned artifacts without moving GHCR `latest`, the
79+
stable Git tag publishes versioned artifacts without moving Quay `latest`, the
8080
GitHub latest release, npm `latest`, or snap `latest/stable`. Its npm package
8181
uses `release-X.Y`; snap files remain available in its GitHub Release rather than
8282
updating a Snap Store support track. Docs retain an

‎.agents/skills/sbom/SKILL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ then runs the SBOM verification before updating `latest`.
3131
BuildKit uses its default Syft scanner and attaches one SPDX document per platform. Read one without pulling the image:
3232

3333
```bash
34-
docker buildx imagetools inspect ghcr.io/nvidia/openshell/gateway:latest \
34+
docker buildx imagetools inspect quay.io/ai-openshell/gateway:latest \
3535
--format '{{ json (index .SBOM "linux/amd64").SPDX }}'
3636
```
3737

3838
Validate the final attestation, requiring a Cargo package for an auditable image:
3939

4040
```bash
41-
tasks/scripts/verify-image-sbom.sh ghcr.io/nvidia/openshell/gateway:latest --require-cargo
41+
tasks/scripts/verify-image-sbom.sh quay.io/ai-openshell/gateway:latest --require-cargo
4242
```
4343

4444
## Inspecting an Auditable Image Binary

‎.agents/skills/test-release-canary/SKILL.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ Note `install.sh` is pulled from `raw.githubusercontent.com/ai-openshell/openshe
9292

9393
`Release Dev` publishes two chart versions for every dev build (see the push steps in `.github/actions/release-helm-oci/action.yml`):
9494

95-
- `oci://ghcr.io/nvidia/openshell/helm-chart:0.0.0-dev` — floating, overwritten on every main push.
96-
- `oci://ghcr.io/nvidia/openshell/helm-chart:0.0.0-dev.<sha>` — immutable, `appVersion` set to the same SHA so it pulls the matching `gateway`, `sandbox`, and `supervisor` images.
95+
- `oci://quay.io/ai-openshell/charts/openshell:0.0.0-dev` — floating, overwritten on every main push.
96+
- `oci://quay.io/ai-openshell/charts/openshell:0.0.0-dev.<sha>` — SHA-pinned, with `appVersion` set to the same SHA so it pulls the matching `gateway`, `sandbox`, and `supervisor` images.
9797

9898
To smoke-test the chart for a specific dev build, dispatch `Release Dev` on the branch first, then run the kind canary steps locally pointed at the SHA-pinned chart (see "Local kind reproduction" below). The release-canary workflow itself does not currently expose `chart_version` / `image_tag` inputs.
9999

@@ -106,7 +106,7 @@ kind create cluster --name release-canary-local
106106
107107
bash e2e/support/install-agent-sandbox.sh
108108
109-
helm install openshell oci://ghcr.io/nvidia/openshell/helm-chart \
109+
helm install openshell oci://quay.io/ai-openshell/charts/openshell \
110110
--version 0.0.0-dev \
111111
--namespace openshell --create-namespace \
112112
--set server.disableTls=true \
@@ -142,7 +142,7 @@ Loopback registration auto-derives the gateway name to `openshell` if `--name` i
142142
| `ubuntu-snap-system-docker` fails during the prover checks | The prover artifact is missing or packaged for the wrong architecture, `openshell.prover` is not exposed, missing the alias to `openshell-prover`, or not permitted to read the test policies, or its solver linkage is not runnable. | The `Install and check status` and `Check a policy boundary with the snap prover` steps, plus `snap info openshell` and `snap connections openshell`. |
143143
| `ubuntu-snap-docker-preflight` unexpectedly succeeds | The installer no longer fails before installing the OpenShell snap when Docker is absent or supplied by the Docker snap. | Inspect `install.log`, `docker-snap.log`, `snap list`, and snapd changes. |
144144
| `kubernetes` job fails on `helm install --wait` | Chart did not deploy in 5 min — usually image pull failure or readiness probe failing. | "Diagnostics on failure" step dumps `helm status`, manifest, pod describe, pod logs. |
145-
| `kubernetes` job fails on `kubectl wait` | Gateway pod stuck `CrashLoopBackOff` or `ImagePullBackOff`. | Diagnostics dump; check `:dev` image existence at `ghcr.io/nvidia/openshell/gateway`. |
145+
| `kubernetes` job fails on `kubectl wait` | Gateway pod stuck `CrashLoopBackOff` or `ImagePullBackOff`. | Diagnostics dump; check `:dev` image existence at `quay.io/ai-openshell/gateway`. |
146146
| `kubernetes` job fails on `openshell gateway add` or `status` | Port-forward not reachable, or CLI/gateway proto mismatch. | `port-forward.log` and `openshell gateway list` in the diagnostics dump. |
147147

148148
The `kubernetes` job's diagnostics step (only runs `if: failure()`) emits, in order: helm status, rendered manifest, `kubectl get all`, pod descriptions, pod logs (200 lines per container), port-forward log, gateway list, CLI version. Read it top-to-bottom — most failures fall out by the manifest or pod logs.

‎.claude/README.md‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)