Repository navigation
Conversation
passioncode anchor install checks a service package as the person and hands it to macOS Installer, which alone asks for the administrator password: Gatekeeper on, SHA-256 against SHA256SUMS and a deployment manifest's pin, the GitHub build attestation, pkgutil's notarised Developer ID Installer signature of team KJ35UYYL22 to the Apple Root CA, spctl as a further check (it accepted a package with a flipped byte that pkgutil refused), and the package's embedded pin. Never sudo, never a password. Not in the help yet; not released. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…est carries the roster row (W7 T28a, T28b review round 1) gh attestation verify ran without a ref check, so before brain-deploy-1 a package built by a modified workflow on a branch passed as attested; the launcher now reads the verified attestations as JSON and refuses any whose source ref is not refs/tags/brain-anchor-vX.Y.Z (the workflow signs only on such a tag). The pin's commit is shown. --row puts the roster row into the request so the package's install step enrols its keys (fabric-workspace a24fae8e). SECURITY.md names the same-user window between the checks and Installer's read, filed as PC-248. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…TY.md states the package's own check exactly (W7 T28a review round 2) A manifest with a tool tree hash and no package sha256 let a package with the same tool and another anchor runtime pass; such a manifest is now refused. SECURITY.md said an unsigned anchor package aborts before any change; the package's first step only compares its payload with the pin inside the same package, so the same-user window (PC-248) covers a self-built package too, now stated. The handoff takes the workflow's artifact with --pkg and --sums (nothing is published as a release). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…handoff credits the VM with the Python twin only (W7 T28a review round 3) A pin that says fixture is a test vector the workflow never signs; the launcher now refuses it like any other failed check. 'anchor' joins the analytics command words (docs/analytics-events.md in the same change) instead of being sent as 'other'. The VM ran fabric-workspace's assert_identity.py, never lib/anchor.js; the handoff says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…heck, dry run included (W7 T28a review round 5) A dry run with --role org-space and no --org printed 'every check passed', and the real run then failed with exit 1 after the gh and pkgutil calls. The request is now checked first and a bad one is a usage error (exit 2) with no check run and nothing written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d says where Gatekeeper's notarisation check applies (W7 T28a review round 6) The deployment manifest pins the tool tree hash, so the launcher shows it beside the payload tree hash it compares at install. SECURITY.md claimed Installer refuses a package that is not notarised; Gatekeeper's check applies to a quarantined download, and a package taken with gh run download carries none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…olute path (W7 T28a review round 8) - anchor() no longer defaults the role to person: without --role it is a usage error before any check or write (an organisation space run without --role would have installed a person account). - The system checking tools run as /usr/sbin/spctl, /usr/sbin/pkgutil and /usr/bin/open, never through the person's PATH; gh stays on the PATH and SECURITY.md and PC-248 say what a shimmed gh can fake. Red first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…amed as its own (W7 T28a review round 9) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eview round 10) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r rows renumbered PC-249 and PC-250 (main took PC-247, PC-248) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the one failure the known PC-246) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
W7 T28a, the service package hand-off:
passioncode anchor install(not in the help yet; a step of a guided install). Backlog rows PC-249 and PC-250.As the person, before macOS Installer is opened: Gatekeeper assessments on, the package's SHA-256 against the release's
SHA256SUMS(and a deployment manifest's package pin when one is given; a manifest without one is refused), the GitHub build attestation made by the anchor workflow on abrain-anchor-vtag,pkgutil --check-signature(notarised Developer ID Installer of the team, to the Apple Root CA by fingerprint),spctlas a further check, and the embedded pin with its commit.--roleis required.spctl,pkgutilandopenrun by absolute path. Then it writes~/.passioncode/brain-anchor.json(role, organisation, roster row) and runsopen -a Installer. It refuses to run as root and never runssudo.Checks:
node --test test/anchor.test.js22 of 22; fullnpm testafter mergingorigin/main(0.2.84) 711 tests, 706 pass, 4 skipped, 1 fail. The one failure on this build machine is PC-246 (the PC-163 socket-table test), which fails the same on unchangedmain7421947here. IP gate (public) on the changed code, SECURITY.md, the backlog rows and the commit messages: pass. Blind review: 11 rounds across the lane, rounds 10 and 11 clean.Known limit: PC-250, the same-user window between the checks and Installer's read (SECURITY.md names it).
Not released: a launcher release follows the owner's sitting. Handoff:
docs/handoffs/2026-11-25-w7-anchor-launcher.md.🤖 Generated with Claude Code