8000 chore: install agent contract and chore workflows by norrietaylor · Pull Request #185 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

chore: install agent contract and chore workflows - #185

Closed
norrietaylor wants to merge 1 commit into
mainfrom
chore/install-agent-contract
Closed

norrietaylor wants to merge 1 commit into
mainfrom
chore/install-agent-contract

Conversation

@norrietaylor
@norrietaylor norrietaylor commented May 6, 2026 •
Copy link
Copy Markdown
Member

Installed by scripts/quick-setup.sh from gominimal/min-aw@v0.2.1.

Summary by CodeRabbit

  • Documentation

    • Added standardized GitHub issue templates for bug reports, feature requests, chores, and feedback.
    • Added Agent Contract and Copilot instructions documentation for contributors.
    • Added agents directory documentation.
  • Chores

    • Added GitHub labels configuration for issue triage and automation.
    • Added GitHub Actions workflows for syncing workflows from source repository and executing worker fixes.

Installed by scripts/quick-setup.sh from gominimal/min-aw@v0.2.1.
@coderabbitai
coderabbitai Bot commented May 6, 2026 •
Copy link
Copy Markdown
Contributor

Caution

Review failed

Failed to post review comments

📝 Walkthrough

Walkthrough

Introduces GitHub repository governance infrastructure including issue templates for bugs, features, chores, and feedback; a labels configuration file; agent contract documentation; copilot instructions; and GitHub Actions workflows for workflow synchronization and worker-fix operations.

Changes

Repository Governance and Automation Infrastructure

Layer / File(s) Summary
Issue Templates
.github/ISSUE_TEMPLATE/bug.md, .github/ISSUE_TEMPLATE/feature.md, .github/ISSUE_TEMPLATE/chore.md, .github/ISSUE_TEMPLATE/feedback.md
Four issue templates established with distinct sections for bug reports (Steps to Reproduce, Expected/Actual Behavior, Environment), feature requests (Motivation, Proposed Solution, Acceptance Criteria), chores (Summary, Context, Scope, Definition of Done), and feedback (Source, Priority, Affected parties).
Labels Configuration
.github/labels.yml
GitHub labels defined including agent-owned labels (doc-drift, coverage, dep-drift, auto-merge), worker-tuning, and standard triage labels (bug, feature, chore, feedback, good first issue, help wanted, wontfix, duplicate) with colors and descriptions.
Agent Contract and Documentation
AGENTS.md, .github/agents/README.md
Agent contract established defining active agents, their triggers, permitted actions, constraints, label taxonomy, and fragment import patterns. Agents directory README documents how to add agents and references active agents list.
Developer Guidance
.github/copilot-instructions.md
Copilot instructions document created detailing repository context, code conventions, agent contract, fragment patterns, and merge gate guidance for AI-assisted development.
Automation Workflows
.github/workflows/sync-from-source-of-truth.yml, .github/workflows/worker-fix.yml
Two GitHub Actions workflows added: sync-from-source-of-truth runs on schedule and manual dispatch to fetch and execute sync scripts from an upstream repository using GitHub App authentication and checksum validation; worker-fix runs scheduled or on dispatch to execute worker-fix logic from upstream source.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • gominimal/min-aw#86: Modifies the same GitHub templates, workflows, and label definitions with related configuration changes to worker-tuning and sync-from-source-of-truth.
  • gominimal/inbox#1: Introduces identical repository-level additions including AGENTS.md, issue templates, labels, copilot instructions, and workflows.
  • gominimal/min-aw#1: Makes overlapping additions of the same repository scaffolding including issue templates, labels configuration, AGENTS.md, copilot instructions, and sync workflows.

Poem

🐰 A warren of templates and labels so bright,
With agents that fix and keep workflows just right,
GitHub flows smoothly now, synced from above,
Repository governance wrapped up in love! 💕

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: install agent contract and chore workflows' accurately describes the main changes in the pull request, which involve adding agent contract documentation, issue templates, GitHub Actions workflows, and related configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/install-agent-contract

Comment @coderabbitai help to get the list of available commands and usage tips.

@norrietaylor
Copy link
Copy Markdown
Member Author

@CodeRabbit review

@coderabbitai
coderabbitai Bot commented May 6, 2026
Copy link
Copy Markdown
Contributor
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@norrietaylor
norrietaylor deleted the chore/install-agent-contract branch May 6, 2026 18:06
bryan-minimal added a commit that referenced this pull request Oct 19, 2026
…edentials by reference

Five review findings on the SBOM spec. Context says how a component is
decided referenced until build-servers#185 pins the document digest: by the
closure entry alone (an artifact digest references the document named from
the Build Spec Hash; `built-locally` and `non-redistributable` are the gap),
with no cache probe, so SBOM-001 holds and a missing document for a cached
artifact is SBOM-012's failure. SBOM-013 fixes the order of checks (bundle,
subject, then the rest), requires every serializer to emit the `unverified`
mark so a reader never takes unbundled data for verified, and adds
`--require-bundles` to fail on an absent bundle; whether that becomes the
default after #185 is an open question. SBOM-008 covers every
credential-bearing posture field by reference, not only variable values.
The two security invariants are reworded to match.
bryan-minimal added a commit that referenced this pull request Oct 19, 2026
Arch review conditions on SBOM-013. C1: the interim is no longer a default
that waits on a flag. When the pin records a bundle for a per-package
document (its state in the sealed map), the bundle is verified before any
read and a failed or missing bundle is SBOM-012's failure; while the pin
records no bundle (build-servers#185 has not published one), the document is
read, the component is marked `unverified`, and one stderr diagnostic per
emission names each such component and #185. The pin decides, so SBOM-001
holds and the interim ends by itself at the first pin that records bundles;
the open question on a default flip is gone. `--require-bundles` stays as
the strict side. C2: a subject-digest mismatch, a failed bundle check and
SBOM-012's failure all exit with code 6, as the exit-code table says.
bryan-minimal added a commit that referenced this pull request Oct 19, 2026
…edentials by reference

Five review findings on the SBOM spec. Context says how a component is
decided referenced until build-servers#185 pins the document digest: by the
closure entry alone (an artifact digest references the document named from
the Build Spec Hash; `built-locally` and `non-redistributable` are the gap),
with no cache probe, so SBOM-001 holds and a missing document for a cached
artifact is SBOM-012's failure. SBOM-013 fixes the order of checks (bundle,
subject, then the rest), requires every serializer to emit the `unverified`
mark so a reader never takes unbundled data for verified, and adds
`--require-bundles` to fail on an absent bundle; whether that becomes the
default after #185 is an open question. SBOM-008 covers every
credential-bearing posture field by reference, not only variable values.
The two security invariants are reworded to match.
bryan-minimal added a commit that referenced this pull request Oct 19, 2026
Arch review conditions on SBOM-013. C1: the interim is no longer a default
that waits on a flag. When the pin records a bundle for a per-package
document (its state in the sealed map), the bundle is verified before any
read and a failed or missing bundle is SBOM-012's failure; while the pin
records no bundle (build-servers#185 has not published one), the document is
read, the component is marked `unverified`, and one stderr diagnostic per
emission names each such component and #185. The pin decides, so SBOM-001
holds and the interim ends by itself at the first pin that records bundles;
the open question on a default flip is gone. `--re
8000
quire-bundles` stays as
the strict side. C2: a subject-digest mismatch, a failed bundle check and
SBOM-012's failure all exit with code 6, as the exit-code table says.
evanspearman pushed a commit to evanspearman/minimal that referenced this pull request Dec 4, 2026
* docs: spec 12 — session/task SBOM + CycloneDX Blueprint (inbox#582)

* docs: convert spec 12 to the ratified format (foundry#35 template; 0 lint findings)

* docs: compose environment SBOMs from per-package documents (msample review)

Per-package emission at publish becomes slice 1 and the environment
document composes references to it, rather than re-deriving component
detail. Adds SBOM-009..012: composition by reference, the envelope's
facts as environment-derived, an unresolvable component as a declared
gap, and loud failure on an unfetchable reference. Keys determinism to
the pin and closure rather than to cache state.

Also adds the `tier:` lines the merged foundry#35 linter requires; the
pre-merge conversion inferred them from which fields were present.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs: spec-review fixes — story verbatim, observable SBOM-009, pin defined

Scored against foundry's spec-review rubric. Five fixes:

- the build-infra story is the epic's wording again; the composition clause
  it had picked up belongs in Design reasoning, not in a transcribed story
- SBOM-009 states the observable (component detail equals the sealed
  per-package document) rather than the composition mechanism, and says
  whose interface that document is
- SBOM-012 carries a property: it is named in a Security invariant's
  covered-by, and an invariant checked by one example is a claim with an
  example behind it
- "catalog pin" is defined where the requirements first lean on it
- Design reasoning says SBOM-009..012 answer a review question rather than
  an acceptance criterion, and restores two paragraphs an en-dash mismatch
  dropped from the previous commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(specs): renumber sbom-blueprint to 19

12 and 13 are taken by the GitHub sessions and min client core specs; 14–16
by other open spec PRs. Directory, file and in-document references move
together; content is unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs: spec 19 review fixes — three-state digest model, honest properties, repo test form

Answers the CodeRabbit, minimal-review and minimal-foundry threads:

- Success statement + SBOM-011/012 now state one digest model: resolved
  through the closure, or a declared gap (built-locally / non-redistributable)
  when the closure references no document, or SBOM-012's loud failure when it
  references one that cannot be fetched. SBOM-011's wording and property
  changed to say exactly that; it no longer duplicates SBOM-005's.
- The cache-independence sub-clause under SBOM-001 is scoped to "every
  referenced object fetchable", so it cannot contradict SBOM-012.
- Properties tightened to the claims they sit under: SBOM-001 compares two
  independent emissions; SBOM-004 requires a present digest to resolve
  through the closure; SBOM-005 checks the launcher marking; SBOM-006
  requires undeclarable axes to appear as schema-TODO properties; SBOM-008
  ranges over every serializer's final bytes; SBOM-012's property is the
  failure itself, not a vacuous implication over successful emissions.
- SBOM-009's projection (embed vs reference; pin + digest fields) is a real
  gap, recorded as a MEDIUM open question tied to the per-package document
  contract rather than invented here.
- verify: pointers use the repo's one-test form (cargo nextest run -p <crate>
  <test>, as the sibling GHS spec does) instead of a `just test-one` recipe
  that does not exist; the crate name is the model crate placeholder, noted.
- "the spec PR" → minimal#1304 (a stable reference).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs: spec 19 — bump updated:, drop status:, SBOM-008 property over the parsed document

- `updated: 2026-09-16`; `status:` removed — the ratified template no longer
  has the field (git and the lint say where a spec is).
- SBOM-008's property is defined over each serializer's parsed output rather
  than raw bytes: an escaped or re-encoded value could pass a byte check and a
  field that merely equals a value could fail it. The property now asserts
  that every environment asset in the parsed document carries only name and
  provenance fields, and that no variable value enters the composition IR.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs: spec 19 — bind to architecture.md; command home and Blueprint go to arch#66

`arch:` now points at architecture.md @ d77725b6. The command tree reserves
`sbom` under `pkg` and `container` only, so a session/task document has no
home under `box`; and the CycloneDX Blueprint is the same declared-posture
artifact `min box spec` already renders, which is what the CRITICAL D4 naming
question was really about. Both rulings are requested as gominimal/arch#66;
the Design reasoning says so, D4 is reworded to the sharper question, and a
HIGH open question records the command-home gap. The spec names no command
until arch rules; the requirements bind either answer.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs: spec 19 — resolve D11: emitted vocabulary is the Box Spec's, verbatim

minimal#700's D11 guarded golden fixtures against Sandbox-Spec renames
(`network.type = none|host_ip|no_ip` had already drifted from the
architecture's `none|host_ip|own_ip`). With the spec now bound to
architecture.md, the vocabulary question has an owner: emitted field names
and values are the Box Spec's as architecture.md defines them; network-mode
semantics are specs/networking/networking-requirements.md v2 (merged). A
future rename is an arch change that rolls the fixtures in the same PR.
Two leftover "Sandbox Spec" phrasings updated to "Box Spec".

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs(specs): boxes, the per-package document's names, labelled posture axes, one emitter

The spec was written for sessions and tasks; BOX folds them into boxes, so the box's expanded spec
(BOX-068) is the subject now, with the posture tables the Box Spec defines and each axis labelled
enforced, declared or in flight (SBOM-006), anchored to the BOX-071 posture digest.

From review and the in-flight work around it:
- SBOM-013 names the per-package document, `<spec_hash>.sbom.intoto.jsonl` with its
  `<spec_hash>.sbom.sigstore.json` bundle over the same statement, subject the tarball, predicate
  the CycloneDX 1.5 document; spec PKV (minimal#1586) verifies under those names.
- SBOM-009 takes build-time facts from the document and metadata from the graph (minimal#700 D9),
  and says the chain runs through the bundle until build-servers#185 pins the digest in the closure.
- SBOM-014 claims `min box list --using`, which BCLI (minimal#1991) defers to this epic.
- One definition of the digest gap, used by SBOM-004 and SBOM-011; SBOM-008 checked in every
  serializer's parsed output; the emitter question answered (minimal-supply-chain::sbom, by the
  minimal#433 facade); the command evidence from BCLI recorded for arch#66; arch re-pinned with
  `arch_sha:`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs(specs): one license source per pin; a per-package document is verified before it is read

From review. SBOM-007 took licenses from the attribution manifest and SBOM-009 from the graph, with
nothing saying which wins: under a sealed manifest SBOM-007 is the source now, and the graph
otherwise. And SBOM-013 named the per-package document's bundle but never required it checked
before the document's facts were composed in: a published bundle is verified with PKV-011's
checks before any field is read, a failing one makes the document unresolved, and a document with
no bundle yet is read and its component marked `unverified`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs(specs): the interim gap rule, the unverified mark everywhere, credentials by reference

Five review findings on the SBOM spec. Context says how a component is
decided referenced until build-servers#185 pins the document digest: by the
closure entry alone (an artifact digest references the document named from
the Build Spec Hash; `built-locally` and `non-redistributable` are the gap),
with no cache probe, so SBOM-001 holds and a missing document for a cached
artifact is SBOM-012's failure. SBOM-013 fixes the order of checks (bundle,
subject, then the rest), requires every serializer to emit the `unverified`
mark so a reader never takes unbundled data for verified, and adds
`--require-bundles` to fail on an absent bundle; whether that becomes the
default after gominimal#185 is an open question. SBOM-008 covers every
credential-bearing posture field by reference, not only variable values.
The two security invariants are reworded to match.

* docs(specs): the pin decides the bundle path, and a failed check exits 6

Arch review conditions on SBOM-013. C1: the interim is no longer a default
that waits on a flag. When the pin records a bundle for a per-package
document (its state in the sealed map), the bundle is verified before any
read and a failed or missing bundle is SBOM-012's failure; while the pin
records no bundle (build-servers#185 has not published one), the document is
read, the component is marked `unverified`, and one stderr diagnostic per
emission names each such component and gominimal#185. The pin decides, so SBOM-001
holds and the interim ends by itself at the first pin that records bundles;
the open question on a default flip is gone. `--require-bundles` stays as
the strict side. C2: a subject-digest mismatch, a failed bundle check and
SBOM-012's failure all exit with code 6, as the exit-code table says.

* docs(specs): a partial document is not evidence; location allowlist; two digests; list from the pin

Four review findings after the arch ruling. SBOM-013: a document holding
any `unverified` component is marked `partial` at the top level in every
serializer, and the policy surfaces refuse a `partial` document as evidence;
`--require-bundles` is how a reader obtains one that is. SBOM-008: a
location is reduced to scheme, host, port and path (an allowlist, so no
denylist of parameter names is needed), and the same reduction applies to
the build facts imported from per-package documents. SBOM-006: the BOX-071
projection digest binds only the projected axes, so the Blueprint also
carries the sha256 of the stored expanded spec for the other axes, and
names what each covers. SBOM-014: the list reads the component set from
the pinned closure alone, fetches no document, and reports a box whose
closure cannot be read instead of failing the list.

* docs(specs): the partial mark is the consumer's to refuse on; the type axis under the projection

Arch review conditions, second pass. C1: Gatehouse admission sees only the
Box Spec projection and `min pkg verify` checks bundles, not box documents,
so neither is a surface this spec can bind; the `partial` mark stays, as
what a consumer that needs evidence refuses on, and the invariant says the
same. C2: the projection also carries the Box Type (name, source, root), so
the Blueprint lists it among the axes the posture-projection digest covers.

* docs(specs): an allowlist of the fields copied from a per-package document

Two review findings. SBOM-008 now names the only fields composition copies
from a per-package document (a closure component's name, version, purl and
digests; a build-environment tool's name and version), with locations among
them reduced as the posture's are and no free text of the document ever
copied, bundled or not; the property covers a credential planted in a
document, with a test. SBOM-013's interim path says its fields reach the
composition only through that allowlist. The read-and-mark default stays as
the arch ruling accepted it: the pin ends it.

* docs(specs): a package the closure does not account for fails the emission; the cache writer named

Two review findings. The digest-or-gap mapping had a third case with no
outcome: a package present in the environment with no closure entry, or an
entry of any state other than an artifact digest, `built-locally` or
`non-redistributable`. Context and SBOM-004's property now say it is
SBOM-012's failure, exit code 6, naming the package: a sealed closure holds
only the two kinds of entry, and a pin that does not account for a package
is broken. Security considerations record the Registry Build Cache's writer
as the trust boundary of the interim, with the controls on it and the rule
that a gate consuming a box document as evidence refuses a partial one.

* docs(specs): the outside-pin gap for an open box's loadout packages; require_bundles is an option

Arch review condition and three findings on the round-11 commit. An `open`
box may take loadout packages from a registry other than its upstream
(architecture: Loadout Mode), and those never have an entry in the box's
pin, so the exit-6 case now applies to upstream packages only and such a
package carries a third declared gap, `outside-pin`, naming its registry
(Context, SBOM-004, SBOM-011; `unreferenced` is defined in SBOM-011's
property so SBOM-004 and SBOM-011 agree). SBOM-014's set is SBOM-005's,
read from the pin and the stored expanded spec, and a box whose upstream
package has no entry is listed with that reason. `--require-bundles` had no
command to attach to until arch#66 rules, so the behaviour is the emitter's
`require_bundles` option and the flag follows the command.

* docs(specs): outside-pin needs a recorded registry; components are SBOM-005's; the interim exception

Arch review conditions (second pass on round 12) and three findings. A
package is outside-pin only when the stored expanded spec records a
registry for it other than the upstream, the named registry is reduced
under SBOM-008, and a package with no recorded registry is upstream, so a
missing entry is SBOM-004's exit 6 (AT2); SBOM-004's property also covers
an entry of any other state, and SBOM-011's `unreferenced` carries the
rule. The completeness invariant names the real source: the closure walk
plus the stored spec's loadout packages and launcher additions. SBOM-009's
imported build closure is recorded as nested dependency facts, never as
components of the box, so SBOM-014's set is SBOM-005's and the list never
disagrees with the SBOM. SBOM-001 states the interim exception: with no
bundle pinned, two emissions differ only where the cache's writer replaced
a document, and the recorded statement digest makes it attributable.

* docs(specs): no recorded registry today, so a foreign loadout package is upstream; SBOM-001 bound

Arch review conditions on round 13. C1: the design's Box Spec records no
registry for a loadout package (architecture lines 83, 1074-1077), so
outside-pin cannot occur today and an open box's loadout package from
another registry resolves as upstream, with a missing entry SBOM-004's
exit 6; the kind stays defined, with a precedence rule against the closure
entry, for the day the design records the registry, which gominimal/arch#138
asks for (Open questions). C2: SBOM-001's base property and its T0
sub-bullet hold while the pin records a bundle for every referenced
document, and the interim property is quantified over the set of replaced
documents, bounded by the union of their components.

* docs(specs): outside-pin by the recorded registry alone; an absent document is not a failure

Arch review conditions on round 14 and two findings. C1: the gap is
defined by the recorded non-upstream registry alone, in Context, SBOM-004
and SBOM-011, so the statements and the proofs agree; C2: a name resolves
against the one upstream, so an open box's foreign loadout package takes
the upstream rule (an artifact entry of that name gives it that digest, no
entry is exit 6). The first slice could not emit for any real box: every
artifact entry referenced a document and no producer has published one.
SBOM-013 now says that while no bundle is pinned an absent document is
emitted as the component's artifact digest with no build-time facts,
marked unverified (no-document) in a partial document, never a failure;
SBOM-012 keeps every other fetch error. SBOM-008's property constrains the
planted credentials so the containment check is neither vacuous nor false.

* docs(specs): absence defined once; the interim's diagnostic and reason field; SBOM-001 qualified

Arch review conditions on round 15 and three findings. Absence is defined
once in Context (an authoritative not-found) against unfetchable (every
other failure, a timeout included, exit 6 under every pin); absence is
fatal only while the pin records a bundle, and Context, SBOM-011 and
SBOM-012's property say so. SBOM-013's two interim bullets no longer
overlap: the absent-document bullet prints the stderr diagnostic too, and
the read bullet is scoped to a document the cache holds, with the reason
no-bundle. The mark requirement names the reason field in every serializer
and carries the reason in its property. SBOM-001's headline is qualified by
the bundle condition its property already carried. The read-and-mark
default stays as the arch ruling accepted it; the allowlist sentence says
it bounds the name, version and purl strings too.

* docs(specs): an unreachable host exits 7, every other fetch failure 6, as the exit-code table says

Arch review condition on round 16 and one finding. SBOM-012 and the Context
paragraph gave exit 6 to a timeout and a refused connection; the design's
exit-code table gives a host that cannot be reached exit 7 and keeps 6 for
a failed check. Both now say so, and SBOM-012's property is split the same
way. SBOM-012's trigger and error content now also cover the documents
SBOM-013 routes to it (a subject mismatch with both digests, a failed
bundle check by name, an absent pinned bundle, absence under
require_bundles), so one property covers every exit-6 path.

* docs(specs): exit 5 and 7 arms everywhere a fetch can fail; identities stay the graph's

Arch review conditions on round 17 and three findings. C1: SBOM-013's
bundle-first bullet gives exit 7 to a bundle on an unreachable host and
keeps 6 for a failed or absent p
8BD0
inned bundle, in text and property. C2: a
request the cache refuses for authn or authz exits 5 naming the host, in
Context and SBOM-012 (text and property). An unbundled document never
supplies the component's name, version or purl (SBOM-009 takes them from
the graph), a subject naming another package is a subject mismatch, and
the build closure's identities stay the document's claims under the
component's unverified mark; the trust boundary names the cache's
writers. require_bundles names one condition in SBOM-012 and SBOM-013
(any document the pin records no bundle for). SBOM-014 reads the host's
stored copy of the sealed closure, so the no-network claim holds.

* docs(specs): a refused bundle request exits 5 in the bundle-first bullet too

Arch review condition on round 18. SBOM-013's bundle-first bullet mapped
every non-unreachable bundle failure to exit 6, which caught a fetch the
cache refuses for authn or authz; SBOM-012 and Context give that exit 5.
The bullet now says so, and its property has the refused arm with the
exit-6 arm excluding it.

* docs(specs): the no-bundle read property applies only to a fetched, subject-matched document

One finding on round 19. The read bullet's property had ¬absent(d) on its
left, which also covered an unfetchable document and a subject mismatch,
both of which SBOM-012 refuses with exit 6. The left side is now a fetched
document whose subject matches the closure entry.

* docs(specs): locations drop their path; one meaning of unfetchable; the planted test has a tier

Four findings after the arch PASS. SBOM-008 reduces a location to scheme,
host and port (a path segment can carry a token), keeps owner/repo for a
GitHub import, and plants a credential in a path segment of every location
kind. Unfetchable now means its three classes everywhere (unreachable 7,
refused 5, malformed 6), in Context, SBOM-012's property and SBOM-013's
fetched(d). The planted-credential test hangs on a sub-bullet with a tier.
The read bullet names the nested identities' source as untrusted; the
default itself stays as the arch review passed it.

* docs(specs): the outside-pin registry is reduced to scheme, host and port, like every location

One condition on round 21: Context still said the outside-pin gap names
its registry reduced to scheme, host, port and path, while SBOM-008 now
drops the path from every location. The parenthetical matches.

* docs(specs): a gap is a closure-entry state; the first slice's byte-stability is over a fixture

Two findings after the arch PASS. The Context sentence still defined a
digest gap as "the closure references no per-package document", which
today is every package; the gap is now the closure entry's state
(built-locally, non-redistributable) or a recorded non-upstream registry
(outside-pin), and an artifact entry is a digest whether or not a document
exists. The first slice says which SBOM-001 guarantee it meets: the
unconditional one over a fixture cache whose document bytes are fixed,
with the interim sub-bullet as the guarantee in production.

* docs(specs): strings copied from a per-package document are bounded, UTF-8 and control-free

One finding after the arch PASS. SBOM-008 bounded which fields a document
could supply but not their values; a hostile cache writer could put a
control character, markup or an oversized value into every serializer.
A new sub-bullet validates every copied string (UTF-8, 256 bytes for a
name, version, purl or tool field, 2048 for a location, no control or
separator characters) and makes a document with any other value
unresolved, naming the field; SBOM-012's unresolved set carries the case,
and a test plants each kind of bad value.

* docs(specs): file imports are paths, not locations; markup is escaped; an undefined entry is exit 6

One note and two findings after the arch PASS. A file import or export is
a host path, not a URL, so it is recorded by its name and box-side path
only, never the host path; the property says so. The planted-values
property matched the text: a control character or an oversized name
makes the document unresolved, a markup string is emitted escaped. A
package whose closure entry is of a state the format does not define is
exit 6 whatever registry is recorded for it, in Context and SBOM-004's
property, so no package is left without an outcome.

* docs(specs): a file import is its relative path; strict mode in the interim properties; size limits

Arch review conditions on round 25 and two findings. A file import or
export entry has one field, its path relative to the project root, and is
recorded by that path alone, never the project root or an absolute host
path (SBOM-008 text and property). The two interim properties carry
¬require_bundles, so the strict mode's exit 6 does not contradict them.
SBOM-008 bounds the document itself (8 MiB, 4,096 closure entries, 256
tools, depth 16, counted while parsing) and makes an oversized document
unresolved naming the limit; SBOM-012's unresolved set carries it, and the
test plants each kind of oversize.

* docs(specs): egress fields are not locations; the list's version comes from a resolution record

Two findings after the arch PASS. Egress is declared as CIDRs, host names
and protocol names (NET-060), none URL-shaped and none able to carry a
credential, so SBOM-008 records them verbatim and the location rule no
longer names egress; the property says so. SBOM-014's @<ver> filter has an
offline source: a resolution record kept beside the stored closure (name,
version and Build Spec Hash as resolved at activation), which the list and
the SBOM's component name and version both read, so they agree with no
fetch.

* docs(specs): the resolution record is part of the Box Record; a missing one is exit 6, no fallback

Arch review conditions on round 27. The resolution record is named as
part of the Box Record, the per-box host state minimald alone writes,
outside the box's filesystem and unwritable from inside it. A missing or
unreadable record is listed as that reason by the list and makes the
box's SBOM exit 6 naming the record, with no fallback to the graph (AT2).

* docs(specs): name and version come from the resolution record; a copied purl loses its qualifiers

Arch review conditions on round 28 and two findings. SBOM-009 takes a
component's name and version from the Box Record's resolution record,
builds its purl from them, and keeps only licenses from the graph; the
SBOM-013 parenthesis says the same. SBOM-001 lists the record among the
inputs it is a function of, and SBOM-012 lists a missing or unreadable
record as a failure, with the record in its property. A purl copied from
a per-package document is reduced to type, namespace, name and version,
since a qualifier can carry userinfo or a token path.

* docs(specs): the projection digest covers exactly BOX-071's field set, the rest is the spec digest's

One finding after the arch PASS. SBOM-006 said the projection digest binds
network as a whole axis, but BOX-071 projects egress.allow_protocols
nowhere and never lists dynamic_ingress. The sub-bullet now names the
§6.3.2 field set exactly, with the spec's source key for each mapped
egress field, and moves every unprojected field, those two first, to the
list the spec digest binds.

* docs(specs): both Blueprint digests are base64url SHA-256 over RFC 8785 JCS bytes, as BOX-071's is

One finding after the arch PASS. SBOM-006 named neither digest's
encoding nor what canonical meant, so a verifier could match the text
with two encodings and SBOM-001's byte identity rested on an unwritten
choice. The projection digest is BOX-071's, copied verbatim (SHA-256 over
RFC 8785 JCS bytes, base64url), the spec digest is computed the same way
over the stored expanded spec, the property says so, and type.registry
carries BOX-071's condition, when the source is org.

* docs(specs): the interim property allows the content-derived identifiers to move; AT2 named

Two findings after the arch PASS. SBOM-001's interim property bounded the
difference between two emissions by the replaced documents' components,
but the serial and the document namespace are derived from content and sit
outside every component, so they follow any component change; the
property names them. AT2 is defined at its first use as the architecture's
threat-model entry "Artifact substitution in the cache or CDN", whose
mitigation is that verification fails closed.

* docs(specs): the imported field set names the reduced location the prose already copies

One finding after the arch PASS. SBOM-008's prose reduces the locations
among a document's copied fields, but its property's field set had no
location, so the test it drives could not check the reduction. The set
names location, reduced to scheme, host and port like the posture's.

* docs(specs): the first slice is byte-stable by its fixed fixture; the kinds are a component's

Two findings after the arch PASS. The first slice claimed SBOM-001's
unconditional guarantee over its fixture, but the fixture pins no bundle,
so the interim sub-bullet applies; the fixture is byte-stable because its
document bytes never change (an empty set of replaced documents), and the
paragraph says so. "The only kinds a package can be" is narrowed to the
kinds an emitted component can have, since a package with no entry or an
unknown state is neither and is not emitted.

* docs(specs): the projection field list names v, as BOX-071's set does

One finding after the arch PASS: SBOM-006 said "exactly the §6.3.2 field
set" and listed it without v, the version field BOX-071 includes. Added.

* docs(specs): spec 19 in functional language, one behaviour per requirement, diagnostic text

Round 36, Norrie's review of 2026-10-22. Issue and PR citations leave the
body (the epic, the architecture sections and the sibling specs are named
instead), the self-review and revision-history passages go, and the
architecture is cited by section. SBOM-008, SBOM-012 and SBOM-014 are split
into one behaviour per sub-bullet, and the Context's definition block
keeps definitions only: the digest-or-gap decision and the fetch-failure
exit codes are requirements now (SBOM-004, SBOM-012). SBOM-013's stderr
diagnostic has its exact text, condition and surface. SBOM-004's gap gloss
matches the Context, the box is a box throughout, and the first-slice
paragraph says plainly which SBOM-001 case it relies on. The prose linter's
project vocabulary learns the spec's terms; its remaining findings are the
format's verify lines and test names, and the spec's own negations.

* docs(specs): the SBOM-008 planted-credential property plants only in the parts the rule drops

A credential planted in a part the sub-bullets keep (a GitHub import's
owner/repo, a file entry's relative path) reaches the output by design,
since those parts are identity and the user's own naming, so the property
plants in the dropped parts (userinfo, path, query, fragment, purl
qualifiers and subpath) and none in the kept ones.

* docs(specs): spec 19 in one behaviour per bullet, with no trackers or process in its questions

The second review at 5df770d left four points. The open questions no
longer cite trackers or carry revision history and process sentences:
each states the question, the better answer and what decides it. The
security considerations no longer bind an outside consumer with a SHALL;
the partial mark is what such a gate refuses on, and the invariant below
it already covers the system's side. SBOM-013's bundle bullet is two
sub-bullets (the check order; a failed or missing bundle), with an
unreachable or refused bundle left to SBOM-012's codes. SBOM-014's
resolution-record bullet is three (the record kept; its two readers; a
missing record). The non-goal on the pinned document digest says what
the chain is without it instead of until it is merged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs(specs): spec 19 orders several failures, and the subject check is the digest's

Two review findings on the round before. SBOM-012 gave each failure
class its exit code and left unsaid which decides when one emission has
several, so the code could follow the fetch order, against SBOM-001's
claim that an unfetchable object fails the same way every time: the
first failure in a fixed order decides (record, index, components by
name, a component's checks in SBOM-013's order). SBOM-013's unbundled
sub-bullet said a subject that "names a package other than" the
entry's is a mismatch, which an implementer could read as a name
comparison: the check is the subject's sha256 against the closure
entry's digest, as the bundled sub-bullet already says.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs(specs): spec 19 read against the architecture at 15b603e6

The pinned architecture was 43 commits behind. What moved and what the
spec now says: the Box Spec gained [params] (recorded by key alone, as
env vars are by name) and [host-exposures] (a posture axis); a store
secret's expanded entry carries the upstream authorities and injection
form its consent rule registered, so the secret asset names its
upstreams and never its injection form, and the consent-rules sentence
says what does enter the spec; package builds run in build boxes with
host-granted egress, a zone of their own whose reach is the host's
record, not an axis of the box's posture; and the per-artifact release
attestation direction under D3.1, which replaces the per-commit closure
the pin is built on, is an open question naming which requirements it
moves and that no verdict changes. The arch pin moves to 15b603e6.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs(specs): sbom states its warning's content, follows main's file exports and box types

The interim warning in SBOM-013 states what the line must carry, when it
prints and where, not its text; its test is named for content.
[[file_exports]] is labelled enforced, after BOX-185 to BOX-204, and leaves
the declared-only list in Context, Non-goals and Design reasoning.
SBOM-012 names a command only where one fixes the failure, and names the
pin by its registry repository and commit.
A box is one created from an expanded session or task entry (BOX-063);
agent and service boxes come with gominimal/inbox#678.
The Box Record resolution record verifies in minimald.
Bullets in SBOM-001, SBOM-004, SBOM-008 and SBOM-013 open with their EARS
clause; their rationale moves to Design reasoning.
The partial invariant names the mark and require_bundles as what enforces
it. accept.txt keeps env_vars and try_fold where main has them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Norrie Taylor <norrie@minimal.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0