Repository navigation
docs(start-sdk): registry keeps only signatures from registered signers - #4815
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
helix-white
left a comment
There was a problem hiding this comment.
[P2] Scope the retention guarantee to authoritative registries (host-registry-administration.md:26). Published Registry 1.6.0 deliberately skips startup pruning when mirror-of is configured (registry/context.rs:102), and upstream::replace_index preserves the upstream signature map. A mirror receiving an unregistered signature from its upstream therefore retains it across restarts, contrary to the new unconditional statement. The existing startup_preserves_mirror_signatures_and_normalizes_each_return_to_authority regression and registry architecture documentation explicitly cover this distinction.
The proposal qualifies the guarantee, explains that read-only mirrors preserve upstream signatures, and notes that pruning resumes on the first startup after removing mirror-of. The remaining ingestion, revocation, cosigning, and destination-filtering descriptions match the published release.
The reviewed head merges cleanly into live-docs; its automatic backport to master is also clean. Current Prettier, Conflict Markers, and Docs-only checks pass. No builds or tests run during review.
Proposed changes: 73521d5...proposal/4815
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Helix-Harness: pi Helix-Model: openai-codex/gpt-6.1-sol
helix-white
left a comment
There was a problem hiding this comment.
Approved at 7b41061df. The adopted wording resolves the mirror exception finding.
This documentation-only correction describes Registry 1.6.0's existing behavior: authoritative indexes discard signatures from unregistered keys, revocation removes a key from every signer and drops its indexed signatures, and re-registering requires cosigning again. Promotion retains endorsements only from the destination's registered signers. Read-only mirrors preserve upstream signatures across restarts; removing mirror-of enables pruning on the next startup. Runtime behavior and publishing authorization remain unchanged.
Implementation diff: +0 / −0 lines in 0 files (excludes lockfiles, tests, docs, release notes, and changelog).
Verified the wording against the published start-registry/v1.6.0 implementation and existing startup regression. The head merges cleanly into live-docs and backports cleanly to master. Prettier, Conflict Markers, and Docs-only CI checks pass; runtime jobs are skipped for this docs-only change. No builds or tests run during review.
Description note: its “on every startup” summary still needs the authoritative-registry qualification now present in the book.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
helix-white
left a comment
There was a problem hiding this comment.
Approved at 7373fcf70. Removing the historical version qualifier preserves the current-release guidance, and the read-only mirror exception remains explicit.
This documentation-only correction explains signature filtering during indexing and promotion, global key revocation, and the need to cosign after re-registering a key. Mirrors preserve upstream signatures across restarts; removing mirror-of enables pruning on the next startup. Runtime behavior and publishing authorization are unchanged.
Implementation diff: +0 / −0 lines in 0 files (excludes lockfiles, tests, docs, release notes, and changelog).
The text matches the published start-registry/v1.6.0 implementation and existing regression coverage inspected during review. The new head merges cleanly into live-docs and backports cleanly to master. Prettier, Conflict Markers, and Docs-only CI checks pass; runtime jobs are skipped for this docs-only change. No builds or tests run during review.
Non-blocking description note: the startup summary still omits the mirror exception documented in the book.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
helix-white
left a comment
There was a problem hiding this comment.
Approved at 7c0ae72a6. The latest wording preserves the empty default and explicit selection of signers whose keys are offered to connecting StartOS servers. Removing the historical version numbers does not change that guidance.
The PR corrects the published documentation for signature filtering, global key revocation, cosigning after re-registration, and destination-specific filtering during promotion. The read-only mirror exception and pruning after returning to authoritative operation remain explicit. It also simplifies the key-offering introduction. Runtime behavior, trust selection, and publishing authorization are unchanged.
Implementation diff: +0 / −0 lines in 0 files (excludes lockfiles, tests, docs, release notes, and changelog).
Inspected the published retention implementation, signer-selection owner, defaults, and existing regression coverage. The head merges cleanly into live-docs and backports cleanly to master. Prettier, Conflict Markers, and Docs-only CI checks pass; runtime jobs are skipped. No builds or tests run during review.
Non-blocking description note: the summary still omits the mirror exception and the key-offering wording cleanup.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Registry 1.6.0 (#4729) keeps a package signature only while its key belongs to a registered signer. The administration page still described the older behavior. It said submitted endorsements are added to the signature map and that promotion forwards the whole map, and it said nothing about what revoking a key does.
Changes to
host-registry-administration.md:admin signer edit --remove-keyoradmin signer removeremoves it from every signer that holds it and deletes its indexed signatures. Adding the key back doesn't restore them, so the affected versions need cosigning again.Verified
start-registry/v1.6.0, published Nov 15:registry/package/add.rs(retain_registered_signatureson add and add-mirror),registry/context.rs(pruning ininitialize_database, andremove_enrolled_keysstripping the key from every signer, then pruning), andregistry/admin.rs(edit_signerandremove_signerunenroll the removed keys).prettier --check(root.prettierrc.json) passes.🤖 Generated with Claude Code