Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
d4a5513
Add Tier 1/Tier 2 simplification macro plan
CreasyBear May 25, 2026
61c17e2
Add service workflow admission surface
CreasyBear May 25, 2026
a1cd5e5
Converge service workflow docs
CreasyBear May 25, 2026
025888f
Align active surfaces with service workflow model
CreasyBear May 25, 2026
56f3cbd
Add service workflow admission demo
CreasyBear May 25, 2026
539947d
Add service workflow misuse gates
CreasyBear May 25, 2026
0125173
Gate service workflow protected action fixture
CreasyBear May 25, 2026
ab382f7
Install hosted admission lock
CreasyBear May 25, 2026
bdcec05
Reset architecture macro plan
CreasyBear May 25, 2026
c8db729
Implement projection-over-spine architecture
CreasyBear May 25, 2026
a878798
Record architecture closeout evidence
CreasyBear May 25, 2026
4b5ae77
Split proof packet surface modules
CreasyBear May 25, 2026
91d0383
Remove stale planning archives
CreasyBear May 25, 2026
525fb77
Add tier 1 projection guardrails
CreasyBear May 25, 2026
f9ca06b
plan: add a2a negotiation macro plan
CreasyBear May 25, 2026
4946237
feat(protocol): add negotiation evidence schemas
CreasyBear May 26, 2026
bce7b8e
fix(protocol): harden negotiation evidence schemas
CreasyBear May 26, 2026
09630b9
docs(planning): refresh codebase map
CreasyBear May 26, 2026
8d77722
feat(protocol): add a2a negotiation room
CreasyBear May 26, 2026
b2f277a
feat(surfaces): add a2a negotiation readback
CreasyBear May 26, 2026
f289f27
fix(examples): make a2a readback deterministic
CreasyBear May 26, 2026
a27e94f
plan(02-address-concerns): executable plans and premortem adjustments
CreasyBear May 28, 2026
e710924
feat(surfaces): backfill boundary manifest and add drift gate
CreasyBear May 28, 2026
1e801b7
docs(planning): mark phase 02 plans 01-02 complete in index
CreasyBear May 28, 2026
66b43d0
feat(04-01): T1 Agent lane vocabulary in workflow story and layman
CreasyBear May 28, 2026
a84d2d8
feat(04-01): T2 Clerk-for-agents dual enforcement in decisions
CreasyBear May 28, 2026
887537a
feat(04-01): T3 dual-enforcement-posture architecture test
CreasyBear May 28, 2026
f6f5177
feat(04-02): T1 service-operator golden path doc
CreasyBear May 28, 2026
2059957
feat(04-02): T2 developer-experience index Start Here
CreasyBear May 28, 2026
f515f55
feat(04-02): T3 canonize service-workflow-admission demo
CreasyBear May 28, 2026
b666028
feat(04-02): T4 service-operator golden path wrapper
CreasyBear May 28, 2026
7191774
feat(04-03): T1 service-operator-bootstrap example recipe
CreasyBear May 28, 2026
042e9d9
feat(04-03): T2 handshake service bootstrap CLI
CreasyBear May 28, 2026
c638e6b
feat(04-03): T3 product and HTTP bootstrap install tests
CreasyBear May 28, 2026
e67bcec
feat(04-03): T4 golden path atomic bootstrap section
CreasyBear May 28, 2026
6b8fe27
feat(04-04): T1 agent-spine sequencer and delegated CLI steps
CreasyBear May 28, 2026
75bb36c
feat(04-04): T2 register agent-spine and canonical host commands
CreasyBear May 28, 2026
496682f
feat(04-04): T3 anti-theatre agent-spine sequencer tests
CreasyBear May 28, 2026
a43dd61
feat(04-04): T4 host golden path bilateral cross-links
CreasyBear May 28, 2026
e768164
feat(04-05): T1 extend TransitionErrorEnvelope failure taxonomy
CreasyBear May 28, 2026
658d687
feat(04-05): T3 HTTP failure class test suite
CreasyBear May 28, 2026
8a5acb7
feat(04-05): T2 refine failureClass status and classifier edge cases
CreasyBear May 28, 2026
664c088
feat(04-05): T4 OpenAPI failure taxonomy documentation
CreasyBear May 28, 2026
793d28c
feat(04-05): T5 operator-visible failure table in golden path
CreasyBear May 28, 2026
6b5eaa1
feat(04-05): T1 extend TransitionErrorEnvelope failureClass schema
CreasyBear May 28, 2026
c2d2313
feat(04-06): T1 shared failureClass classifier module
CreasyBear May 28, 2026
54e79b6
feat(04-06): T2 SDK HandshakeClientError failureClass parsing
CreasyBear May 28, 2026
7c8521f
feat(04-06): T3 role-scoped client failureClass tests
CreasyBear May 28, 2026
27dd2fb
feat(04-06): T4 MCP failureClass parity with HTTP
CreasyBear May 28, 2026
5a33d32
feat(04-07): T1 integratorTier1 navigation metadata
CreasyBear May 28, 2026
44652ac
feat(04-07): T2 integrator-tier-1-transitions appendix doc
CreasyBear May 28, 2026
a713fc9
feat(04-07): T3 integrator-tier-1-parity architecture test
CreasyBear May 28, 2026
70c7891
feat(04-07): T4 SDK role-clients walkthrough test
CreasyBear May 28, 2026
55d7637
feat(04-08): T1 extract shared http-profile module
CreasyBear May 28, 2026
9721e7e
feat(04-08): T2 compose auth-md from http-profile
CreasyBear May 28, 2026
8c370db
feat(04-08): T3 generic-gateway-skeleton definition_only probe
CreasyBear May 28, 2026
30c6575
feat(04-08): T4 orphan catalog compile refusal guard
CreasyBear May 28, 2026
388d3d7
feat(04-08): T5 http-profile canonicalization test matrix
CreasyBear May 28, 2026
ac7b8a8
feat(04-05): T4 OpenAPI failure taxonomy contract test
CreasyBear May 28, 2026
f682013
feat(04-09): T1-T2 proof-gap honesty prose and CI guard
CreasyBear May 28, 2026
1a1153d
feat(04-10): T1-T4 custody matrix and bilateral golden-path sections
CreasyBear May 28, 2026
d777a21
feat(04-11): T1 http-handler mutation gating architecture test
CreasyBear May 28, 2026
283c015
feat(04-12): T1-T3 operator E2E gate and tiered phase checks
CreasyBear May 28, 2026
db771bf
feat(04-10): T3 MCP doctor attestation parity test
CreasyBear May 28, 2026
b4e0cad
fix(04-10): wire doctor attestation to x402 digest refs
CreasyBear May 28, 2026
8b3e056
docs(04-09): consolidate external-adapter-sdk checklist
CreasyBear May 28, 2026
d18f2d3
docs(04-12): author phase 04 verification with operator and full tiers
CreasyBear May 28, 2026
cb6d266
fix(04-12): remove duplicate service-agent-gating npm scripts
CreasyBear May 28, 2026
3db4730
docs(04): force-add Phase 04 planning corpus + gitignore demo output
CreasyBear May 28, 2026
06c6214
fix(04-verify): align recovery-conflict HTTP status with D-18
CreasyBear May 29, 2026
2a46970
fix(04): guard nullable gatewayRegistryEntry at all call sites
CreasyBear May 29, 2026
920e38a
fix(04): make bootstrap WorkerBindings env handling type-safe
CreasyBear May 29, 2026
86e0758
fix(04): narrow runtime boundary manifest to adapter surfaces
CreasyBear May 29, 2026
401a866
fix(04): restore auth-md refusal path and register orphan-catalog code
CreasyBear May 29, 2026
3840c25
fix(04): align x402 fixtures with nullable gateway and policy bindings
CreasyBear May 29, 2026
6b06c6a
fix(04): update SDK and APS tests to Phase 04 client contracts
CreasyBear May 29, 2026
2acddf1
fix(04): rename src/cli/service bucket to service-operator (naming po…
CreasyBear May 29, 2026
bafc2ee
fix(04): move failure-class into subdir to clear foundation loose-fil…
CreasyBear May 29, 2026
a85f93b
refactor(04): rename Tier-1 integrator concept to integrator parity (…
CreasyBear May 29, 2026
738a34c
fix(04): repoint reason-code-remediation deleted-docs reference
CreasyBear May 29, 2026
42b1fb3
fix(04): realign MCP reference transcript + import roots + CLI eviden…
CreasyBear May 29, 2026
979b99c
docs(04-verify): record regression ground truth + corrected passed st…
CreasyBear May 29, 2026
62757b6
fix(04): H-01 H-02 M-02 M-05 align failureClass taxonomy with D-17/D-18
CreasyBear May 29, 2026
8674616
fix(04): H-04 preserve failureClass when SDK HTTP envelope parse fails
CreasyBear May 29, 2026
dfd6531
fix(04): M-03 emit structured auth.md unsafe-parameter gateway refusal
CreasyBear May 29, 2026
50721dd
fix(04): M-04 throw typed install_orphan_catalog_missing_gateway error
CreasyBear May 29, 2026
abde73b
fix(04): M-01 label dual-enforcement test as doctrine-prose guard
CreasyBear May 29, 2026
c7bba7e
fix(04): guard-fix regressions for HTTP status and SDK boundary
CreasyBear May 29, 2026
363beed
docs(04): record guard artifacts (review + security + review-fix)
CreasyBear May 29, 2026
74ff1f1
docs(04-verify): reconcile frontmatter to adjudicated passed status
CreasyBear May 29, 2026
ee4c074
feat(05-03): add dual_enforcement_posture product-completion gate
CreasyBear May 29, 2026
2178400
test(05-03): wire product-completion pack check and parity
CreasyBear May 29, 2026
b41c1d4
docs(05-03): link dual_enforcement_posture gate in decisions
CreasyBear May 29, 2026
1a6140c
docs(05-12): add concierge planning scratch under macro
CreasyBear May 29, 2026
de53481
feat(05-01): define mutation-route-manifest module
CreasyBear May 29, 2026
e2c389e
feat(05-01): wire mutation manifest parity guard in app
CreasyBear May 29, 2026
a08852d
test(05-01): http-handler-mutation-gating architecture test
CreasyBear May 29, 2026
231b6ee
feat(05-05): add per-customer-bypass-scaffold proof packet
CreasyBear May 29, 2026
4eb5985
feat(05-05): wire per_customer_bypass_scaffold completion gate
CreasyBear May 29, 2026
1306556
test(05-05): assert bypass scaffold gate never auto-completes
CreasyBear May 29, 2026
1504622
feat(05-09): extract canonical hosted-admission package
CreasyBear May 29, 2026
034a64c
feat(05-09): normalize http admission hosted reexport shims
CreasyBear May 29, 2026
45b064d
test(05-09): tighten hosted-admission-reexport-only architecture test
CreasyBear May 29, 2026
687dd79
docs(05-09): audit boundary-manifest hosted_admission posture
CreasyBear May 29, 2026
d82a5dd
fix(05-05): restore proof-packets loose-file limit and registry parity
CreasyBear May 29, 2026
c36ad17
feat(05-07): curated root re-exports for role clients (D-56)
CreasyBear May 29, 2026
f9390ea
test(05-07): update root export allowlist for D-56 role clients
CreasyBear May 29, 2026
7d32a80
docs(05-07): claim-boundary and DEI root import examples (D-56)
CreasyBear May 29, 2026
a111bf2
feat(05-02): expand auth-md protected API call exact profile (04-08)
CreasyBear May 29, 2026
33dac2d
feat(05-02): assertAuthMdProfileConformance before auth-md gateway I/O
CreasyBear May 29, 2026
9b3ae00
test(05-02): http-profile-adapter-conformance architecture test (04-08)
CreasyBear May 29, 2026
8d85502
feat(05-06): CLI evidence fetch with HTTP default and --cwd fallback
CreasyBear May 29, 2026
096d8fb
feat(05-06): SDK and MCP operation readback projection parity (D-55)
CreasyBear May 29, 2026
7abeb36
test(05-06): evidence fetch CLI/SDK conformance and posture allowlists
CreasyBear May 29, 2026
38f1b82
docs(05-04): add service-operator runbook (04-02, D-22)
CreasyBear May 29, 2026
d3aa5a0
docs(05-04): add host-operator runbook (04-10, D-22)
CreasyBear May 29, 2026
8a345bf
docs(05-04): wire DEI and workflow story to operator runbooks
CreasyBear May 29, 2026
c1f1a24
feat(05-08): extend operation readback stages and store reader
CreasyBear May 29, 2026
e08f58f
feat(05-08): register operation readback and correlation GET routes
CreasyBear May 29, 2026
6946b26
feat(05-08): CLI SDK MCP readback spine parity and tests
CreasyBear May 29, 2026
a886d6d
fix(05-04): align phase-04 tier tests with shipped runbooks
CreasyBear May 29, 2026
8b5ac67
fix(05-08): register action_contract_missing transition error code
CreasyBear May 29, 2026
e178aa6
feat(05-10): category claim headline and Passport purge (D-59)
CreasyBear May 29, 2026
2304166
feat(05-10): persona golden paths and DEI routing (D-61)
CreasyBear May 29, 2026
ade19f9
fix(05-10): restore single-line certificate-not-permission phrase for…
CreasyBear May 29, 2026
777c309
feat(05-11): add canonical-doc forbidden-copy lint (D-60)
CreasyBear May 29, 2026
06e36e3
feat(05-11): require reconstructable-clearance category claim in clai…
CreasyBear May 29, 2026
cc78697
feat(05-11): add cli-non-authority copy lint with doc-lint drift guar…
CreasyBear May 29, 2026
fec48e7
feat(05-11): add planning-scratch quarantine for concierge scaffold (…
CreasyBear May 29, 2026
f5fa885
test(05-13): add failing gateway-held x402 credential custody pins (D…
CreasyBear May 29, 2026
bb892f9
feat(05-13): structural gateway-held x402 credential custody (D-64, D…
CreasyBear May 29, 2026
e885bcc
docs(05-13): record Mechanism A gateway-held x402 credential custody …
CreasyBear May 29, 2026
7c4c2d0
feat(05-14): require generated execution graph for agent-origin compi…
CreasyBear May 29, 2026
f7fd1d6
feat(05-14): HTTP transition sequence matrix + D3 architecture-test p…
CreasyBear May 29, 2026
6e23848
fix(05-14): use plain Error for construction-time matrix drift guard
CreasyBear May 29, 2026
4a3ddbe
docs(05-keel): cite envelope refusal at candidate-decision.ts:67
CreasyBear May 29, 2026
63507af
docs(05-verify): close out phase 05 verification as passed
CreasyBear May 29, 2026
bcf3ac0
docs(planning): mark phases 04 and 05 complete locally
CreasyBear May 29, 2026
aef9478
docs(decisions): record Phase 05 shipped decisions D-50 through D-71
CreasyBear May 29, 2026
e60fc87
fix(failure-class): derive FailureClass from reason-code registry kind
CreasyBear May 29, 2026
93d72a1
docs(05): close out review — HR-01 resolved, defer MR-02/03/04
CreasyBear May 29, 2026
4509826
docs(codebase): refresh .planning/codebase map for phases 04+05 close…
CreasyBear May 29, 2026
d63905d
docs(state): record phase-05 branch pushed to origin; remote PR+publi…
CreasyBear May 29, 2026
2f5e18a
chore: release 0.2.8 for Phase 04+05 land
CreasyBear May 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ dist/
.planning/
.agents/
skills-lock.json

# Runtime-generated demo output (golden-path bootstrap writes here).
examples/service-operator-golden-path/output/
examples/service-operator-bootstrap/output/
68 changes: 68 additions & 0 deletions .planning/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Planning Roadmap

Generated: 2026-05-18
Refreshed: 2026-05-28

## Invariant at Stake

Planning may compile product intent into proposed work. It must not become authority, and it must not silently import archived or draft artifacts as completed truth.

## Current Track (`.planning/phases/`)

This is the active planning track. The legacy `docs/plans/` track is preserved at the bottom for provenance.

| Phase | Folder | Status | Last update |
|-------|--------|--------|-------------|
| 02 | [`02-address-concerns`](./phases/02-address-concerns/) | **Complete** — see [02-VERIFICATION.md](./phases/02-address-concerns/02-VERIFICATION.md) and [02-UAT.md](./phases/02-address-concerns/02-UAT.md) | 2026-05-28 |
| 03 | [`03-close-enforcement-gaps`](./phases/03-close-enforcement-gaps/) | **Complete** — see [03-VERIFICATION.md](./phases/03-close-enforcement-gaps/03-VERIFICATION.md) | 2026-05-28 |
| 04 | [`04-service-agent-gating`](./phases/04-service-agent-gating/) | **Complete** — see [04-VERIFICATION.md](./phases/04-service-agent-gating/04-VERIFICATION.md) and [04-UAT.md](./phases/04-service-agent-gating/04-UAT.md) | 2026-05-29 |
| 05 | [`05-product-coherence`](./phases/05-product-coherence/) | **Complete** — see [05-VERIFICATION.md](./phases/05-product-coherence/05-VERIFICATION.md) and [05-UAT.md](./phases/05-product-coherence/05-UAT.md) | 2026-05-29 |

### Phase 05 framing

Phase 05 is the post-Phase-04 product unification pass. It is **not** a new mechanism layer. It covers four buckets:

- **A — Phase-04 deferred lane** (service mutation manifest, HTTP profile adapter conformance expansion, dual-enforcement inventory slice, operator runbooks, D-25 per-customer scaffolds)
- **B — Surface scrub** (live evidence fetch parity across CLI/SDK/MCP, one-import agent ergonomics, intent-compilation projection stage, correlation index, hosted-admission consolidation polish)
- **C — Narrative polish** (README + protocol-layman category-claim integrity, developer-experience-index persona golden paths, Diataxis doc coverage, forbidden-copy lint expansion, concierge demand test scaffold)
- **D — Keel-integrity audit** (10-invariant re-verification, gateway-held credential custody for x402 signer, adversarial architecture test promotion, global transition admission matrix at HTTP, mandatory generated-execution-graph for agent-origin compilations)

Comprehensive-scale (target ~10–14 plans). Phase 05 plans assume Phase 04 lands first.

## Current Phase

**Phases 04 and 05 are complete locally** (2026-05-29). Remote ship (PR/merge/npm publish) is deferred until gh and npm credentials are available.

**Phase 04** — service-agent gating: operator golden path, dual-enforcement doctrine, structural HTTP/example gating, tier gates 10/10 + 15/15. See [04-VERIFICATION.md](./phases/04-service-agent-gating/04-VERIFICATION.md).

**Phase 05** — product coherence: deferred lane, live-fetch spine, narrative + forbidden-copy lint, gateway-held x402 custody (Mechanism A), keel audit. See [05-VERIFICATION.md](./phases/05-product-coherence/05-VERIFICATION.md).

## Smallest Next Mechanism

Push branch, open PR, and run remote CI/npm publish when tooling allows. Optional hygiene: pre-existing manifest-coverage and repo-naming-posture test residuals.

---

## Historical Track (legacy `docs/plans/`)

The earlier planning track lived under `docs/plans/`. Retained for provenance; **not the current source of truth**. The active track is `.planning/phases/` above.

**Completed (legacy):**

- `docs/plans/01-plan-eng-review-primitive-fields-state.md`
- `docs/plans/01a-plan-eng-review-protocol-migration.md`

**Current (legacy):**

- `docs/plans/02-plan-eng-review-authority-hardening.md`

**Archived / not executable:**

- `docs/plans/archive/02-plan-eng-review-agent-requirements.md`
- `.planning/archive/agent-native-product-requirements-handoff/*`

**Next (legacy):**

- `docs/plans/03-plan-protected-mcp-cli-preview-deploy.md`

Treat the `docs/plans/` track as historical context for the kernel and authority-hardening work that fed the current `.planning/phases/` track. Do not promote legacy plans into CI names, exports, or product claims without re-anchoring them in the current phase structure.
73 changes: 73 additions & 0 deletions .planning/STATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
gsd_state_version: 1.0
milestone: v1.0
milestone_name: milestone
status: phases_04_05_complete_local
last_updated: "2026-05-29T00:00:00Z"
progress:
total_phases: 5
completed_phases: 5
total_plans: 42
completed_plans: 42
percent: 100
---

# Local Planning State

Generated: 2026-05-24
Updated: 2026-05-29 (Phase 04 + 05 local close-out)

## Current Mode

Planning scratch is local-only. Canonical repo truth lives in `AGENTS.md`, `README.md`,
`QUALITY.md`, `STRUCTURE.md`, and `docs/internal/*`.

## Current State

**Phases 04 + 05 complete** on branch `phase-05-product-coherence` @ `4509826`,
**pushed to origin** (`origin/phase-05-product-coherence`). Phase 04 is an ancestor of
Phase 05, so this single branch carries both phases. `phase-04-service-agent-gating` is
also on origin @ `74ff1f1`. Operator tier **10/10** and full tier **15/15** gates green;
`npx tsc --noEmit` clean; `bun test` **849 pass / 3 fail** (acceptable residuals only;
HR-01 classifier-doctrine fix landed @ `e60fc87`).

**Remote land — partial:** branch pushed ✓. Still pending (require credentials absent in
this environment):
- **PR + merge to main** — `gh` CLI absent; create via web:
`https://github.com/CreasyBear/handshake-protocol-source/compare/main...phase-05-product-coherence`
- **npm publish** — `npm whoami` returns 401; needs `npm login` (or a token in `~/.npmrc`)
before `npm publish`. Confirm version (`package.json` 0.2.7) is not already taken.

## Phase Status

| Phase | Folder | Status |
|-------|--------|--------|
| 02 | `02-address-concerns` | Complete |
| 03 | `03-close-enforcement-gaps` | Complete |
| 04 | `04-service-agent-gating` | Complete — [04-VERIFICATION.md](./phases/04-service-agent-gating/04-VERIFICATION.md) `passed` |
| 05 | `05-product-coherence` | Complete — [05-VERIFICATION.md](./phases/05-product-coherence/05-VERIFICATION.md) `passed` |

## Locked Premise

Current scratch reference:

- `.planning/macro/PLAN.md`

It is scratch coordination only. Promote durable decisions into canonical docs or
source tests before relying on them.

## Do Not Do

- Do not treat `.planning/` as repo truth.
- Do not use old Tier 2/preview-deploy planning state as current product direction.
- Do not choose a first adapter or shipment path unless tracked source and docs support it.
- Do not treat human personas, dashboards, public routes, or Cloud surfaces as the first unit of product planning.
- Do not claim gateway enforcement unless a gateway check owns the mutation boundary.
- Do not expand canonical product docs from scratch planning without source-backed tests.

## Smallest Next Mechanism

Remote ship when tooling allows: push `phase-05-product-coherence`, open PR, run CI,
and npm publish per release policy. Optional: fix pre-existing manifest-coverage and
repo-naming-posture residuals; await `05-REVIEW.md` if a sibling code-review agent
still lands it.
Loading
Loading