Skip to content

docs: archive Slice C and create Slice D intent baseline for issue #135 - #156

Merged
bouillipx merged 3 commits into
mainfrom
codex/client-capability-discovery-and-host-tests
Mar 2, 2026
Merged

docs: archive Slice C and create Slice D intent baseline for issue #135#156
bouillipx merged 3 commits into
mainfrom
codex/client-capability-discovery-and-host-tests

Conversation

@bouillipx

Copy link
Copy Markdown
Collaborator

Summary

This is a docs-only intent PR for the next Issue #135 slice.

It does two things:

  • archives the merged Slice C change (client-external-control-plane-v1)
  • establishes the Slice D docs-first baseline for client-capability-discovery-and-host-tests

Why

PR #151 already merged the external control plane baseline, so Slice C needs to be archived before more implementation work starts.

The remaining Issue #135 gap is now narrower:

  • hosts still need a hardcoded action matrix because actions:list is not exposed on the CLI host protocol surface
  • host-protocol regression coverage is still split across event/control tests rather than frozen as one capability-discovery-aware suite

This PR updates the canonical docs and OpenSpec artifacts so Slice D can start from the current main-spec baseline instead of the pre-Slice-C contract.

Scope

Included in this PR:

  • archive client-external-control-plane-v1 under openspec/changes/archive/2026-03-02-client-external-control-plane-v1
  • sync landed Slice C deltas into openspec/specs/client-host-orchestration/spec.md
  • move Slice C feature evidence to docs/features/archive/client-external-control-plane-v1.md
  • update client/DESIGN.md and client/README.md to choose explicit actions:list discovery over unsolicited startup handshake for the next slice
  • update the host-orchestration master TODO / claim ledger
  • create Slice D OpenSpec artifacts and feature evidence:
    • client-capability-discovery-and-host-tests

Not included in this PR:

  • actions:list bridge implementation
  • capability discovery runtime behavior changes
  • new protocol integration tests beyond kickoff baseline verification

TODO / Change Mapping

  • Closed in this PR:
    • CCLI-005
    • CCLI-006
  • Claimed for the next slice:
    • CCLI-007
    • CCLI-008
  • Active change:
    • client-capability-discovery-and-host-tests

Validation

Executed:

  • ../../.venv/bin/python -m pytest tests/unit/test_client_cli.py -q
  • ../../.venv/bin/python -m pytest tests/integration/test_client_cli_flow.py -q
  • openspec list
  • openspec show client-capability-discovery-and-host-tests --type change --json --no-interactive
  • openspec validate client-capability-discovery-and-host-tests --type change --strict --json --no-interactive
  • ./scripts/ci/check_governance_evidence_truth.sh

Results:

  • CLI unit baseline passes (45 tests)
  • CLI integration baseline passes (21 tests)
  • Slice D change validates cleanly with 0 issues
  • governance evidence truth passes

Merge Gate Intent

This PR is intended to satisfy the docs-only intent gate for Slice D.

After this PR is merged to main, the next step is to implement client-capability-discovery-and-host-tests:

  1. expose actions:list through --control-stdin
  2. freeze the host protocol regression suite across headless event envelope, control plane, and capability discovery

Archive the merged client-external-control-plane-v1 change, sync its landed control-plane deltas into the canonical client-host-orchestration spec, and establish the docs-first kickoff baseline for client-capability-discovery-and-host-tests.

Key changes:
- archive Slice C OpenSpec artifacts under openspec/changes/archive/2026-03-02-client-external-control-plane-v1 and move its feature aggregation doc to docs/features/archive
- sync the landed control-plane requirements into openspec/specs/client-host-orchestration/spec.md so the main spec reflects control-stdin, canonical action ids, and status snapshot semantics
- update client/DESIGN.md and client/README.md to choose explicit actions:list discovery over unsolicited startup handshake for the next slice
- refresh the host-orchestration master TODO ledger: mark CCLI-005/006 done, record Slice C archive evidence, and claim CCLI-007/008 for Slice D
- create the client-capability-discovery-and-host-tests OpenSpec change plus its feature evidence doc, covering explicit capability discovery and host protocol regression testing

Rationale:
PR #151 is already merged, so Slice C must be archived before more implementation work begins. Slice D needs a docs-first baseline on top of the merged control-plane spec, otherwise the next implementation slice would start from an outdated canonical contract and leave hosts choosing between hardcoded action matrices and undefined handshake behavior.
Record the docs-only intent PR link for client-capability-discovery-and-host-tests in the active feature evidence doc.

Key changes:
- replace the pending Slice D intent PR placeholder with the live PR #156 link
- rerun governance evidence truth after the evidence update

Rationale:
The feature aggregation doc is the source of truth for review and merge-gate evidence. Once the intent PR exists, its link should live in the feature evidence immediately so the next implementation slice can trace the merged docs gate without reconstructing it from GitHub history.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

https://github.com/zts212653/Deterministic-Agent-Runtime-Engine/blob/9efdfc73da39e61acbfd456c1e06f772577e5c26/docs/features/archive/client-external-control-plane-v1.md#L20-L24
P2 Badge Point archived artifact links to archived change paths

This archived feature doc now points its OpenSpec artifact links at openspec/changes/client-external-control-plane-v1/..., but that directory was moved to openspec/changes/archive/2026-03-02-client-external-control-plane-v1/... in the same commit. As a result, readers following the canonical artifact links from this page hit missing files and cannot trace proposal/design/spec/tasks for Slice C, which weakens the docs-first audit trail.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Point the archived client-external-control-plane-v1 feature doc at the archived OpenSpec artifact paths instead of the pre-archive active change location.

Key changes:
- update proposal/design/spec/tasks links in docs/features/archive/client-external-control-plane-v1.md to openspec/changes/archive/2026-03-02-client-external-control-plane-v1
- rerun governance evidence truth after the archived-link fix

Rationale:
Once Slice C was archived, the feature aggregation doc became the retained audit record for that slice. Leaving its artifact links pointed at the deleted active-change path broke the docs-first traceability chain and forced readers to reconstruct archive locations manually.
@bouillipx

Copy link
Copy Markdown
Collaborator Author

Fixed the archived Slice C artifact links in e97f2e6.

The archived feature doc now points its proposal/design/spec/tasks links at openspec/changes/archive/2026-03-02-client-external-control-plane-v1/... instead of the deleted active-change path, so the retained audit record resolves correctly after archive.

Verification rerun after the fix:

  • ./scripts/ci/check_governance_evidence_truth.sh

@bouillipx
bouillipx merged commit ed4c421 into main Mar 2, 2026
8 checks passed
@bouillipx
bouillipx deleted the codex/client-capability-discovery-and-host-tests branch March 2, 2026 15:36
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