Skip to content

Commit ffe4d86

Browse files
[KB-05] Prepare Agent Access 0.1.1 trusted release (#4)
* Prepare Agent Access 0.1.1 for its first trusted release. * Preserve bootstrap postflight evidence and complete release gates.
1 parent d4db006 commit ffe4d86

8 files changed

Lines changed: 213 additions & 101 deletions

File tree

‎AGENTS.md‎

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,22 @@ signatures, source-bound provenance, and a clean exact-version consumer with
7070
scripts disabled. Manual workflow dispatch prepares only.
7171

7272
See [release operations](docs/RELEASING.md) and the
73-
[first-publication handoff](docs/BOOTSTRAP.md). The source remains unpublished
74-
at `0.1.0`. Maintainer 2FA bootstrap creates the name under `bootstrap` without
75-
advertising it; a later separately reviewed version must pass trusted
76-
publication and verification before advertisement. This source change chooses
77-
no future version. Package ownership, approved signers, immutable tag rules,
78-
environment approval, and direct-publish trusted-publisher settings remain
79-
external maintainer gates. Source, SDK, registry, and provenance results do not
80-
close actual existing-login/Admin-consent or per-client two-host acceptance.
73+
[first-publication handoff](docs/BOOTSTRAP.md). The source is the `0.1.1`
74+
candidate for the first advertised trusted release. Maintainer 2FA bootstrap of
75+
`0.1.0` is complete with exact registry bytes confirmed; it supplies no OIDC
76+
provenance. Verify actual npm distribution tags after bootstrap and investigate
77+
unexpected defaults; the publish tag argument alone does not prove their state.
78+
The candidate still requires fresh current-head gates and review, verified
79+
publisher configuration, an approved signed tag and release, and strict registry
80+
and provenance verification before advertisement. Package ownership, approved
81+
signers, immutable tag rules, environment approval, and direct-publish
82+
trusted-publisher settings remain external maintainer gates. Source, SDK,
83+
registry, and provenance results do not close actual existing-login/Admin-consent
84+
or per-client two-host acceptance.
8185

8286
The user explicitly requests parallel in-harness subagents. Assign exact file
8387
ownership, tell workers they are not alone, and never revert others' edits.
8488
The orchestrator owns installs, builds/tests, Git, PRs, review replies, and
85-
merges. First publication/trusted-publisher configuration and host activation
86-
remain separate maintainer operations; no tag, release, publish or deployment
87-
is authorized by source validation alone.
89+
merges. Trusted publication, publisher configuration, and host activation remain
90+
separate maintainer operations; no tag, release, publish or deployment is
91+
authorized by source validation alone.

‎README.md‎

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ reading, draft writing, and test-evidence submission. Future capabilities
1818
require explicit registration and fresh consent; changing the registry cannot
1919
silently widen an existing grant.
2020

21-
As of 2026-11-07, all five new packages, the four Knowledge Base packages and
22-
`@pegma/agent-access`, remain unpublished at source version `0.1.0`. AUTH-01
23-
source, official SDK proof, and the separate release preparation are merged;
21+
As of 2026-11-07, the source is the `@pegma/agent-access@0.1.1` candidate for
22+
the first advertised trusted release. Maintainer 2FA bootstrap of all five
23+
`0.1.0` packages, the four Knowledge Base packages and Agent Access, is complete
24+
with exact registry bytes confirmed and no OIDC provenance. The
25+
[bootstrap receipt](docs/BOOTSTRAP.md#bootstrap-receipt-2026-11-07) records the
26+
Agent Access artifact identity and distribution-tag verification requirement.
27+
AUTH-01 source, official SDK proof, and the separate release preparation are merged;
2428
the [dated source evidence](docs/PROJECT_PLAN.md#delivery-and-evidence) records
2529
the reviewed heads, squash merges, primary CI, and historical per-lane results.
2630
The governing [Knowledge/AI plan](https://github.com/pegma-dev/support-desk/blob/main/docs/KNOWLEDGE_AI_PLAN.md)
@@ -37,14 +41,17 @@ Read the [architecture](docs/ARCHITECTURE.md), [API](docs/API.md), and
3741
[project plan](docs/PROJECT_PLAN.md) distinguishes source work from host gates;
3842
[release operations](docs/RELEASING.md) describes the separate first publication
3943
and later trusted-publisher path. The [maintainer bootstrap handoff](docs/BOOTSTRAP.md)
40-
keeps the initial 2FA-published `bootstrap` version unadvertised. The first
41-
advertised version needs a separate reviewed change and successful registry
44+
records the initial 2FA publication under the requested `bootstrap` tag. Operators
45+
must verify actual distribution tags and investigate unexpected defaults.
46+
The `0.1.1` candidate still needs fresh gates and review, verified publisher
47+
configuration, an approved signed tag and release, and successful exact registry
4248
consumer and trusted-provenance verification. Release preparation preserves
4349
exact tarball bytes, an independently retained manifest digest, and the
44-
verified signed-tag identity. Maintainer bootstrap and external protection,
45-
signer, environment, and trusted-publisher/direct-publish configuration remain
46-
pending. SD-02 requires published Knowledge Base dependencies; real host
47-
assembly requires published dependencies from both components. Merged source
50+
verified signed-tag identity. External protection, signer, environment, and
51+
trusted-publisher/direct-publish configuration remain maintainer gates.
52+
Knowledge Base's advertised release waits for verified Agent Access `0.1.1`.
53+
SD-02 requires verified advertised Knowledge Base dependencies; real host
54+
assembly requires verified advertised dependencies from both components. Merged source
4855
and release preparation authorize no tags, releases, publication,
4956
configuration, or deployment; manual workflow dispatch prepares only.
5057

‎docs/BOOTSTRAP.md‎

Lines changed: 85 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,84 @@
22

33
## Current state and owner
44

5-
The maintainer owns npm's first publication and external configuration.
6-
`@pegma/agent-access` is unpublished at source version `0.1.0`. Merging this
7-
follow-up creates no tag, GitHub release, npm publication, publisher setting,
8-
or protection setting. Knowledge Base has its own release handoff.
5+
The maintainer owns npm publication and external configuration. As of
6+
2026-11-07, `@pegma/agent-access@0.1.0` has completed maintainer 2FA bootstrap
7+
with exact registry bytes confirmed and no OIDC provenance. Source version
8+
`0.1.1` is the candidate for the first advertised trusted release; that release
9+
is not yet verified. Knowledge Base has its own release handoff and waits for
10+
verified Agent Access `0.1.1` before its advertised release.
911

1012
Creating the package name and advertising the first trusted release are
1113
separate steps. Maintainer 2FA publication supplies no OIDC provenance and
1214
cannot substitute for strict `verify` in [release operations](RELEASING.md).
1315
The historical AUTH-01 source result does not replace this change's required
1416
current-head code/security review and Node 22/24 gate.
1517

16-
## Prepare the initial exact artifact
18+
## Bootstrap receipt: 2026-11-07
19+
20+
The operator manually reran the post-publication preflight commands below at
21+
`2026-11-07T21:56:24Z`. The recorded outputs are manual operator observations,
22+
not CI verification results. Run each command from its producer's recorded
23+
source checkout, replacing `PREPARED_DIRECTORY` with that producer's immutable
24+
prepared artifact directory. Each independent manifest digest binds its full
25+
artifact set.
26+
27+
### Agent Access
28+
29+
The signed [`v0.1.0` tag](https://github.com/pegma-dev/agent-access/tree/v0.1.0)
30+
targets source commit
31+
[`d4db0065f22a9c090fc2831b3e18fbbc37c1639c`](https://github.com/pegma-dev/agent-access/commit/d4db0065f22a9c090fc2831b3e18fbbc37c1639c).
32+
[Preparation run 42415787142](https://github.com/pegma-dev/agent-access/actions/runs/42415787142)
33+
retained immutable artifact `13591317099` with independently recorded manifest
34+
SHA-256 `885d5422930e2dd3435f0ebea02fb74238b946c962715b2b1d81954684a10312`.
35+
Manual npm publication was accepted. The operator's postflight command was:
36+
37+
```sh
38+
node scripts/release-packages.mjs preflight --prepared-dir PREPARED_DIRECTORY --manifest-sha256 885d5422930e2dd3435f0ebea02fb74238b946c962715b2b1d81954684a10312 --tag v0.1.0 --expected-commit d4db0065f22a9c090fc2831b3e18fbbc37c1639c
39+
```
40+
41+
Recorded output at `2026-11-07T21:56:24Z`:
42+
43+
```text
44+
@pegma/agent-access@0.1.0: skip
45+
```
46+
47+
### Knowledge Base
48+
49+
The signed [`v0.1.0` tag](https://github.com/pegma-dev/knowledge-base/tree/v0.1.0)
50+
targets source commit
51+
[`f053db194eb73610e9b4872e1562f071ab8e6a5f`](https://github.com/pegma-dev/knowledge-base/commit/f053db194eb73610e9b4872e1562f071ab8e6a5f).
52+
[Preparation run 42415793421](https://github.com/pegma-dev/knowledge-base/actions/runs/42415793421)
53+
retained immutable artifact `13591841615` with independently recorded manifest
54+
SHA-256 `45117cadad75a51aa9b818934974b60c17ba5ddee229fa766157a75035a653ee`.
55+
All four manual npm uploads were accepted. The operator's postflight command was:
56+
57+
```sh
58+
node scripts/release-packages.mjs preflight --prepared-dir PREPARED_DIRECTORY --manifest-sha256 45117cadad75a51aa9b818934974b60c17ba5ddee229fa766157a75035a653ee --tag v0.1.0 --expected-commit f053db194eb73610e9b4872e1562f071ab8e6a5f
59+
```
60+
61+
Recorded output at `2026-11-07T21:56:24Z`:
62+
63+
```text
64+
@pegma/knowledge-base-contracts@0.1.0: skip
65+
@pegma/knowledge-base-core@0.1.0: skip
66+
@pegma/knowledge-base-application@0.1.0: skip
67+
@pegma/knowledge-base-mcp@0.1.0: skip
68+
```
69+
70+
These `skip` results confirm that all five exact registry versions match their
71+
prepared artifact bytes. They are bootstrap integrity receipts with OIDC
72+
provenance absent; they do not establish trusted release availability or
73+
host/client acceptance. Actual distribution tags, including `latest`, require
74+
operator verification and investigation of unexpected defaults before
75+
advertisement. These receipts do not mark advertisement verified, and the
76+
requested publish tag alone does not establish actual distribution-tag state.
77+
78+
## Historical bootstrap procedure: 0.1.0
79+
80+
The following procedure records the completed first publication. Do not
81+
recreate or move its tag, rebuild its artifact, or republish the immutable
82+
version. Use the separate trusted-release procedure for the `0.1.1` candidate.
1783

1884
1. Confirm npm ownership and publishing permission for `@pegma/agent-access`.
1985
Record the responsible maintainer and keep credentials and one-time codes
@@ -52,7 +118,7 @@ current-head code/security review and Node 22/24 gate.
52118
Only HTTP 404 establishes absence. Stop on mismatch, access failure, or an
53119
uncertain response.
54120

55-
## Maintainer 2FA bootstrap
121+
## Historical maintainer 2FA bootstrap
56122

57123
Using the maintainer's interactive npm login and 2FA, publish only the exact
58124
prepared tarball. This command is an operator handoff, not a CI step or an
@@ -69,8 +135,11 @@ prepared bytes; npm versions are immutable. Repeat preflight after publication
69135
to retain the registry metadata and downloaded-byte match.
70136

71137
Record manual publication receipts and bootstrap integrity with provenance
72-
explicitly absent. Leave `0.1.0` under `bootstrap`; do not advertise it as the
73-
released production dependency or authorize host installation from it.
138+
explicitly absent. Verify `bootstrap` and all other distribution tags after the
139+
write; investigate and correct unexpected defaults through maintainer operations
140+
before advertisement. Do not infer actual tag state from `--tag bootstrap`.
141+
Do not advertise `0.1.0` as the trusted production dependency or authorize host
142+
installation from it.
74143

75144
## First advertised trusted release
76145

@@ -81,11 +150,12 @@ to `pegma-dev/agent-access`, exact workflow `publish.yml`, and environment
81150
`npm-publish`; explicitly permit direct publishing. Check npm's first-use
82151
timing before configuring it for the reviewed trusted release.
83152

84-
The first advertised release needs a separately reviewed package-version and
85-
dependent-pin change synchronized across its consumers. This source change
86-
chooses no future version and performs no bump. A manually published version
87-
cannot be republished through OIDC to acquire provenance. Run the full
88-
current-head review and Node 22/24 gate for the new release commit, create its
153+
The `0.1.1` candidate proposes the package-version change for the first
154+
advertised release; dependent pins must be synchronized across consumers.
155+
It still requires fresh current-head code/security review and the full Node
156+
22/24 gate. A manually published version cannot be republished through OIDC to
157+
acquire provenance. After the candidate's gates pass and external publisher
158+
configuration is verified, create its
89159
approved signed annotated version tag on `origin/main`, then create the GitHub
90160
release with `--verify-tag` to trigger the trusted workflow. It prepares once,
91161
checks the independent artifact binding, preflights the exact version, and
@@ -95,6 +165,7 @@ Advertise availability only after the separate unprivileged strict `verify`
95165
job succeeds: registry bytes/dependencies, a clean exact-version registry
96166
consumer, registry signatures, and matching source/workflow/tag/commit
97167
provenance. Preserve that result with the release identity and independent
98-
manifest digest. Both hosts additionally require published Knowledge Base
168+
manifest digest. Knowledge Base's advertised release follows verified Agent
169+
Access `0.1.1`. Both hosts additionally require verified advertised Knowledge Base
99170
and their retained actual login/Admin-consent/client/staging acceptance before
100171
activation. Registry publication closes none of those host gates.

0 commit comments

Comments
 (0)