Skip to content

feat(agentic-harness): coordinate generated orchestrator with installed SDD (v0.5.0)#12

Merged
MrBogomips merged 1 commit into
mainfrom
feature/sdd-orchestrator-coordination
Jun 9, 2026
Merged

feat(agentic-harness): coordinate generated orchestrator with installed SDD (v0.5.0)#12
MrBogomips merged 1 commit into
mainfrom
feature/sdd-orchestrator-coordination

Conversation

@MrBogomips

Copy link
Copy Markdown
Owner

Context

The agentic-harness plugin generates a project's orchestrator skill. Until now the SDD (spec-driven development) touchpoint was one-directional and setup-only: harness-setup only offered spec-advisor when a software project had no SDD system. Once a system was installed, the generated orchestrator was blind to it — it could run a parallel agentic flow that conflicts with the spec process.

This makes the relationship bidirectional: when an SDD system is present, the orchestrator and the SDD work coordinated, without overlap and with minimal friction.

The coordination model

A two-way handoff, applied uniformly to all 8 supported systems:

  1. Activate (hand-in) — the orchestrator stays the driver and activates the SDD's owned segment with a contextual prompt: directly for auto-invokable CLI/MCP systems, or prompt-and-pause for human-gated ones (IDE / approval gates).
  2. SDD runs its owned segment — no duplication.
  3. Hand-back — the SDD's artifacts (spec/plan/tasks, approved design, task graph) are the contract; the orchestrator detects completion and resumes.
  4. Resume + write back — execute, integrate, cross-boundary QA; write status/decisions back in the SDD's conventions.

Two invariants: one owner per phase (→ SDD: {system} or orchestrator-owned) and one source of truth per artifact (SDD artifacts referenced in place, never copied into _agents_workspace/).

Changes

  • New shared/sdd-coordination.md — the protocol + per-system coordination map (owned segment / activation / auto? / hand-back contract / write-back).
  • Moved detection-signatures.md from spec-advisor/references/shared/ so both spec-advisor and harness-setup read one source (CI-safe: the reference validator ignores ${CLAUDE_PLUGIN_ROOT}/shared/... paths). Updated spec-advisor's path references.
  • harness-setup/SKILL.md — Step 0 detects an installed SDD and records a coordination context; Step 2 settles delegated vs owned phases with the user; Step 5 splices the addenda with concrete paths inlined; checklist updated.
  • orchestrator-template.md — new "SDD coordination" section (three addenda, Spec Kit + Kiro worked snippets, defer-heavy note) spliced into templates A/B/C.
  • shared/claude-md-pointer.md — optional "Spec process" line recording the relationship.
  • Versioningplugin.json 0.4.0 → 0.5.0 + description/README refresh; corrected the stale marketplace.json version (0.3.1 → 0.5.0; the prior release left it un-bumped and the validator doesn't enforce the match).

Scope

Core only (per request). Deferred to a later change: harness-review SDD-drift checks, and a spec-advisor post-install hand-back offer.

Test plan

  • bash tests/ci/run-structural-tests.sh — passes (pre-existing connector/asset warnings only, none from agentic-harness)
  • claude plugin validate ./agentic-harness --strict — passes
  • No stale references/detection-signatures paths remain after the move
  • Dry-run read-through of the generated orchestrator for Spec Kit (auto-invokable), Taskmaster (task-graph hand-back), and Kiro (human-gated pause) — one owner per phase, no duplicated artifacts

🤖 Generated with Claude Code

…ed SDD (v0.5.0)

When a spec-driven development (SDD) system is present, the generated
orchestrator now coordinates with it via a two-way handoff instead of
ignoring it: the orchestrator stays the driver, activates the SDD's owned
segment with a contextual prompt (auto-invokable CLI/MCP, or prompt-and-pause
for human-gated IDE/approval flows), the SDD hands back its artifacts as the
contract, and the orchestrator resumes (execute, integrate, cross-boundary QA),
writing status back in the SDD's conventions. Two invariants hold: one owner
per phase, and one source of truth per artifact (SDD artifacts referenced in
place, never copied into _agents_workspace/).

- New shared/sdd-coordination.md: the handoff protocol and the per-system
  coordination map (owned segment, activation, hand-back contract, write-back).
- Move detection-signatures.md from spec-advisor/references/ to shared/ so both
  spec-advisor and harness-setup read one source; update spec-advisor paths.
- harness-setup: Step 0 detects an installed SDD and records a coordination
  context; Step 2 settles delegated vs owned phases with the user; Step 5
  splices the SDD-coordination addenda into the orchestrator with concrete
  paths inlined; checklist updated.
- orchestrator-template.md: new "SDD coordination" section (three addenda,
  Spec Kit and Kiro worked snippets, defer-heavy note) for templates A/B/C.
- claude-md-pointer.md: optional "Spec process" line recording the relationship.
- Bump plugin.json 0.4.0 -> 0.5.0 and refresh description/README; correct the
  stale marketplace.json version (0.3.1 -> 0.5.0).

Scope is "core only": harness-review SDD-drift checks and a spec-advisor
post-install hand-back offer are deferred. Structural suite and
`claude plugin validate ./agentic-harness --strict` both pass.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@MrBogomips MrBogomips merged commit b4f7918 into main Jun 9, 2026
1 check passed
@MrBogomips MrBogomips deleted the feature/sdd-orchestrator-coordination branch June 9, 2026 15:48
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