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
11 changes: 7 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ tests. The approved scope is the [Support Desk enhancement plan](https://github.
for SD-03 atomic draft/source authoring. All four `0.1.3` packages completed
verified trusted publication for optional human-reviewed evidence reports;
retain the [public release](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.3).
Synchronized `0.1.4` is the unpublished governed authoring-context/report-query
candidate and requires its own review, current-head gates, trusted publication
and strict verification.
All four `0.1.4` packages completed verified trusted publication for governed
authoring contexts, report queries and bounded resumable repair; retain the
[public release](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.4).
Synchronized `0.1.5` is the unpublished answering read-batching candidate and
requires its own review, current-head gates, trusted publication and strict
verification. Grouped reads establish no universal query or CPU budget.
Real-host acceptance remains separate.
- Never implement a database, authorization role model, identity/session/token
system, audit log, request limiter, or durable scheduler here. Compose the
Expand Down Expand Up @@ -140,7 +143,7 @@ packed KB candidate artifacts and the official SDK in a fresh temporary consumer
with lifecycle scripts disabled. It accepts no source-producer fallback.
Historical source-fixture evidence is not evidence for changed proof code;
current-head Node 22/24 gates must execute the registry composition. The KB
`0.1.4` candidate's own review, trusted publication, and strict registry
`0.1.5` candidate's own review, trusted publication, and strict registry
verification remain open. Host acceptance remains open before activation.
Keep actual existing-login/Admin-consent and every requested client/mode proof
open in P-00 and PG-01/RG-01 until both hosts record them before activation.
Expand Down
28 changes: 17 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Hosts own their users, storage, authorization policy, interfaces, and deployment
Knowledge Base owns collection policy, immutable article revisions, validation,
and exact publication approval. It requires no GitHub connection or AI provider.

> Development status as of 2026-11-09: KB-01 through KB-03 provide contracts, pure domain
> Development status as of 2026-11-10: KB-01 through KB-03 provide contracts, pure domain
> transitions, authorized application/persistence, and bounded retrieval/repair.
> [Merged KB-04 source](https://github.com/pegma-dev/knowledge-base/pull/5) adds
> the optional five-operation HTTP/MCP adapter and authenticated protocol proof.
Expand All @@ -21,9 +21,12 @@ and exact publication approval. It requires no GitHub connection or AI provider.
> for SD-03 atomic draft/source authoring. All four `0.1.3` packages completed
> [verified trusted publication](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.3)
> for optional human-reviewed [evidence reports](docs/EVIDENCE_REPORTS.md).
> Synchronized `0.1.4` is the **unpublished source candidate** for governed
> authoring-context reads and report queries; its review, current-head CI,
> trusted publication and strict consumer verification remain pending.
> All four `0.1.4` packages completed
> [verified trusted publication](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.4)
> for governed authoring-context reads, report queries and bounded resumable repair.
> Synchronized `0.1.5` is the **unpublished patch candidate** for answering read
> batching; its own review, current-head CI, trusted publication and strict
> consumer verification remain pending.
> Actual two-host existing-login/client acceptance remains open.
> Host activation remains separately gated; this repository supplies no hosted KB.

Expand All @@ -47,7 +50,7 @@ and review reads have separate DTOs. The keyed published read returns
portal-safe content only. The three base packages remain independent of HTTP,
MCP, and provider SDKs.

The `0.1.4` candidate adds `getAuthoringContext` to read current draft and narrow
The `0.1.4` release provides `getAuthoringContext` to read current draft and narrow
requirements together. It requires draft-read plus draft-write or evidence-submit;
requesting complete private evidence also requires evidence-read. Its opaque,
single-use `confirmAuthoringContext` observation is local to the same operation
Expand Down Expand Up @@ -159,11 +162,14 @@ Merging source does not publish a package. The
[maintainer bootstrap ledger](docs/BOOTSTRAP.md) records the completed manual
`0.1.0` uploads and exact-byte postflight. All five KB/Agent Access trusted
publishers are configured through the CLI. Agent Access's verified trusted
`0.1.1` release and the four-package KB trusted `0.1.3` release are complete;
their exact receipts remain in the ledger. All four KB packages have
`latest: 0.1.3`; Agent Access has `latest: 0.1.1`; all retain historical
`bootstrap: 0.1.0`. Synchronized source `0.1.4` remains unpublished and needs its own review,
current-head CI, trusted release and strict consumer verification. Neither registry publication nor
synthetic proof satisfies real host acceptance or approves activation.
`0.1.1` release and the four-package KB trusted
[`0.1.4` release](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.4)
are complete; prior exact receipts remain historical evidence. All four KB
packages currently have `latest: 0.1.4`; Agent Access has `latest: 0.1.1`; all
retain historical `bootstrap: 0.1.0`. Synchronized source `0.1.5` remains
unpublished and needs its own review, current-head CI, trusted release and strict
consumer verification. Read batching establishes no universal backend query or
CPU budget. Neither registry publication nor synthetic proof satisfies real
host acceptance or approves activation.

Built in the open by RetireGolden, LLC.
16 changes: 9 additions & 7 deletions docs/AGENT_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ an MCP adapter, and a Web Request/Response adapter. Both transports invoke the
existing `KnowledgeBaseApplication`; neither introduces
an authorization engine or another article lifecycle. The KB `0.1.0` packages
completed manual bootstrap without OIDC provenance. All four `0.1.1` packages
have since completed verified trusted publication. All four KB packages are now
verified published at [`0.1.3`](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.3),
including optional human-reviewed report mode. The synchronized `0.1.4` source
candidate adds the governed authoring-context pair and optional aggregate report
query. Its own review, gates, publication and strict verification remain open.
have since completed verified trusted publication. Optional human-reviewed
report mode shipped in [`0.1.3`](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.3).
All four KB packages are now verified published at
[`0.1.4`](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.4), including
the governed authoring-context pair and optional aggregate report query. The
synchronized `0.1.5` internal read-batching candidate remains unpublished; its
own review, gates, publication and strict verification remain open.
Agent Access's verified public `0.1.1` producer prerequisite is closed; see the
[release receipt](BOOTSTRAP.md#verified-agent-access-prerequisite). Passing
synthetic transport tests does not establish live host login, protected staging
Expand Down Expand Up @@ -110,7 +112,7 @@ HTTP accepts the same versioned envelopes. Clients cannot enable the mode
through a request flag. When `reports` is omitted, legacy tool schemas,
accepted inputs and result shapes remain unchanged; extension fields reject.

The unpublished `0.1.4` candidate additionally accepts optional `reports.query`,
The verified `0.1.4` release additionally accepts optional `reports.query`,
extending that trio with `Partial<Pick<KnowledgeEvidenceReports, "query">>`.
The trusted method is `query(access, { articleId, status?: { ledgerEpoch,
reportId } })`. Its body-free result contains `target: { articleId, generation,
Expand Down Expand Up @@ -223,7 +225,7 @@ The [public types](../packages/mcp/src/types.ts) and
actual native-client/host acceptance remains separate.
Reducing public-port calls does not establish a D1 query, CPU, physical-row or
wall-clock allowance. Actual supported host profiles still require measurement;
this candidate makes no universal Free-tier acceptance claim.
neither the release nor the `0.1.5` candidate makes a universal Free-tier acceptance claim.

## HTTP composition

Expand Down
19 changes: 11 additions & 8 deletions docs/AGENT_WORKFLOW.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ adds optional authoring transports over the existing Knowledge Base
application. [KB-05 release-preparation source](https://github.com/pegma-dev/knowledge-base/pull/6)
is also merged. All four KB `0.1.0` packages completed manual bootstrap and
exact-byte postflight without OIDC provenance. All four `0.1.1` packages have
since completed verified trusted publication. All four packages are now verified
published at [`0.1.3`](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.3),
including optional human-report mode. The synchronized unpublished `0.1.4`
candidate adds governed context reads and an optional aggregate report query;
its own review, gates, publication and strict verification remain open. This document
since completed verified trusted publication. Optional human-report mode shipped
in [`0.1.3`](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.3). All four
packages are now verified published at
[`0.1.4`](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.4), including
governed context reads and an optional aggregate report query. The synchronized
`0.1.5` internal read-batching candidate remains unpublished, with its own review,
gates, publication and strict verification open. This document
describes the composition and retained acceptance contract, not a live service
or a client-compatibility claim. The exact wire contract is in
[AGENT_API.md](AGENT_API.md).
Expand Down Expand Up @@ -110,7 +112,7 @@ staff tool. Without that port, their legacy schemas and behavior remain exact.
The [wire contract](AGENT_API.md#optional-native-client-report-mode) defines
the public DTOs. Both variants need effective `draftRead` and `evidenceSubmit`.

The `0.1.4` source candidate can compose optional `reports.query` behind that
The verified `0.1.4` release can compose optional `reports.query` behind that
same requirements tool. It consolidates the current target/requirements,
ledger and optional owner-status observations without changing the client
request, result schema, five tools or three scopes. The original three report
Expand Down Expand Up @@ -212,8 +214,9 @@ trusted `0.1.1` release closed the public producer prerequisite at
**2026-11-07T22:32:42Z**. The
[release ledger](BOOTSTRAP.md#verified-agent-access-prerequisite) records exact
identities, the successful attempt-2 workflow, and strict verification stdout.
The KB `0.1.4` context/query candidate retains its own gates, PR, and verified
trusted release pending. Both verified trusted dependencies precede production host
KB `0.1.4` has since completed verified trusted publication. The `0.1.5` internal
read-batching candidate retains its own gates, PR, and verified trusted release
pending. Both verified trusted dependencies precede production host
assembly. Branches, copied source, local paths, and unpublished production
tarballs cannot substitute for them.

Expand Down
59 changes: 38 additions & 21 deletions docs/BOOTSTRAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ The maintainer owns npm publication and external configuration. All four KB
`0.1.0` uploads were accepted through manual bootstrap, and their exact-byte
postflight passed at **2026-11-07T21:56:24Z**. Agent Access `0.1.0` also completed
manual bootstrap and postflight. Neither bootstrap has OIDC provenance.
KB's current verified trusted release is `0.1.3`; Agent Access remains verified
at `0.1.1`. Their receipts close public producer release prerequisites only.
The dated trusted KB `0.1.1` and `0.1.2` receipts remain below as history. Synchronized
KB `0.1.4` is the unpublished governed authoring-context/report-query candidate;
its own review, current-head CI, trusted publication, strict consumer
verification and host acceptance remain pending.
KB's current verified trusted release is
[`0.1.4`](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.4); Agent Access
remains verified at `0.1.1`. Their receipts close public producer release
prerequisites only. The dated trusted KB `0.1.1`, `0.1.2` and `0.1.3` receipts
remain below as history. Synchronized KB `0.1.5` is the unpublished internal
answering read-batching candidate; its own review, current-head CI, trusted
publication and strict consumer verification remain pending. Host acceptance
remains separate.

The five KB/Agent Access trusted-publisher entries have been configured through
the CLI. An actual trusted release still requires the reviewed source and
Expand Down Expand Up @@ -84,7 +86,19 @@ the approved dependency set or establishes real-host acceptance.

## Verified Knowledge Base release

### Current verified `0.1.3` release
### Current verified `0.1.4` release

All four synchronized KB packages completed qualified trusted publication at
[`0.1.4`](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.4). This release
provides governed operation-local authoring contexts, optional body-free report
queries, prepared read waves and bounded resumable repair. Its public release
retains the original artifact and verification summary, including qualification
limits. Publication does not establish durable-host or actual-client acceptance.
The earlier receipt below remains as history under its preserved anchor.

<a id="current-verified-013-release"></a>

### Historical verified `0.1.3` release

All four KB `0.1.3` packages completed exact-registry-byte, cryptographic
signature/Sigstore, authenticated source-provenance and public-consumer
Expand Down Expand Up @@ -134,11 +148,12 @@ imported all four public package roots and constructed the report factory with
both storage layouts and legacy optional modes. It did not perform report
admission or establish a durable host or actual client/staging acceptance.

This release provides optional human-reviewed evidence reports. Synchronized
`0.1.4` source adds governed authoring contexts and optional report queries and
still requires its own review, current-head gates, trusted publication and
strict verification. Neither producer release closes Workers Free call/CPU
acceptance, host activation or pilot gates.
This release provides optional human-reviewed evidence reports. The later
verified `0.1.4` release adds governed authoring contexts and optional report
queries. Synchronized `0.1.5` is an unpublished internal read-batching candidate
with its own review, current-head gates, trusted publication and strict
verification still required. Producer releases do not close Workers Free
call/CPU acceptance, host activation or pilot gates.

<a id="current-verified-012-release"></a>

Expand Down Expand Up @@ -211,8 +226,8 @@ bootstrap receipts remain distinct and have no OIDC provenance.

This dated receipt closed the KB `0.1.1` producer release prerequisite. The
later `0.1.2` and `0.1.3` releases have their own receipts above; none completes
host/client, privacy, activation or pilot acceptance or verifies changed
`0.1.4` source.
host/client, privacy, activation or pilot acceptance or verifies later changed
source. The verified `0.1.4` release has its separate public release record above.

## Verified Agent Access prerequisite

Expand Down Expand Up @@ -257,8 +272,9 @@ verification; no package version or artifact was replaced.
This closes the verified public Agent Access `0.1.1` prerequisite. The KB
protocol proof now composes that exact registry producer with four packed KB
candidate artifacts in a fresh consumer. KB `0.1.3` has its separate verified
receipt above; source `0.1.4` retains its own current-head gates, PR, trusted
release, and strict verification. Existing-login, current-Admin consent, every requested
receipt above; the later `0.1.4` release is also verified. Source `0.1.5` retains
its own current-head gates, PR, trusted release, and strict verification.
Existing-login, current-Admin consent, every requested
client/mode, and both real hosts remain separately unproven.

## Historical initial preparation procedure (`0.1.0`)
Expand Down Expand Up @@ -336,10 +352,10 @@ must name this repository's exact `publish.yml` workflow and environment and
explicitly permit direct publishing. Time new configurations to the prepared
trusted release so their first-use expiry does not strand the release.

The synchronized KB source candidate is `0.1.4` with exact internal dependency
The synchronized KB source candidate is `0.1.5` with exact internal dependency
pins. It still needs review and all current-head gates before release. The
historical first advertised trusted release is `0.1.1`; the current verified
release is `0.1.3`, recorded separately above.
historical first advertised trusted release is `0.1.1`; the `0.1.3` receipt
remains above, followed by the current verified `0.1.4` release record.
A previously manually published version cannot be
republished through OIDC to add provenance. Run the full review/Node 22/24 gate
for the newly reviewed commit, create its approved signed annotated version tag
Expand All @@ -354,7 +370,8 @@ signatures, and matching source/workflow/tag/commit provenance. Preserve those
results with the release identity and independent manifest digest. The active
KB protocol proof uses the verified registry producer
`@pegma/agent-access@0.1.1`; historical source-producer evidence remains in
[source preparation](SOURCE_PREPARATION.md). The verified KB `0.1.3` and Agent
Access `0.1.1` public producer release prerequisites are closed. This candidate
[source preparation](SOURCE_PREPARATION.md). The verified KB `0.1.3` receipt
remains historical; KB `0.1.4` and Agent Access `0.1.1` public producer release
prerequisites are closed. This candidate
requires its own verified release, and both hosts still require their retained
actual login/Admin-consent/client/staging acceptance.
7 changes: 4 additions & 3 deletions docs/COLLECTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ The approved scope is the
[implementation plan](https://github.com/pegma-dev/support-desk/blob/main/docs/KNOWLEDGE_AI_PLAN.md)
and its P-00 capacity/privacy requirements. KB-04's optional HTTP/MCP adapter
source is [merged](https://github.com/pegma-dev/knowledge-base/pull/5). The
[current verified `0.1.3` release](BOOTSTRAP.md#current-verified-013-release) is
complete; the unpublished `0.1.4` governed authoring-context/report-query candidate, real-host
acceptance, and production readiness retain their own gates. The earlier
[verified `0.1.3` release](BOOTSTRAP.md#current-verified-013-release) is complete,
as is the later [`0.1.4` trusted release](https://github.com/pegma-dev/knowledge-base/releases/tag/v0.1.4).
The synchronized `0.1.5` internal read-batching candidate is unpublished; its own
release, real-host acceptance, and production readiness retain their gates. The earlier
`0.1.1` release has a separate
[historical receipt](BOOTSTRAP.md#historical-verified-011-release), as does
[`0.1.2`](BOOTSTRAP.md#historical-verified-012-release).
Expand Down
Loading
Loading