Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ reading, draft writing, and test-evidence submission. Future capabilities
require explicit registration and fresh consent; changing the registry cannot
silently widen an existing grant.

The source package is `@pegma/agent-access@0.1.0`, currently unpublished.
AUTH-01 source work is tracked in the governing
[Knowledge/AI plan](https://github.com/pegma-dev/support-desk/blob/main/docs/KNOWLEDGE_AI_PLAN.md).
Source tests and a synthetic client example do not establish real host login,
two-host client acceptance, publication, or deployment.
As of 2026-11-07, all five new packages, the four Knowledge Base packages and
`@pegma/agent-access`, remain unpublished at source version `0.1.0`. AUTH-01
source, official SDK proof, and the separate release preparation are merged;
the [dated source evidence](docs/PROJECT_PLAN.md#delivery-and-evidence) records
the reviewed heads, squash merges, primary CI, and historical per-lane results.
The governing [Knowledge/AI plan](https://github.com/pegma-dev/support-desk/blob/main/docs/KNOWLEDGE_AI_PLAN.md)
tracks the remaining work. Source tests and a synthetic client example do not
establish real host login, two-host client acceptance, publication, or deployment.
Initial compatibility targets are Codex, Claude Code, Grok Bot, and T3 Code.
Grok Bot is the desktop application with its hosted agent; T3 Code initially
targets Codex-provider mode. Their compatibility remains unproven until actual
Expand All @@ -38,7 +41,11 @@ keeps the initial 2FA-published `bootstrap` version unadvertised. The first
advertised version needs a separate reviewed change and successful registry
consumer and trusted-provenance verification. Release preparation preserves
exact tarball bytes, an independently retained manifest digest, and the
verified signed-tag identity. Merging source and manual workflow dispatch do
not publish.
verified signed-tag identity. Maintainer bootstrap and external protection,
signer, environment, and trusted-publisher/direct-publish configuration remain
pending. SD-02 requires published Knowledge Base dependencies; real host
assembly requires published dependencies from both components. Merged source
and release preparation authorize no tags, releases, publication,
configuration, or deployment; manual workflow dispatch prepares only.

Built in the open by RetireGolden, LLC. MIT licensed.
72 changes: 50 additions & 22 deletions docs/PROJECT_PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ AUTH-01 is the scoped-credential prerequisite inserted before KB-04 in the
[Knowledge/AI plan](https://github.com/pegma-dev/support-desk/blob/main/docs/KNOWLEDGE_AI_PLAN.md).
This repository owns reusable authorization-server source; Knowledge Base
continues to own content and resource operations. The first source package is
`@pegma/agent-access@0.1.0`, unpublished. Source implementation and validation
are in progress; no host is activated by this work.
`@pegma/agent-access@0.1.0`. AUTH-01 source and the subsequent release
preparation are merged. As of 2026-11-07, all five new packages, the four
Knowledge Base packages and Agent Access, remain unpublished at source version
`0.1.0`; no host is activated by this work.

## Accepted first scope

Expand All @@ -24,14 +26,35 @@ are in progress; no host is activated by this work.

## Delivery and evidence

| Gate | Evidence needed | Current state |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| AUTH-01 source | Public-entry lifecycle/concurrency/security cases, real Azure Tables and D1 fixtures, Node 22/24 gates, exact packed-artifact imports, and clean current-head review | In progress |
| Synthetic protocol proof | Actual supported SDK client exercises discovery, PKCE, protected requests, refresh and revocation; device-flow failure and isolation cases | In progress; synthetic proof is not host acceptance |
| First publication | Maintainer publishes reviewed exact artifact with 2FA, then configures trusted publishing and verifies registry integrity | Pending; separate operation |
| KB-04 source exit | Actual SDK exercises synthetic draft/evidence API/MCP parity and rejected credential/attestation cases; full KB source/review gates | Pending in KB; establishes source release readiness only |
| KB-05 publication | KB's reviewed artifact/release gates after KB-04 source exit, including exact artifact publication | Pending in KB; actual host proof is a later activation gate |
| Retained host acceptance | PG-01/RG-01 consume published Agent Access/KB dependencies; actual requested clients prove existing-login/Admin consent, protected API/MCP, credential failures, and exact-revision evidence attestation on both hosts | Pending; required before activation/A-01/pilots |
As of 2026-11-07, all five new packages, the four Knowledge Base packages and
Agent Access, remain unpublished at source version `0.1.0`. This is the
canonical merged-source evidence snapshot. CI totals are historical results
for the linked reviewed source heads, distinct from the recorded squash merge
commits. They are not fixed test-count requirements or publication guards;
every future release needs its own current-head review, validation, and exact
registry preflight in [release operations](RELEASING.md).

| Gate | Evidence | Current state |
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| AUTH-01 source and official SDK proof | Reviewed head [1ba5286](https://github.com/pegma-dev/agent-access/commit/1ba52860e80bc3ec6692f9dd112dd02f0616aebd); [primary Node 22/24 CI](https://github.com/pegma-dev/agent-access/actions/runs/42382637167). Original 123 runtime tests and official SDK proof. | Merged via [Agent Access #1](https://github.com/pegma-dev/agent-access/pull/1) as [a444e21](https://github.com/pegma-dev/agent-access/commit/a444e2113db98455b638b2ef8aa7c2faccb16b62); historical source evidence. |
| Agent Access release preparation | Reviewed head [165e56a](https://github.com/pegma-dev/agent-access/commit/165e56ab19e9860d6c0bd17f419052b751394b9c); [primary Node 22/24 CI](https://github.com/pegma-dev/agent-access/actions/runs/42399414623). Each lane passed 123 runtime tests plus 136 release regressions (259 per lane), with zero skips, the synthetic example, and packed public API/type checks. | Merged via [Agent Access #2](https://github.com/pegma-dev/agent-access/pull/2) as [eddddd5](https://github.com/pegma-dev/agent-access/commit/eddddd5e333ce16b6a4a8233b84656b3ac784947); publication pending. |
| KB-04 transport source exit | Reviewed head [c897626](https://github.com/pegma-dev/knowledge-base/commit/c897626de6c7b2ea574f4154b0bc7a7731ee106e); [primary Node 22/24 CI](https://github.com/pegma-dev/knowledge-base/actions/runs/42390433045). 372 runtime tests and official SDK proof of all five initial tools. | Merged via [Knowledge Base #5](https://github.com/pegma-dev/knowledge-base/pull/5) as [b61fc77](https://github.com/pegma-dev/knowledge-base/commit/b61fc77aedd22e888ac7292c3597f93e54fcda8e); retained host acceptance open. |
| KB-05 release preparation | Reviewed head [c8ef14a](https://github.com/pegma-dev/knowledge-base/commit/c8ef14af0ec32e3903b9399543b7a9f2e48df2f9); [primary Node 22/24 CI](https://github.com/pegma-dev/knowledge-base/actions/runs/42398508042). Each lane passed 372 runtime tests plus 128 release regressions (500 per lane), with zero skips. Packaging checks cover four KB packages; the packed protocol proof uses all five packages (four KB plus Agent Access). | Merged via [Knowledge Base #6](https://github.com/pegma-dev/knowledge-base/pull/6) as [7f5eee6](https://github.com/pegma-dev/knowledge-base/commit/7f5eee68be692b5489de3965f3f5ede7ef7a812d); publication pending. |
| First-publication bootstrap | Maintainer 2FA publication creates the four Knowledge Base package names and Agent Access under an unadvertised `bootstrap` tag; it supplies no trusted provenance. | Pending for all five packages. |
| First advertised publication | npm ownership, a protected publish environment, approved signers, immutable tags, npm trusted-publisher/direct-publish configuration, a separately reviewed first advertised version, and exact own-package registry/provenance verification. | Pending for all five packages. |
| SD-02 AI coordinator | Requires published Knowledge Base dependencies. | Pending. |
| Retained host acceptance | PG-01/RG-01 require published Agent Access and Knowledge Base dependencies, real existing-login/current-Admin consent, and actual per-client protected API/MCP, credential-failure, and exact-revision evidence-attestation proof on both hosts. | Pending; required before activation/A-01/pilots. |

At the Agent Access #2 reviewed head, round-3
[OpenRouter code review](https://github.com/pegma-dev/agent-access/pull/2#pullrequestreview-5814178148)
and the [security receipt](https://github.com/pegma-dev/agent-access/pull/2#issuecomment-6711125916)
were clean with zero open findings. Knowledge Base #6 likewise had clean
round-3 [OpenRouter code review](https://github.com/pegma-dev/knowledge-base/pull/6#pullrequestreview-5814111477)
and a [security receipt](https://github.com/pegma-dev/knowledge-base/pull/6#issuecomment-6710997171)
at its reviewed head. Agent Access #2's
[2026-11-07 bounded-wait receipt](https://github.com/pegma-dev/agent-access/pull/2#issuecomment-6711152931)
records that no actual Copilot review or work-start event arrived during that
source PR's wait; the absence is not a completed review.

Source units and synthetic protocol proof may land before publication. A
test-only clean consumer can install the reviewed local tarball to prove its
Expand All @@ -49,13 +72,17 @@ separately for each target and host. A successful official SDK protocol test
establishes protocol behavior, not compatibility with all four clients; missing
clients or unsupported flows remain explicit host acceptance gaps.

The sequence is AUTH-01 source/SDK fixture, KB-04 transport source exit,
KB-05 reviewed publication, then PG-01/RG-01 existing-login and actual-client
proof using published dependencies. Agent Access publication also precedes
host assembly. KB-04 source completion may close only its source slice;
retained two-host acceptance stays open in P-00 and the host tasks until all
original draft/evidence, privacy, authority, expiry/revocation/audience, and
invalid-attestation cases pass. No source or SDK result closes host activation.
The source prerequisites and both release-preparation changes are merged.
The remaining release sequence is a separate maintainer operation for each
component: unadvertised 2FA bootstrap, external release configuration, then a
separately reviewed first advertised version with exact registry and trusted
provenance verification. SD-02 follows published Knowledge Base dependencies;
PG-01/RG-01 host assembly follows published dependencies from both components.
Real existing-login/current-Admin consent and actual-client proof then remain
required on both hosts. Retained two-host acceptance stays open in P-00 and
the host tasks until all original draft/evidence, privacy, authority,
expiry/revocation/audience, and invalid-attestation cases pass. No source, SDK,
registry, or provenance result closes host activation.

## Deferred work

Expand All @@ -66,8 +93,9 @@ publication, admin commands, and private provenance are not initial agent
operations. New capabilities need explicit contracts, policy, fresh consent,
and their own source and host evidence.

Preserve the governing plan's existing merged-source ledger. AUTH-01 source
validation does not close KB-04's source or retained host acceptance, KB-05's
release/publication gates, dual-host acceptance, operations, model data-control,
or supervised-pilot gates. See [RELEASING.md](RELEASING.md) before any separately
authorized release operation.
The governing plan's future collection-specific delegation, new scopes,
retention, and operations work remains deferred. Merged source and release
preparation do not close publication, dual-host acceptance, model data-control,
or supervised-pilot gates. No source work authorizes tags, releases,
publication, external configuration, or deployment. See
[RELEASING.md](RELEASING.md) before any separately authorized release operation.
Loading
Loading