Skip to content

CHP: a real protocol + a second implementation (readiness program)#5

Merged
imonacloud merged 2 commits into
mainfrom
sync/protocol-as-real-protocol
Jul 5, 2026
Merged

CHP: a real protocol + a second implementation (readiness program)#5
imonacloud merged 2 commits into
mainfrom
sync/protocol-as-real-protocol

Conversation

@imonacloud

@imonacloud imonacloud commented Jul 5, 2026

Copy link
Copy Markdown
Member

Two arcs of protocol work, scoped to the core protocol surface + legal (adapters/apps/infra are held on `sync/backlog` for a separate PR).

Arc 1 — Make CHP a Real Protocol

The three differentiators (signed / governed / trusted) become normative, byte-specified, conformance-guarded surface: authenticated subject, signed header + host-identity attestation, byte-exact `chp-stable-v1` + a non-Python verifier, normative governance vocabulary, HTTP wire binding + black-box conformance, and the governance plane (policy/invariants/budget/approval/risk/safety) all wired and guarded.

Arc 2 — Protocol Readiness Program (a second implementation)

Proves CHP is a protocol, not a program — two implementations that interoperate byte-for-byte.

  • Spec-first hardening: normative invocation pipeline + denial triggers; `chp-stable-v1` no-float rule (closed a latent Python-vs-JS hash defect); canon golden set + governance vector; `conformance/FIXTURES.md`.
  • `@capabilityhostprotocol/sdk` (TS): canon/sign/verify/client — byte-identical signatures to Python.
  • `@capabilityhostprotocol/host` (TS): passes `runner.py --url --suite wire` = 14/14.
  • Signed tier over the wire; interop kit (`conformance/README.md`); mesh verifies the host-identity attestation before pinning.

Verification

  • 14/14 wire conformance (Python runner → TS host); TS client → Python host — interop both directions
  • Python-signed and TS-signed governed bundles each verify under the other language
  • 820+ Python tests + 32 TS tests green; alignment + conformance gates hold (chp-core pre-commit gate passed on this branch)

License

No MIT anywhere — Apache-2.0 (code) / CC BY 4.0 (docs) + patent grant + trademark + CLA.

…l + legal fixes

Protocol arc: signed header + host-identity attestation + valid_until; byte-exact
chp-stable-v1 with published test vectors + a non-Python (Node) verifier proving
cross-language interop; authenticated subject; normative governance vocabulary
(denial registry, risk tiers, namespacing); safety gate + approval/budget/risk-tier
all wired and conformance-guarded (local + black-box over HTTP); HTTP wire binding
spec; signed OTel + W3C PROV export carrying the governance + integrity surface.

Legal: correct the README license footer (was an erroneous "MIT" — the project is
Apache-2.0 code / CC BY 4.0 docs), fix the copyright entity to Project Auxo, Inc.,
and add PATENTS / TRADEMARK.md / CLA.md.

Scoped to the core protocol surface + legal; adapters/host/apps sync separately.
@imonacloud imonacloud force-pushed the sync/protocol-as-real-protocol branch from 63fb4da to d05bbe9 Compare July 5, 2026 01:20
@imonacloud imonacloud changed the title sync: chp-dev → chp-core Make CHP a Real Protocol — differentiators as normative protocol + legal fixes Jul 5, 2026
… implementation

Builds on the "Make CHP a Real Protocol" work in this PR. Proves CHP is a protocol,
not a program: two independent implementations that interoperate byte-for-byte.

- Phase 0 (spec-first): spec/chp-invocation-pipeline.md (normative gate ordering +
  denial triggers); chp-stable-v1 no-float rule (a latent cross-language hash
  defect — Python 0.0 vs JS 0 — closed); canon golden set + governance-bundle
  vector; conformance/FIXTURES.md; alignment guards; ts-types @auxo/MIT drift fix.
- Phase 1 — packages/chp-sdk (@capabilityhostprotocol/sdk): TS canon/hash/sign/
  verify/client, zero deps. Byte-identical signatures to Python; both-direction verify.
- Phase 2 — packages/chp-host-ts (@capabilityhostprotocol/host): the governed
  pipeline + HTTP server. Passes conformance/runner.py --url --suite wire = 14/14.
- Phase 3 — signed tier over the wire (a live TS-host bundle verifies under verify.mjs).
- Phase 4 — conformance/README.md interop kit; mesh verifies the host-identity
  attestation before pinning (chp_host/cli.py); mcp_server smoke tests.

828 Python tests + 32 TS tests green; alignment gate holds.
@imonacloud imonacloud changed the title Make CHP a Real Protocol — differentiators as normative protocol + legal fixes CHP: a real protocol + a second implementation (readiness program) Jul 5, 2026
@imonacloud imonacloud merged commit e2b3b1c into main Jul 5, 2026
1 check passed
@imonacloud imonacloud deleted the sync/protocol-as-real-protocol branch July 5, 2026 08:45
imonacloud added a commit that referenced this pull request Jul 5, 2026
* sync: Make CHP a Real Protocol — differentiators as normative protocol + legal fixes

Protocol arc: signed header + host-identity attestation + valid_until; byte-exact
chp-stable-v1 with published test vectors + a non-Python (Node) verifier proving
cross-language interop; authenticated subject; normative governance vocabulary
(denial registry, risk tiers, namespacing); safety gate + approval/budget/risk-tier
all wired and conformance-guarded (local + black-box over HTTP); HTTP wire binding
spec; signed OTel + W3C PROV export carrying the governance + integrity surface.

Legal: correct the README license footer (was an erroneous "MIT" — the project is
Apache-2.0 code / CC BY 4.0 docs), fix the copyright entity to Project Auxo, Inc.,
and add PATENTS / TRADEMARK.md / CLA.md.

Scoped to the core protocol surface + legal; adapters/host/apps sync separately.

* CHP Protocol Readiness Program — spec-first hardening + a second (TS) implementation

Builds on the "Make CHP a Real Protocol" work in this PR. Proves CHP is a protocol,
not a program: two independent implementations that interoperate byte-for-byte.

- Phase 0 (spec-first): spec/chp-invocation-pipeline.md (normative gate ordering +
  denial triggers); chp-stable-v1 no-float rule (a latent cross-language hash
  defect — Python 0.0 vs JS 0 — closed); canon golden set + governance-bundle
  vector; conformance/FIXTURES.md; alignment guards; ts-types @auxo/MIT drift fix.
- Phase 1 — packages/chp-sdk (@capabilityhostprotocol/sdk): TS canon/hash/sign/
  verify/client, zero deps. Byte-identical signatures to Python; both-direction verify.
- Phase 2 — packages/chp-host-ts (@capabilityhostprotocol/host): the governed
  pipeline + HTTP server. Passes conformance/runner.py --url --suite wire = 14/14.
- Phase 3 — signed tier over the wire (a live TS-host bundle verifies under verify.mjs).
- Phase 4 — conformance/README.md interop kit; mesh verifies the host-identity
  attestation before pinning (chp_host/cli.py); mcp_server smoke tests.

828 Python tests + 32 TS tests green; alignment gate holds.
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