Skip to content

feat(sbx): deploy, mocactl sbx credentials and docs for user-scoped egress credentials (SBX0.2b phase 1) - #646

Merged
pdettori merged 13 commits into
mainfrom
feat/sbx-egress-deploy
Oct 28, 2026
Merged

pdettori merged 13 commits into
mainfrom
feat/sbx-egress-deploy

Conversation

@pdettori

@pdettori pdettori commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

What

This is chunk 4, the last chunk of the SBX0.2b plan. It covers deployment, the user client, and docs for user-scoped egress credentials (spec docs/specs/2026-10-26-sbx-egress-credentials-design.md, ADR-0046, phase 1). The control plane (#630) and moca-egress (#641) are already on main. This PR wires them into a deployable feature.

Off by default. If SBX_EGRESS_CREDENTIALS is unset, setup.sh output is byte-identical to today, and a golden-file test asserts that. A host stays as it is until install-host.sh --egress runs.

Changes

  • build-snapshot.sh --egress-ca PATH bakes the host's interception CA into the golden snapshot. Only the public cert goes in, as one certificate. A file containing a private key is refused before anything is staged.

    • It uses the distro's own tool: update-ca-certificates or update-ca-trust.
    • The init gets NODE_EXTRA_CA_CERTS, SSL_CERT_FILE and REQUESTS_CA_BUNDLE. If the line the script anchors on ever drifts, the build fails loudly.
    • manifest.json gains egress_ca_sha256, a DER digest kept outside hash.
  • install-host.sh gains three modes:

    • --egress BUNDLE generates the per-host CA once (P-256, key mode 0600). It installs a moca-egress drop-in that loads egress-token, egress-ca.crt, egress-ca.key and egress-api-ca.crt through LoadCredential= and sets MOCA_EGRESS_CREDENTIALS_URL. The token never appears in argv or logs.
    • --egress-ca-out prints the CA path for build-snapshot.sh.
    • --uninstall-egress removes the drop-in and the token but keeps the CA.

    Once credentials are on, installing a worker refuses any snapshot whose CA fingerprint doesn't match. --egress refuses a moca-egress.service that P6 owns.

  • setup.sh, plus the kustomize Component deploy/k8s/overlays/ocp-sbx/egress-credentials/, both behind SBX_EGRESS_CREDENTIALS=1:

    • Secret: a separate sbx-egress Secret holds the KEK and one SH_EGRESS_TOKEN_<ID> per host. Each is generated once and kept, and a host that is dropped loses its token.
    • Hosts: SH_EGRESS_HOSTS must name template workers only, and the TTL is configurable.
    • Component: a PVC with Recreate, SH_CREDENTIAL_STORE=file, and sbx-egress projected into /run/credentials.
    • Bundles: one egress bundle per host.
  • mocactl sbx credentials: list, presets, add NAME --preset github|github-mcp (token on stdin), add NAME --host host[:port][/prefix] [--kind], and delete.

    • The preset catalog is data-only: src/sbx/presets.ts.
    • sbx up's agent steering now says GH_TOKEN is a placeholder.
    • A sandbox control plane without the feature gets "does not offer egress credentials".
  • Docs:

    • The spec is marked Implemented (phase 1). Its §4.3 now names the sbx-egress Secret, and §8 lists the accepted risks: an upstream Set-Cookie, and an endpoint that echoes headers.
    • The user guide has a new Credentials section.
    • The RUNBOOK has a fresh-host order, an existing-host order, and a turn-off order. Turn-off is hosts first, because otherwise every sandbox gets 503.
    • Security-review rows are added. The live rows are marked pending.

A0 (plan Task 1): passed, 2026-10-28

These checks used a fine-grained PAT against a private repo:

Check Result
REST /user with Basic x-access-token:<PAT> 200
git ls-remote with Basic works
REST /repos/…/pulls with Basic 200
api.githubcopilot.com MCP initialize, Bearer, --http1.1 200, with serverInfo

So github is a single Basic credential and github-mcp ships.

Tests

  • install-host.test.sh, setup.test.sh (also run with MOCA_REQUIRE_WORKSPACE=1), overlay.test.sh and build-snapshot.test.sh pass.
  • The mocactl sbx-credentials and sbx-presets tests pass.
  • shellcheck -x -S warning, Prettier and check-doc-links.py are clean.

Each task had its own independent review. A whole-branch review on the most capable model then traced every seam against main: the bundle, install-host, LoadCredential and config.go; the fingerprint; the control-plane boot; and the mocactl body against the server. It found three operational gaps, which were fixed in 7c76de6 and re-reviewed:

  • the fresh-host order;
  • the safe turn-off order;
  • the template-worker check.

Live acceptance (plan Task 15): passed 2026-10-28, single user

See the PR comment for the full results. In summary:

  • the smoke credential step passed (clone, push, /user, MCP);
  • the placeholder is inert (401);
  • revocation works (401 after the TTL);
  • the PAT is absent from the logs;
  • the KVM gate TestGateCredentialNeverInGuest passes.

The second-user check (acceptance item 3) was skipped by the operator and is pending.

Assisted-By: Claude Code

@pdettori

Copy link
Copy Markdown
Member Author

Live acceptance (plan Task 15): PASS on 2026-10-28 for a single user, on the SBX0 KVM host with the owner's OK. The full manifest, covering what was found, every change, cleanup and the rollback sequence, is in ~/646-manifest.md on the host.

Setup

  • Cluster. moca-sbx is on ghcr.io/rossoctl/moca:main-c10192d@sha256:bb84193…. setup.sh ran with SBX_EGRESS_CREDENTIALS=1, and the control plane's Recreate rollout came up healthy. The PVC moca-sbx-credentials is Bound. The sbx-egress Secret (KEK and SH_EGRESS_TOKEN_KVM) is projected into /run/credentials.
  • Host.
    • moca-egress and microvm-worker were rebuilt from main plus this branch.
    • install-host.sh --egress-ca-out generated the host CA: P-256, CA:TRUE, pathlen:0, valid to 2036.
    • build-snapshot.sh --egress-ca built a new image, default-p41-ca, on the RHEL 9.8 rootfs:
      • the anchor is under ca-trust/source/anchors;
      • the init exports NODE_EXTRA_CA_CERTS, SSL_CERT_FILE and REQUESTS_CA_BUNDLE;
      • the verify-restore passed;
      • egress_ca_sha256 equals the CA's DER digest.
    • install-host.sh --egress installed the LoadCredential= drop-in, and moca-egress logged credentials: on.
    • The worker was reinstalled on default-p41-ca; the fingerprint check passed and it attached.
    • default-p41 is kept as the rollback.

Smoke step 7 (deploy/sbx/smoke.sh, fine-grained PAT, private test repo): ok 7.

  • git clone, commit and git push of a branch worked from the sandbox. /user returned the PAT's owner.
  • The GitHub MCP initialize sent with no Authorization returned serverInfo.
  • The placeholder sent to api.github.com/user from outside the sandbox got 401.
  • After the credential was deleted and TTL+5 s had passed, the sandbox got 401.
  • The PAT appears 0 times in the smoke log.
  • moca-egress audit:
    • credential_injected for info/refs, git-upload-pack, git-receive-pack, /user and the MCP POST, each carrying the credential name and sub only;
    • one opaque tunnel for the request after the delete.
  • The trap removed the credentials, the sandbox and the remote branch.

KVM gate TestGateCredentialNeverInGuest: PASS on default-p41-ca.

  • The positive-control canary was found in a file, an environ and process memory. The fixture credential was found nowhere. The upstream saw the injected header.
  • On the rig the first runs failed because the test's VM id made the jailed firecracker.socket path 109 bytes, over sun_path's limit. 8c85f8d fixes that with a shorter id.
  • TestGateEgressThroughVsock also passes on the same snapshot.

Not run: acceptance item 3 (a second user gets no credential). The operator skipped it, and it is marked pending in docs/sbx/security-review.md (f51db0c).

Left on deliberately: the feature stays enabled on the cluster and the host. The temporary allowlist addition for the MCP check has been removed, and the host token copy and staged files are deleted.

@pdettori
pdettori marked this pull request as ready for review October 28, 2026 04:26
@pdettori
pdettori requested a review from cwiklik as a code owner October 28, 2026 04:26
@pdettori pdettori added the ready-for-ai-review Request automated AI code review from clawgenti label Oct 28, 2026

@ingpaolodettori-dev ingpaolodettori-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the last SBX0.2b chunk, and it looks solid: it's off by default with a golden test, and secrets stay out of argv. The drop-in credential names, MOCA_EGRESS_CREDENTIALS_URL, egress_key/egressTokenEnvName, the host-id regex and the template-worker rule all match remote-worker/internal/egress/config.go and packages/control-plane/src/egress-config.ts on main. The projected credentials volume correctly replaces the overlay's secret: source.

Author: pdettori (MEMBER, maintainer)
Areas reviewed: Shell, Kustomize/K8s, TypeScript (mocactl), Go (KVM gate test), Docs
Agent/IDE config (.claude/.vscode): none
Commits: 12, all signed-off: yes
CI status: passing except trivy-scan. It's also red on unrelated #647, and this PR changes no dependency manifests, so it's likely a new advisory against an existing dependency. Please check it before merging.

Suggestions and nits are inline. None of them blocks merging. Acceptance item 3 (the second-user check) is still pending live, as documented.

Comment thread docs/sbx/security-review.md Outdated

### 2.1 Egress credentials (SBX0.2b, [spec](../specs/2026-10-26-sbx-egress-credentials-design.md))

Rows for the user-scoped credential injection. The live rows are **open**: the live acceptance

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: The intro still says the live acceptance "has not run, so none of them claims evidence yet", but f51db0c marks two rows "Tested live 2026-10-28" and adds the acceptance paragraph. Reword it to say that only the second-user row is still pending.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5648bf2: the intro now says the live acceptance ran on 2026-10-28, two rows carry its evidence, and only the second-user row is pending.

Comment thread deploy/sbx/setup.sh
kek="$(json_value "$json" SH_CREDENTIAL_KEK)"
[[ -n "$kek" ]] || { log 'generating the credential KEK (SH_CREDENTIAL_KEK)'; kek="$(openssl rand -base64 32 | tr -d '\n')"; }
[[ "$(printf '%s' "$kek" | base64 --decode 2>/dev/null | wc -c | tr -d ' ')" == 32 ]] ||
die 'sbx-egress SH_CREDENTIAL_KEK is not 32 bytes of base64: delete the key and re-run (this makes stored credentials unreadable)'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: The control plane's keksFromBase64 accepts a comma-separated KEK ring (newest first) for rotation. This check requires exactly 32 bytes, so the first setup.sh run after an operator adds a second KEK dies. Its message then says to delete the key, which makes every stored credential unreadable. Please accept the ring (validate each entry), or at least don't advise deletion when the value contains a comma.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5648bf2: the check splits on , like keksFromBase64 and requires every entry to decode to 32 bytes. An existing ring is never rewritten. A bad ring is refused with a fix-by-hand message and no deletion advice. A bad single key keeps the delete advice, now with the warning that it makes stored credentials unreadable. New setup.test.sh case: a two-entry ring survives a re-run unchanged, and a ring with one bad entry is refused without deletion advice.

systemctl reset-failed moca-egress.service || true
systemctl restart moca-egress.service || die 'moca-egress failed to start with credentials; the reason is in: journalctl -u moca-egress. Fix it and re-run'
wait_egress_ready "$SBX_ENV_DIR/moca-egress.env"
log "moca-egress now injects credentials; build snapshots with: deploy/microvm/build-snapshot.sh --egress-ca $d/ca.crt --out $SBX_SRV/snapshots/<image>"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: --egress doesn't look at workers that are already installed. In the fresh-host order, a worker installed in step 3 from a snapshot without the CA passes, because there's no drop-in yet, so check_snapshot_ca is skipped. Step 4 then turns on interception silently, and users get guest TLS failures. Consider warning about each installed worker whose SH_SNAPSHOT_IMAGE manifest lacks a matching egress_ca_sha256, and pointing at the reinstall.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5648bf2: after the drop-in, --egress warns for every installed worker whose SH_SNAPSHOT_IMAGE manifest lacks egress_ca_sha256 or carries a different one. It warns rather than refuses because the fresh-host order installs the worker first. The manifest read is factored into snapshot_ca_fingerprint, shared with check_snapshot_ca. New install-host.test.sh case.

Comment thread deploy/sbx/setup.sh Outdated
# turning it off later leaves sbx-egress and the PVC in place
# SBX_EGRESS_HOSTS optional, with SBX_EGRESS_CREDENTIALS=1: kvm-a=sbx_default,sbx_py312;kvm-b=w3
# (host ids ^[a-z0-9][a-z0-9-]{0,30}$; every SBX_WORKERS entry owned by exactly
# one host). Unset: one host, kvm, owning every worker

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: This header says "every SBX_WORKERS entry owned by exactly one host" and "Unset: one host, kvm, owning every worker", and spec §4.3 (the SH_EGRESS_HOSTS row) says the same. But the code and the control plane require template workers only, and they refuse a non-template worker. Please align the wording with 7c76de6's template-worker check.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5648bf2: the setup.sh header, the validation comment and spec §4.3 now say every template worker (listed in SBX_TEMPLATES_FILE) is owned by exactly one host, and the default kvm owns every template worker.

Comment thread deploy/sbx/smoke.sh Outdated
[[ "$RC" == 0 ]] || fail "a public git ls-remote in user B's sandbox: exit $RC: $(lastline "$LOGS/cred-b-public.err")" || return 1
release b "$bid" || return 1
else
echo "ok 7 - B's sandbox gets a 401 and a public clone works # SKIP no second user"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Without a second user, this prints an extra ok 7 - … # SKIP line before run_step's own ok 7 - …. The TAP output then has two results for test 7, and SKIPS is incremented for a step that counts as passed. A # step 7: … comment line would avoid both.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5648bf2: the no-second-user path prints # step 7: second-user check skipped (no second user) as a TAP comment and no longer bumps SKIPS. smoke.test.sh updated.

Comment thread packages/mocactl/src/sbx/cli.ts Outdated
? arg === undefined ||
(arg === 'presets'
? extra.length === 0
: ['add', 'delete'].includes(arg) && extra.length === 1)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: mocactl sbx credentials list is a natural spelling, but it falls through to "unknown credentials command 'list'". Consider accepting list as an alias for the bare command.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5648bf2: mocactl sbx credentials list is an alias of the bare form, and the usage line shows [list]. New test in sbx-credentials.test.ts.

pdettori added a commit to pdettori/moca that referenced this pull request Oct 28, 2026
…7045

trivy-scan went red on this branch (and on rossoctl#646, which touches no
dependencies either): golang.org/x/net v0.61.0 in remote-worker and
v0.60.0 in gen/go are vulnerable to CVE-2026-78661 (quadratic
complexity coalescing text nodes in html) and CVE-2026-97045
(ancestor namespace transitions when rendering raw text), both fixed in
v0.62.0.

Both advisories are currently severity UNKNOWN, so the workflow's
severity: CRITICAL,HIGH input does not gate them: trivy-action drops
the severity filter when building the SARIF report ("with all
severities"), and exit-code 1 then fires on any finding — verified by
running the exact action invocation locally against this tree before
and after the bump (exit 1 -> 0).

gen/go additionally picks up x/sys v0.49.0 and x/text v0.43.0, the
versions x/net v0.62.0 requires.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…on CA (SBX0.2b)

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
… only

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…d host CA

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…ENTIALS=1

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…-mcp)

mocactl sbx credentials [add NAME (--host DEST | --preset ID) | presets | delete NAME]
on the sandbox login. The secret comes from stdin only. ready() splits into
readyCp (login) and ready (readyCp plus harness) so the credential commands run
without a harness; the MOCA `mocactl credentials` behaviour is unchanged.
sbx up's steering gains the GH_TOKEN placeholder line.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…onflict

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…heck (final review)

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Smoke step 7 (opt-in: SBX_SMOKE_GITHUB_TOKEN_FILE + SBX_SMOKE_GITHUB_REPO): store the PAT
on stdin, clone/commit/push, owner check, placeholder 401, revocation, optional github-mcp
and a second-user check. Runnable alone with only HOME_A. TestGateCredentialNeverInGuest
scans the guest's files, environ and memory for the fixture credential.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…th over sun_path)

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…ty review

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…template-worker wording, smoke TAP, credentials list

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori
pdettori force-pushed the feat/sbx-egress-deploy branch from f51db0c to 59b5623 Compare October 28, 2026 13:33
@pdettori

Copy link
Copy Markdown
Member Author

Correction: the review fixes only reached this PR now. My earlier push went to the fork, not the PR's head branch. The branch is rebased on main (with #648), and the fix commit is 59b5623. The inline replies cite 5648bf2, its pre-rebase sha.

@ingpaolodettori-dev ingpaolodettori-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up at 59b5623: I verified all six items from the f51db0c review in the fix commit (59b5623, pre-rebase 5648bf2). The security-review intro is reworded. setup.sh accepts a KEK ring the way keksFromBase64 does and never advises deleting a ring. install-host.sh --egress warns for installed workers whose snapshot lacks or mismatches the CA fingerprint. The template-worker wording is aligned in setup.sh and spec §4.3. The smoke step-7 skip is a TAP comment. credentials list is an alias. Each fix has a test. The 12 earlier commits are unchanged by the rebase onto 2515473 (range-diff =). CI is all green. Acceptance item 3 (second user) is still pending live, as documented.

@pdettori
pdettori merged commit c916d73 into main Oct 28, 2026
15 checks passed
@pdettori
pdettori deleted the feat/sbx-egress-deploy branch October 28, 2026 14:42
@pdettori

Copy link
Copy Markdown
Member Author

SBX0.2b egress credentials: rulings made during execution

#624 (spec), #627, #630, #641 and #646 are all merged. These are the judgement calls I made without stopping to ask. Each line ends with the cost if the call was wrong.

Process

  • A0 and the live rig runs were handed to the user, not run autonomously: they need the user's PAT and touch the shared KVM host. Cost: none.
  • The ~/.claude/skills edits (sbx:install, sbx:upgrade, sbx:debug) were listed for the user, not applied from a subagent. Cost: a few small edits by hand.
  • Docs (Task 16) were written before the live run (Task 15). The security-review evidence rows were filled in afterwards. Cost: one follow-up commit.
  • The github and github-mcp presets shipped on the assumption that A0 would pass; A0 then passed. Cost: one catalog edit.

Control plane

  • T4 added only the /v1/credentials routes. T6 added the lookup route and extended the EGRESS route list. Cost: none.
  • Element order follows the stated rule (port ascending, prefix length descending, name ascending), not the brief's example, which contradicted it. Cost: one test edit.
  • Duplicate host tokens across SH_EGRESS_HOSTS are refused at boot. Two hosts sharing a token could read each other's sandboxes' credentials. Cost: an operator who copied a token gets a boot error.

Egress proxy

  • New conformance cases are appended after the existing 15. Cost: none.
  • Interception reuses the Fix: bound moca-egress connections in time on CONNECT tunnels and the forward path #619 idle bound on both legs. Cost: none.
  • Two contract additions: intercepted-but-uninjected requests emit decision=forward, and credential_revoked events carry the credential name and sid. Both are documented in doc.go. Cost: an audit-format change.
  • A match always deletes the guest's Authorization before setting the injected one. An uncovered request keeps the guest's own header (spec §5.2). Cost: none.
  • The path guard also refuses // and # on path-scoped hosts. Non-100 1xx responses are skipped, with a bound of 10. Cost: a small diff.
  • MOCA_EGRESS_NONE_TTL_S is configurable (default 60, range 5–300). sandbox_not_found is cached at the 5 s floor. Cost: one more setting.
  • Env names follow the code's *_FILE names and CREDENTIALS_DIRECTORY defaults (spec §5.3). Cost: a rename later.

Deployment

  • build-snapshot.sh --egress-ca fails loudly if the init rewrite misses its anchor, and refuses a CA file with more than one certificate. Cost: none.
  • install-host.sh --egress refuses a moca-egress.service it does not own, and warns rather than refuses about installed workers whose snapshot lacks the CA (the fresh-host order installs the worker first). Cost: none.
  • The live run built a new image, default-p41-ca, and kept default-p41 as the rollback. Cost: disk.

Deferred, not yet filed

Each task's minor findings are in the ledger. The ones worth a follow-up issue:

  • smoke.test.sh has a dead assertion (LOGS_KEPT is undefined, so the PAT-in-logs check never runs) and a no-op || true.
  • Upstream Set-Cookie minted from the injected token reaches the guest. This is inherent to an endpoint that derives a credential from the token; spec §8 and §11 should say so.
  • No audit line for the 500 outcomes (credential_unsafe, destination_ambiguous).
  • Stale host tokens for hosts dropped while the feature is off persist until the next on-run.
  • Coverage gaps in config parsing, cache expiry timing and the mocactl add variants.

Open

  • Acceptance item 3 (second user) has not run.
  • Vault is the follow-up to the file store.

Assisted-By: Claude Code

pdettori added a commit to pdettori/moca that referenced this pull request Nov 16, 2026
Sixteen ADRs still said Proposed although their decisions are in code
on main. Each status line now names the merged PRs that implemented it
and the date the core landed (format of ADR-0042), and notes what is
still owed where only part is built:

- 0028 (rossoctl#170, rossoctl#201, rossoctl#340; its KEDA transport removed by ADR-0041)
- 0029 (rossoctl#171), 0030 (rossoctl#214), 0031 (rossoctl#214, rossoctl#225)
- 0032 (rossoctl#249, rossoctl#350, as amended by MI1)
- 0035 (rossoctl#251; ADR-0048 adds lease mode beside it)
- 0036 (rossoctl#347), 0038 (rossoctl#458), 0039 (rossoctl#467), 0040 (rossoctl#481)
- 0043 (rossoctl#560, rossoctl#588, rossoctl#600, rossoctl#615), 0044 (rossoctl#563), 0045 (rossoctl#620)
- 0046 (phase 1: rossoctl#630, rossoctl#641, rossoctl#646; phase 2 owed)
- 0047 (M1 and M3: rossoctl#704, rossoctl#713, rossoctl#717, rossoctl#765; M2 owed)
- 0048 (rossoctl#706, rossoctl#763, rossoctl#802, rossoctl#808, rossoctl#814; off by default until the
  security review's lease sections are signed off)

The README index follows, and its 0033 row, which still said Proposed
after rossoctl#249 accepted the ADR, is corrected.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
pdettori added a commit that referenced this pull request Nov 16, 2026
Docs and agent-facing text that the code no longer matches, found by an
issue triage against main:

- The microVM guest and the SBX sandbox have no network device, but
  reach the hosts on moca-egress's allowlist through the host's proxy
  (P4.1 #581-#583; SBX egress #641/#646). Concepts, guides, P4-ON-P6,
  the VM README, research-smoke, hardening, maturity, the demo's limits,
  the SBX user guide and direct-client doc said "no network" outright.
  So did the sandbox MCP instructions, the tool descriptions and the
  sbx status text agents read, which made agents refuse allowlisted
  calls (#779).
- openapi.yaml said the worker enforces a turn's caps; nothing does
  yet (#391).
- harness-openapi.yaml called /turn and /runs "deliberately not
  described", while change-policy decision 3 makes them supported
  aliases (#507).
- The changelog is now the API changelog for both documents, with an
  index of the data-plane versions; both OpenAPI files point at it, and
  change-policy decision 5's follow-up is done (#511).
- upgrades.md and change-policy: the configRef ordering only matters
  from before v0.5.0 or for a bundle-format change (#512, #510).
- dispatch-archetypes and maturity: deploy/k8s's async drain is proven
  by its smoke claims (#688, #765).
- Specs: slice 3's relay restart is graceful since #462 (#453); MI1
  §2.2 gains a status note for the scrub (#350) and the vsock hop.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-ai-review Request automated AI code review from clawgenti

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants