diff --git a/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/.openspec.yaml b/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/.openspec.yaml new file mode 100644 index 0000000..9f70866 --- /dev/null +++ b/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/.openspec.yaml @@ -0,0 +1,2 @@ +schema: spec-driven +created: 2026-05-15 diff --git a/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/proposal.md b/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/proposal.md new file mode 100644 index 0000000..313eca3 --- /dev/null +++ b/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/proposal.md @@ -0,0 +1,11 @@ +## Why + +- TODO: describe the user/problem outcome this change addresses. + +## What Changes + +- TODO: summarize the intended behavior and scope. + +## Impact + +- TODO: call out risks, rollout notes, and affected surfaces. diff --git a/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/specs/show-fleet-entrypoint/spec.md b/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/specs/show-fleet-entrypoint/spec.md new file mode 100644 index 0000000..7757fb4 --- /dev/null +++ b/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/specs/show-fleet-entrypoint/spec.md @@ -0,0 +1,9 @@ +## ADDED Requirements + +### Requirement: show-fleet-entrypoint behavior +The system SHALL enforce show-fleet-entrypoint behavior as defined by this change. + +#### Scenario: Baseline acceptance +- **WHEN** show-fleet-entrypoint behavior is exercised +- **THEN** the expected outcome is produced +- **AND** regressions are covered by tests. diff --git a/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/tasks.md b/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/tasks.md new file mode 100644 index 0000000..2a73fad --- /dev/null +++ b/openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/tasks.md @@ -0,0 +1,34 @@ +## Definition of Done + +This change is complete only when **all** of the following are true: + +- Every checkbox below is checked. +- The agent branch reaches `MERGED` state on `origin` and the PR URL + state are recorded in the completion handoff. +- If any step blocks (test failure, conflict, ambiguous result), append a `BLOCKED:` line under section 4 explaining the blocker and **STOP**. Do not tick remaining cleanup boxes; do not silently skip the cleanup pipeline. + +## Handoff + +- Handoff: change=`agent-claude-show-fleet-entrypoint-2026-05-16-00-53`; branch=`agent//`; scope=`TODO`; action=`continue this sandbox or finish cleanup after a usage-limit/manual takeover`. +- Copy prompt: Continue `agent-claude-show-fleet-entrypoint-2026-05-16-00-53` on branch `agent//`. Work inside the existing sandbox, review `openspec/changes/agent-claude-show-fleet-entrypoint-2026-05-16-00-53/tasks.md`, continue from the current state instead of creating a new sandbox, and when the work is done run `gx branch finish --branch agent// --base dev --via-pr --wait-for-merge --cleanup`. + +## 1. Specification + +- [ ] 1.1 Finalize proposal scope and acceptance criteria for `agent-claude-show-fleet-entrypoint-2026-05-16-00-53`. +- [ ] 1.2 Define normative requirements in `specs/show-fleet-entrypoint/spec.md`. + +## 2. Implementation + +- [ ] 2.1 Implement scoped behavior changes. +- [ ] 2.2 Add/update focused regression coverage. + +## 3. Verification + +- [ ] 3.1 Run targeted project verification commands. +- [ ] 3.2 Run `openspec validate agent-claude-show-fleet-entrypoint-2026-05-16-00-53 --type change --strict`. +- [ ] 3.3 Run `openspec validate --specs`. + +## 4. Cleanup (mandatory; run before claiming completion) + +- [ ] 4.1 Run the cleanup pipeline: `gx branch finish --branch agent// --base dev --via-pr --wait-for-merge --cleanup`. This handles commit -> push -> PR create -> merge wait -> worktree prune in one invocation. +- [ ] 4.2 Record the PR URL and final merge state (`MERGED`) in the completion handoff. +- [ ] 4.3 Confirm the sandbox worktree is gone (`git worktree list` no longer shows the agent path; `git branch -a` shows no surviving local/remote refs for the branch). diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/README.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/README.md new file mode 100644 index 0000000..3c7968c --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/README.md @@ -0,0 +1,30 @@ +# Plan Workspace: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 + +This folder stores durable planning artifacts before implementation changes. + +## Shared files +- `summary.md` +- `checkpoints.md` +- `phases.md` +- `open-questions.md` +- `coordinator-prompt.md` +- `kickoff-prompts.md` + +## Role folders +- `planner/` +- `architect/` +- `critic/` +- `executor/` +- `writer/` +- `verifier/` + +When Codex or Claude hits an unresolved question that should survive chat, add it to `open-questions.md` as an unchecked `- [ ]` item. + +Each role folder contains OpenSpec-style artifacts: +- `.openspec.yaml` +- `prompt.md` (copy/paste role prompt) +- `proposal.md` +- `tasks.md` (Spec / Tests / Implementation / Checkpoints checklists) +- `specs//spec.md` +Planner also gets `plan.md`; executor also gets `checkpoints.md`. +Planner plans should follow `openspec/plan/PLANS.md`. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/.openspec.yaml b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/.openspec.yaml new file mode 100644 index 0000000..7a2a295 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/.openspec.yaml @@ -0,0 +1,9 @@ +schema: 1 +plan: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 +role: architect +status: draft +artifacts: + prompt: prompt.md + proposal: proposal.md + tasks: tasks.md + spec: specs/architect/spec.md diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/README.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/README.md new file mode 100644 index 0000000..1e1c275 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/README.md @@ -0,0 +1,12 @@ +# architect + +Role workspace for `architect`. + +Default artifacts: +- `.openspec.yaml` +- `prompt.md` +- `proposal.md` +- `tasks.md` +- `specs//spec.md` + +Use this folder for role notes, artifacts, and status updates. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/prompt.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/prompt.md new file mode 100644 index 0000000..ce9727d --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/prompt.md @@ -0,0 +1,34 @@ +# architect Prompt + +You are the `architect` role for OpenSpec plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## Objective + +Complete only this role's assigned checklist and leave compact evidence for the coordinator. + +## Source of truth + +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/tasks.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/proposal.md` + +## Before edits + +1. Confirm branch/worktree with `git status --short --branch`. +2. Claim every touched file before editing: + - Prefer Colony `task_claim_file` when an active task exists. + - Otherwise run `gx locks claim --branch `. +3. Stay inside assigned files/modules; coordinate before touching shared paths. + +## Working rules + +- Update `architect/tasks.md` as each item completes. +- Record durable unresolved questions in `open-questions.md`. +- Keep handoffs short: files changed, behavior touched, verification, risks. +- Do not revert another agent's edits. + +## Cleanup + +Only the owner/finalizer lane runs `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. If blocked, append `BLOCKED:` with branch, task, blocker, next, evidence. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/proposal.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/proposal.md new file mode 100644 index 0000000..9744a93 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/proposal.md @@ -0,0 +1,15 @@ +# Proposal: architect (agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53) + +## Why + +Summarize why this role's work is required for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## What Changes + +- [ ] List the planned role-specific changes + +## Impact + +- Scope: +- Risks: +- Dependencies: diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/specs/architect/spec.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/specs/architect/spec.md new file mode 100644 index 0000000..6be9a4c --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/specs/architect/spec.md @@ -0,0 +1,10 @@ +# Capability Spec: architect + +## ADDED Requirements + +### Requirement: architect responsibilities for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +This role MUST define and deliver its scoped outputs with evidence. + +#### Scenario: Role executes assigned scope +- **WHEN** the role begins execution for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- **THEN** it follows `tasks.md` and records evidence for completion diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/tasks.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/tasks.md new file mode 100644 index 0000000..9b5ca5c --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/architect/tasks.md @@ -0,0 +1,33 @@ +# architect tasks + +## 1. Spec + +- [ ] 1.1 Define ownership boundaries, interfaces, and artifact responsibilities for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- [ ] 1.2 Validate architecture constraints and non-functional requirements coverage + +## 2. Tests + +- [ ] 2.1 Define architectural verification checkpoints (integration boundaries, failure modes, compatibility) +- [ ] 2.2 Validate that acceptance criteria map to concrete architecture decisions + +## 3. Implementation + +- [ ] 3.1 Review plan for strongest antithesis/tradeoff tensions +- [ ] 3.2 Propose synthesis path and guardrails for implementation teams +- [ ] 3.3 Record architecture sign-off notes for downstream execution + +## 4. Checkpoints + +- [ ] [A1] READY - Architecture review checkpoint + +## 5. Collaboration + +- [ ] 5.1 Owner recorded this lane before edits. +- [ ] 5.2 Record joined agents / handoffs, or mark `N/A` when solo. +- [ ] 5.3 Record unresolved plan questions in `../open-questions.md`, or mark `N/A` when none. + +## 6. Cleanup + +- [ ] 6.1 If this lane owns finalization, run `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. +- [ ] 6.2 Record PR URL + final `MERGED` state in the handoff. +- [ ] 6.3 Confirm sandbox cleanup (`git worktree list`, `git branch -a`) or append `BLOCKED:` and stop. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md new file mode 100644 index 0000000..d77f098 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md @@ -0,0 +1,4 @@ +# Plan Checkpoints: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 + +Chronological checkpoint log for all roles. + diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/coordinator-prompt.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/coordinator-prompt.md new file mode 100644 index 0000000..4111ed6 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/coordinator-prompt.md @@ -0,0 +1,41 @@ +# Master Coordinator Prompt + +You are the coordinator for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## Objective + +Drive this plan from draft to execution-ready status with strict checkpoint discipline and no scope drift. + +## Source-of-truth artifacts + +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/plan.md` +- role `prompt.md` files for copy/paste helper startup +- role `tasks.md` files for planner/architect/critic/executor/writer/verifier + +## Coordinator responsibilities + +1. Keep checkpoints current in each role `tasks.md` and root `checkpoints.md`. +2. Route unresolved questions and branching decisions into `open-questions.md`. +3. Ensure each role has explicit acceptance criteria and verification evidence. +4. Prevent implementation from starting before planning gates are complete. +5. Keep handoffs concise: files changed, behavior touched, verification output, risks. + +## Wave-splitting decision (optional) + +Create wave prompts in `kickoff-prompts.md` only when at least one applies: + +- 3+ independent implementation lanes can run in parallel. +- Runtime cutover/rollback sequencing needs explicit lane ownership. +- Risk is high enough that bounded execution packets reduce coordination mistakes. + +If wave splitting is not needed, keep execution under a single owner with normal role checkpoints. + +## Exit criteria + +- All role checkpoints required for planning are done. +- Execution lanes (if any) have clear ownership boundaries. +- `open-questions.md` captures unresolved decisions that still need answers. +- Verification plan and rollback expectations are explicit and testable. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/.openspec.yaml b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/.openspec.yaml new file mode 100644 index 0000000..d288f55 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/.openspec.yaml @@ -0,0 +1,9 @@ +schema: 1 +plan: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 +role: critic +status: draft +artifacts: + prompt: prompt.md + proposal: proposal.md + tasks: tasks.md + spec: specs/critic/spec.md diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/README.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/README.md new file mode 100644 index 0000000..5b5c877 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/README.md @@ -0,0 +1,12 @@ +# critic + +Role workspace for `critic`. + +Default artifacts: +- `.openspec.yaml` +- `prompt.md` +- `proposal.md` +- `tasks.md` +- `specs//spec.md` + +Use this folder for role notes, artifacts, and status updates. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/prompt.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/prompt.md new file mode 100644 index 0000000..c2f1a2d --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/prompt.md @@ -0,0 +1,34 @@ +# critic Prompt + +You are the `critic` role for OpenSpec plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## Objective + +Complete only this role's assigned checklist and leave compact evidence for the coordinator. + +## Source of truth + +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/tasks.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/proposal.md` + +## Before edits + +1. Confirm branch/worktree with `git status --short --branch`. +2. Claim every touched file before editing: + - Prefer Colony `task_claim_file` when an active task exists. + - Otherwise run `gx locks claim --branch `. +3. Stay inside assigned files/modules; coordinate before touching shared paths. + +## Working rules + +- Update `critic/tasks.md` as each item completes. +- Record durable unresolved questions in `open-questions.md`. +- Keep handoffs short: files changed, behavior touched, verification, risks. +- Do not revert another agent's edits. + +## Cleanup + +Only the owner/finalizer lane runs `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. If blocked, append `BLOCKED:` with branch, task, blocker, next, evidence. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/proposal.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/proposal.md new file mode 100644 index 0000000..745d864 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/proposal.md @@ -0,0 +1,15 @@ +# Proposal: critic (agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53) + +## Why + +Summarize why this role's work is required for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## What Changes + +- [ ] List the planned role-specific changes + +## Impact + +- Scope: +- Risks: +- Dependencies: diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/specs/critic/spec.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/specs/critic/spec.md new file mode 100644 index 0000000..77ce433 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/specs/critic/spec.md @@ -0,0 +1,10 @@ +# Capability Spec: critic + +## ADDED Requirements + +### Requirement: critic responsibilities for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +This role MUST define and deliver its scoped outputs with evidence. + +#### Scenario: Role executes assigned scope +- **WHEN** the role begins execution for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- **THEN** it follows `tasks.md` and records evidence for completion diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/tasks.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/tasks.md new file mode 100644 index 0000000..6b455a2 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/critic/tasks.md @@ -0,0 +1,33 @@ +# critic tasks + +## 1. Spec + +- [ ] 1.1 Validate principle-driver-option consistency across the plan +- [ ] 1.2 Validate risks, consequences, and mitigation clarity (including idempotency expectations) + +## 2. Tests + +- [ ] 2.1 Validate testability and measurability of all acceptance criteria +- [ ] 2.2 Validate verification steps are concrete and reproducible + +## 3. Implementation + +- [ ] 3.1 Produce verdict (APPROVE / ITERATE / REJECT) with actionable feedback +- [ ] 3.2 Confirm revised drafts resolve prior findings before approval +- [ ] 3.3 Publish final quality/risk sign-off notes + +## 4. Checkpoints + +- [ ] [C1] READY - Quality gate checkpoint + +## 5. Collaboration + +- [ ] 5.1 Owner recorded this lane before edits. +- [ ] 5.2 Record joined agents / handoffs, or mark `N/A` when solo. +- [ ] 5.3 Record unresolved plan questions in `../open-questions.md`, or mark `N/A` when none. + +## 6. Cleanup + +- [ ] 6.1 If this lane owns finalization, run `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. +- [ ] 6.2 Record PR URL + final `MERGED` state in the handoff. +- [ ] 6.3 Confirm sandbox cleanup (`git worktree list`, `git branch -a`) or append `BLOCKED:` and stop. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/.openspec.yaml b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/.openspec.yaml new file mode 100644 index 0000000..5949308 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/.openspec.yaml @@ -0,0 +1,9 @@ +schema: 1 +plan: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 +role: executor +status: draft +artifacts: + prompt: prompt.md + proposal: proposal.md + tasks: tasks.md + spec: specs/executor/spec.md diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/README.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/README.md new file mode 100644 index 0000000..62b95ee --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/README.md @@ -0,0 +1,12 @@ +# executor + +Role workspace for `executor`. + +Default artifacts: +- `.openspec.yaml` +- `prompt.md` +- `proposal.md` +- `tasks.md` +- `specs//spec.md` + +Use this folder for role notes, artifacts, and status updates. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/checkpoints.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/checkpoints.md new file mode 100644 index 0000000..aa2243c --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/checkpoints.md @@ -0,0 +1,4 @@ +# executor checkpoints + +Timestamped execution checkpoints for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/prompt.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/prompt.md new file mode 100644 index 0000000..d1d195f --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/prompt.md @@ -0,0 +1,34 @@ +# executor Prompt + +You are the `executor` role for OpenSpec plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## Objective + +Complete only this role's assigned checklist and leave compact evidence for the coordinator. + +## Source of truth + +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/tasks.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/proposal.md` + +## Before edits + +1. Confirm branch/worktree with `git status --short --branch`. +2. Claim every touched file before editing: + - Prefer Colony `task_claim_file` when an active task exists. + - Otherwise run `gx locks claim --branch `. +3. Stay inside assigned files/modules; coordinate before touching shared paths. + +## Working rules + +- Update `executor/tasks.md` as each item completes. +- Record durable unresolved questions in `open-questions.md`. +- Keep handoffs short: files changed, behavior touched, verification, risks. +- Do not revert another agent's edits. + +## Cleanup + +Only the owner/finalizer lane runs `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. If blocked, append `BLOCKED:` with branch, task, blocker, next, evidence. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/proposal.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/proposal.md new file mode 100644 index 0000000..0435286 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/proposal.md @@ -0,0 +1,15 @@ +# Proposal: executor (agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53) + +## Why + +Summarize why this role's work is required for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## What Changes + +- [ ] List the planned role-specific changes + +## Impact + +- Scope: +- Risks: +- Dependencies: diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/specs/executor/spec.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/specs/executor/spec.md new file mode 100644 index 0000000..6711eed --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/specs/executor/spec.md @@ -0,0 +1,10 @@ +# Capability Spec: executor + +## ADDED Requirements + +### Requirement: executor responsibilities for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +This role MUST define and deliver its scoped outputs with evidence. + +#### Scenario: Role executes assigned scope +- **WHEN** the role begins execution for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- **THEN** it follows `tasks.md` and records evidence for completion diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/tasks.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/tasks.md new file mode 100644 index 0000000..062ff29 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/executor/tasks.md @@ -0,0 +1,33 @@ +# executor tasks + +## 1. Spec + +- [ ] 1.1 Map approved plan requirements to concrete implementation work items +- [ ] 1.2 Validate touched components/files are explicitly listed before coding starts + +## 2. Tests + +- [ ] 2.1 Define test additions/updates required to lock intended behavior +- [ ] 2.2 Validate regression and smoke verification commands for delivery + +## 3. Implementation + +- [ ] 3.1 Execute implementation tasks in approved order +- [ ] 3.2 Keep progress and evidence linked back to plan checkpoints +- [ ] 3.3 Complete final verification bundle for handoff + +## 4. Checkpoints + +- [ ] [E1] READY - Execution start checkpoint + +## 5. Collaboration + +- [ ] 5.1 Owner recorded this lane before edits. +- [ ] 5.2 Record joined agents / handoffs, or mark `N/A` when solo. +- [ ] 5.3 Record unresolved plan questions in `../open-questions.md`, or mark `N/A` when none. + +## 6. Cleanup + +- [ ] 6.1 If this lane owns finalization, run `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. +- [ ] 6.2 Record PR URL + final `MERGED` state in the handoff. +- [ ] 6.3 Confirm sandbox cleanup (`git worktree list`, `git branch -a`) or append `BLOCKED:` and stop. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/kickoff-prompts.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/kickoff-prompts.md new file mode 100644 index 0000000..fbcff67 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/kickoff-prompts.md @@ -0,0 +1,108 @@ +# Kickoff Prompts (Copy/Paste) + +Use these only when the coordinator decides wave-splitting is needed. + +## Prompt A — Wave A (Primary lane) + +```text +You own Wave-A for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` in /home/deadpool/Documents/codex-lb. + +Goal: +Implement the assigned Wave-A scope and return verification evidence. + +Hard constraints: +- You are not alone in the codebase; do not revert others' work. +- Stay in your owned files/modules only. +- Record explicit handoff notes for integration. + +Owned scope: +- + +Verification: +- + +Handoff format: +- Files changed +- Behavior touched +- Verification outputs +- Risks/follow-ups +``` + +## Prompt B — Wave B (Secondary lane) + +```text +You own Wave-B for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` in /home/deadpool/Documents/codex-lb. + +Goal: +Implement the assigned Wave-B scope and return verification evidence. + +Hard constraints: +- You are not alone in the codebase; do not revert others' work. +- Stay in your owned files/modules only. +- Record explicit handoff notes for integration. + +Owned scope: +- + +Verification: +- + +Handoff format: +- Files changed +- Behavior touched +- Verification outputs +- Risks/follow-ups +``` + +## Prompt C — Wave C (Secondary lane) + +```text +You own Wave-C for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` in /home/deadpool/Documents/codex-lb. + +Goal: +Implement the assigned Wave-C scope and return verification evidence. + +Hard constraints: +- You are not alone in the codebase; do not revert others' work. +- Stay in your owned files/modules only. +- Record explicit handoff notes for integration. + +Owned scope: +- + +Verification: +- + +Handoff format: +- Files changed +- Behavior touched +- Verification outputs +- Risks/follow-ups +``` + +## Prompt D — Integrator lane + +```text +You are the integrator for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` in /home/deadpool/Documents/codex-lb. + +Goal: +Integrate completed waves, resolve conflicts, run final verification, and prepare rollout/cutover notes. + +Hard constraints: +- You are not alone in the codebase; do not revert others' work. +- Preserve safety-critical behavior unless explicitly planned and tested. +- Keep final output evidence-first. + +Owned scope: +- integration glue and shared touchpoints +- final validation + handoff summary + +Verification: +- + +Final report: +- Files changed +- Integration decisions +- Verification outputs +- Remaining risks +``` diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md new file mode 100644 index 0000000..bf83ae7 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md @@ -0,0 +1,6 @@ +# Open Questions: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 + +Capture unresolved plan questions here as unchecked checklist items. +Keep each item concrete, decision-shaped, and easy to close with evidence. + +- [ ] Add the next unresolved question here. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/phases.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/phases.md new file mode 100644 index 0000000..92b23cc --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/phases.md @@ -0,0 +1,15 @@ +# Plan Phases: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 + +One entry per phase. Checkbox marks map to: `x` = completed, `>` = in progress, space = pending. +Indented sub-bullets are optional metadata consumed by the Plans UI: + +- `session`: which agent kind runs the phase (`codex` / `claude`). +- `checkpoints`: comma-separated role checkpoint ids delivered within the phase. +- `summary`: one short sentence rendered under the phase title. + +One phase is intended to fit into a single Codex or Claude session task. + +- [ ] [PH01] First milestone title goes here + - session: codex + - checkpoints: P1, A1 + - summary: Describe the single session outcome expected for this phase. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/.openspec.yaml b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/.openspec.yaml new file mode 100644 index 0000000..822ec29 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/.openspec.yaml @@ -0,0 +1,9 @@ +schema: 1 +plan: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 +role: planner +status: draft +artifacts: + prompt: prompt.md + proposal: proposal.md + tasks: tasks.md + spec: specs/planner/spec.md diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/README.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/README.md new file mode 100644 index 0000000..1b0ad5d --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/README.md @@ -0,0 +1,12 @@ +# planner + +Role workspace for `planner`. + +Default artifacts: +- `.openspec.yaml` +- `prompt.md` +- `proposal.md` +- `tasks.md` +- `specs//spec.md` + +Use this folder for role notes, artifacts, and status updates. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/plan.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/plan.md new file mode 100644 index 0000000..41a6043 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/plan.md @@ -0,0 +1,65 @@ +# ExecPlan: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 + +This ExecPlan is a living document. Keep `Progress`, `Surprises & Discoveries`, `Decision Log`, and `Outcomes & Retrospective` current as work proceeds. + +Follow repository guidance in `openspec/plan/PLANS.md`. + +## Purpose / Big Picture + +Describe what becomes possible after this plan is executed and how a user/operator can observe it working. + +## Progress + +- [ ] (YYYY-MM-DD HH:MMZ) Capture initial scope and acceptance criteria. +- [ ] (YYYY-MM-DD HH:MMZ) Draft architecture/tradeoff plan and verification strategy. +- [ ] (YYYY-MM-DD HH:MMZ) Finalize execution-ready handoff. + +## Surprises & Discoveries + +- Observation: _none yet_ + Evidence: _n/a_ + +## Decision Log + +- Decision: Use OpenSpec plan workspace as source of truth for this planning cycle. + Rationale: Keeps planning artifacts in-repo and reviewable. + Date/Author: YYYY-MM-DD / planner + +## Outcomes & Retrospective + +Summarize outcomes, gaps, and lessons learned when a milestone or the full plan is completed. + +## Context and Orientation + +Describe relevant modules, files, constraints, and assumptions for a newcomer. Use repository-relative paths. + +## Plan of Work + +Describe the sequence of edits and deliverables in prose. Name target files and expected effects. + +## Concrete Steps + +List exact commands with working directory and short expected outcomes. + + cd /home/deadpool/Documents/codex-lb + openspec validate --specs + +## Validation and Acceptance + +State observable behavior and verification evidence required before execution handoff. + +## Idempotence and Recovery + +Document safe re-run behavior, rollback strategy, and failure recovery notes. + +## Artifacts and Notes + +Capture concise command output snippets, evidence pointers, and references. + +## Interfaces and Dependencies + +Name concrete interfaces/modules/dependencies and any required signatures/contracts. + +## Revision Note + +- YYYY-MM-DD HH:MMZ: Initial scaffold generated by `scripts/openspec/init-plan-workspace.sh`. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/prompt.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/prompt.md new file mode 100644 index 0000000..9b380b1 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/prompt.md @@ -0,0 +1,34 @@ +# planner Prompt + +You are the `planner` role for OpenSpec plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## Objective + +Complete only this role's assigned checklist and leave compact evidence for the coordinator. + +## Source of truth + +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/tasks.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/proposal.md` + +## Before edits + +1. Confirm branch/worktree with `git status --short --branch`. +2. Claim every touched file before editing: + - Prefer Colony `task_claim_file` when an active task exists. + - Otherwise run `gx locks claim --branch `. +3. Stay inside assigned files/modules; coordinate before touching shared paths. + +## Working rules + +- Update `planner/tasks.md` as each item completes. +- Record durable unresolved questions in `open-questions.md`. +- Keep handoffs short: files changed, behavior touched, verification, risks. +- Do not revert another agent's edits. + +## Cleanup + +Only the owner/finalizer lane runs `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. If blocked, append `BLOCKED:` with branch, task, blocker, next, evidence. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/proposal.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/proposal.md new file mode 100644 index 0000000..ac22497 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/proposal.md @@ -0,0 +1,15 @@ +# Proposal: planner (agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53) + +## Why + +Summarize why this role's work is required for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## What Changes + +- [ ] List the planned role-specific changes + +## Impact + +- Scope: +- Risks: +- Dependencies: diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/specs/planner/spec.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/specs/planner/spec.md new file mode 100644 index 0000000..d55d7cc --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/specs/planner/spec.md @@ -0,0 +1,10 @@ +# Capability Spec: planner + +## ADDED Requirements + +### Requirement: planner responsibilities for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +This role MUST define and deliver its scoped outputs with evidence. + +#### Scenario: Role executes assigned scope +- **WHEN** the role begins execution for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- **THEN** it follows `tasks.md` and records evidence for completion diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/tasks.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/tasks.md new file mode 100644 index 0000000..76e10c5 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/planner/tasks.md @@ -0,0 +1,33 @@ +# planner tasks + +## 1. Spec + +- [ ] 1.1 Define planning principles, decision drivers, and viable options for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- [ ] 1.2 Validate that scope, constraints, and acceptance criteria are captured in `summary.md` + +## 2. Tests + +- [ ] 2.1 Define verification approach for plan quality (traceability, testability, evidence expectations) +- [ ] 2.2 Validate OpenSpec consistency checkpoints (including `openspec validate --specs` when applicable) + +## 3. Implementation + +- [ ] 3.1 Produce the initial RALPLAN-DR plan draft +- [ ] 3.2 Integrate Architect/Critic feedback into revised plan iterations +- [ ] 3.3 Publish final planning handoff with explicit execution lanes + +## 4. Checkpoints + +- [ ] [P1] READY - Initial planning draft checkpoint + +## 5. Collaboration + +- [ ] 5.1 Owner recorded this lane before edits. +- [ ] 5.2 Record joined agents / handoffs, or mark `N/A` when solo. +- [ ] 5.3 Record unresolved plan questions in `../open-questions.md`, or mark `N/A` when none. + +## 6. Cleanup + +- [ ] 6.1 If this lane owns finalization, run `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. +- [ ] 6.2 Record PR URL + final `MERGED` state in the handoff. +- [ ] 6.3 Confirm sandbox cleanup (`git worktree list`, `git branch -a`) or append `BLOCKED:` and stop. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md new file mode 100644 index 0000000..fbdfb1f --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md @@ -0,0 +1,8 @@ +# Plan Summary: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 + +- **Mode:** ralplan +- **Status:** draft + +## Context + +Describe the planning context, constraints, and desired outcomes. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/.openspec.yaml b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/.openspec.yaml new file mode 100644 index 0000000..401c1e0 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/.openspec.yaml @@ -0,0 +1,9 @@ +schema: 1 +plan: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 +role: verifier +status: draft +artifacts: + prompt: prompt.md + proposal: proposal.md + tasks: tasks.md + spec: specs/verifier/spec.md diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/README.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/README.md new file mode 100644 index 0000000..1daa373 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/README.md @@ -0,0 +1,12 @@ +# verifier + +Role workspace for `verifier`. + +Default artifacts: +- `.openspec.yaml` +- `prompt.md` +- `proposal.md` +- `tasks.md` +- `specs//spec.md` + +Use this folder for role notes, artifacts, and status updates. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/prompt.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/prompt.md new file mode 100644 index 0000000..029f0b2 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/prompt.md @@ -0,0 +1,34 @@ +# verifier Prompt + +You are the `verifier` role for OpenSpec plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## Objective + +Complete only this role's assigned checklist and leave compact evidence for the coordinator. + +## Source of truth + +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/tasks.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/proposal.md` + +## Before edits + +1. Confirm branch/worktree with `git status --short --branch`. +2. Claim every touched file before editing: + - Prefer Colony `task_claim_file` when an active task exists. + - Otherwise run `gx locks claim --branch `. +3. Stay inside assigned files/modules; coordinate before touching shared paths. + +## Working rules + +- Update `verifier/tasks.md` as each item completes. +- Record durable unresolved questions in `open-questions.md`. +- Keep handoffs short: files changed, behavior touched, verification, risks. +- Do not revert another agent's edits. + +## Cleanup + +Only the owner/finalizer lane runs `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. If blocked, append `BLOCKED:` with branch, task, blocker, next, evidence. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/proposal.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/proposal.md new file mode 100644 index 0000000..da3a292 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/proposal.md @@ -0,0 +1,15 @@ +# Proposal: verifier (agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53) + +## Why + +Summarize why this role's work is required for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## What Changes + +- [ ] List the planned role-specific changes + +## Impact + +- Scope: +- Risks: +- Dependencies: diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/specs/verifier/spec.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/specs/verifier/spec.md new file mode 100644 index 0000000..6bfcf19 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/specs/verifier/spec.md @@ -0,0 +1,10 @@ +# Capability Spec: verifier + +## ADDED Requirements + +### Requirement: verifier responsibilities for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +This role MUST define and deliver its scoped outputs with evidence. + +#### Scenario: Role executes assigned scope +- **WHEN** the role begins execution for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- **THEN** it follows `tasks.md` and records evidence for completion diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/tasks.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/tasks.md new file mode 100644 index 0000000..16c5a4d --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/verifier/tasks.md @@ -0,0 +1,33 @@ +# verifier tasks + +## 1. Spec + +- [ ] 1.1 Define end-to-end validation matrix for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- [ ] 1.2 Validate success/failure conditions and evidence requirements + +## 2. Tests + +- [ ] 2.1 Execute verification commands and collect outputs +- [ ] 2.2 Validate idempotency/re-run behavior and error-path handling + +## 3. Implementation + +- [ ] 3.1 Verify completed work against acceptance criteria +- [ ] 3.2 Produce pass/fail findings with concrete evidence links +- [ ] 3.3 Publish final verification sign-off (or blocker report) + +## 4. Checkpoints + +- [ ] [V1] READY - Verification checkpoint + +## 5. Collaboration + +- [ ] 5.1 Owner recorded this lane before edits. +- [ ] 5.2 Record joined agents / handoffs, or mark `N/A` when solo. +- [ ] 5.3 Record unresolved plan questions in `../open-questions.md`, or mark `N/A` when none. + +## 6. Cleanup + +- [ ] 6.1 If this lane owns finalization, run `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. +- [ ] 6.2 Record PR URL + final `MERGED` state in the handoff. +- [ ] 6.3 Confirm sandbox cleanup (`git worktree list`, `git branch -a`) or append `BLOCKED:` and stop. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/.openspec.yaml b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/.openspec.yaml new file mode 100644 index 0000000..12dd90f --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/.openspec.yaml @@ -0,0 +1,9 @@ +schema: 1 +plan: agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53 +role: writer +status: draft +artifacts: + prompt: prompt.md + proposal: proposal.md + tasks: tasks.md + spec: specs/writer/spec.md diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/README.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/README.md new file mode 100644 index 0000000..757c824 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/README.md @@ -0,0 +1,12 @@ +# writer + +Role workspace for `writer`. + +Default artifacts: +- `.openspec.yaml` +- `prompt.md` +- `proposal.md` +- `tasks.md` +- `specs//spec.md` + +Use this folder for role notes, artifacts, and status updates. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/prompt.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/prompt.md new file mode 100644 index 0000000..77a116f --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/prompt.md @@ -0,0 +1,34 @@ +# writer Prompt + +You are the `writer` role for OpenSpec plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## Objective + +Complete only this role's assigned checklist and leave compact evidence for the coordinator. + +## Source of truth + +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/summary.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/checkpoints.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/open-questions.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/tasks.md` +- `openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/proposal.md` + +## Before edits + +1. Confirm branch/worktree with `git status --short --branch`. +2. Claim every touched file before editing: + - Prefer Colony `task_claim_file` when an active task exists. + - Otherwise run `gx locks claim --branch `. +3. Stay inside assigned files/modules; coordinate before touching shared paths. + +## Working rules + +- Update `writer/tasks.md` as each item completes. +- Record durable unresolved questions in `open-questions.md`. +- Keep handoffs short: files changed, behavior touched, verification, risks. +- Do not revert another agent's edits. + +## Cleanup + +Only the owner/finalizer lane runs `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. If blocked, append `BLOCKED:` with branch, task, blocker, next, evidence. diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/proposal.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/proposal.md new file mode 100644 index 0000000..1db7b6c --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/proposal.md @@ -0,0 +1,15 @@ +# Proposal: writer (agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53) + +## Why + +Summarize why this role's work is required for plan `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53`. + +## What Changes + +- [ ] List the planned role-specific changes + +## Impact + +- Scope: +- Risks: +- Dependencies: diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/specs/writer/spec.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/specs/writer/spec.md new file mode 100644 index 0000000..dee9f5b --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/specs/writer/spec.md @@ -0,0 +1,10 @@ +# Capability Spec: writer + +## ADDED Requirements + +### Requirement: writer responsibilities for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +This role MUST define and deliver its scoped outputs with evidence. + +#### Scenario: Role executes assigned scope +- **WHEN** the role begins execution for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- **THEN** it follows `tasks.md` and records evidence for completion diff --git a/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/tasks.md b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/tasks.md new file mode 100644 index 0000000..4f8e161 --- /dev/null +++ b/openspec/plan/agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53/writer/tasks.md @@ -0,0 +1,33 @@ +# writer tasks + +## 1. Spec + +- [ ] 1.1 Validate documentation scope and audience for `agent-claude-masterplan-show-fleet-entrypoint-2026-05-16-00-53` +- [ ] 1.2 Validate consistency between plan terminology and OpenSpec artifacts + +## 2. Tests + +- [ ] 2.1 Define documentation verification checklist (accuracy, completeness, command correctness) +- [ ] 2.2 Validate command/help text examples against current workflow behavior + +## 3. Implementation + +- [ ] 3.1 Update workflow docs and command guidance for approved plan behavior +- [ ] 3.2 Add or refine examples for operator usage and handoff clarity +- [ ] 3.3 Publish final docs change summary with references + +## 4. Checkpoints + +- [ ] [W1] READY - Docs update checkpoint + +## 5. Collaboration + +- [ ] 5.1 Owner recorded this lane before edits. +- [ ] 5.2 Record joined agents / handoffs, or mark `N/A` when solo. +- [ ] 5.3 Record unresolved plan questions in `../open-questions.md`, or mark `N/A` when none. + +## 6. Cleanup + +- [ ] 6.1 If this lane owns finalization, run `gx branch finish --branch --base dev --via-pr --wait-for-merge --cleanup`. +- [ ] 6.2 Record PR URL + final `MERGED` state in the handoff. +- [ ] 6.3 Confirm sandbox cleanup (`git worktree list`, `git branch -a`) or append `BLOCKED:` and stop. diff --git a/scripts/codex-fleet/show-fleet.sh b/scripts/codex-fleet/show-fleet.sh new file mode 100755 index 0000000..6411567 --- /dev/null +++ b/scripts/codex-fleet/show-fleet.sh @@ -0,0 +1,149 @@ +#!/usr/bin/env bash +# show-fleet — one-command operator entrypoint for codex-fleet. +# +# Attaches a single kitty window to a fully-wired codex-fleet tmux session, +# ensuring all dashboard panes are running their canonical binaries (not bare +# bash) and that the per-pane health window exists. Idempotent. +# +# Flags: +# --rebuild force `cargo build --release --workspace` even if binaries exist +# --no-kitty skip launching the kitty viewer (operator already has it open) +# -h, --help print usage and exit 0 +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)" +RBIN="$REPO_ROOT/rust/target/release" +SESSION="codex-fleet" +SOCKET="codex-fleet" + +REBUILD=0 +LAUNCH_KITTY=1 + +usage() { + cat <<'USAGE' +Usage: show-fleet.sh [--rebuild] [--no-kitty] [-h|--help] + +Attach a single kitty window to the running codex-fleet tmux session, ensuring +all dashboard windows have their canonical binaries running and the pane-health +window exists. Idempotent — safe to re-run. + +Flags: + --rebuild force cargo build --release --workspace even if binaries exist + --no-kitty skip the kitty viewer launch + -h, --help print this usage and exit 0 + +Requires: a codex-fleet tmux session already up on socket "-L codex-fleet". +If not present, run scripts/codex-fleet/full-bringup.sh first. +USAGE +} + +while [[ $# -gt 0 ]]; do + case "$1" in + --rebuild) REBUILD=1; shift ;; + --no-kitty) LAUNCH_KITTY=0; shift ;; + -h|--help) usage; exit 0 ;; + *) echo "show-fleet: unknown flag: $1" >&2; usage >&2; exit 2 ;; + esac +done + +log() { printf '[show-fleet] %s\n' "$*"; } + +# 1. Detect tmux session. +if ! tmux -L "$SOCKET" has-session -t "$SESSION" 2>/dev/null; then + echo "show-fleet: no codex-fleet tmux session on socket '$SOCKET'." >&2 + echo " Bring the fleet up first: bash $SCRIPT_DIR/full-bringup.sh" >&2 + exit 1 +fi + +# 2. Build rust dashboard binaries if any are missing (or --rebuild). +REQUIRED_BINS=(fleet-state fleet-plan-tree fleet-waves fleet-watcher fleet-pane-health) +needs_build=0 +if [[ "$REBUILD" -eq 1 ]]; then + needs_build=1 +else + for b in "${REQUIRED_BINS[@]}"; do + if [[ ! -x "$RBIN/$b" ]]; then + needs_build=1 + break + fi + done +fi +if [[ "$needs_build" -eq 1 ]]; then + log "building rust dashboards (cargo build --release --workspace)…" + ( cd "$REPO_ROOT/rust" && cargo build --release --workspace 2>&1 | tail -5 ) || { + echo "show-fleet: cargo build failed; see output above." >&2 + exit 1 + } +else + log "rust dashboards already built; skipping cargo build" +fi + +# 3. Walk windows 1..5 by name; respawn if still bare bash and marker not running. +respawn_if_bash() { + local window="$1" cmd="$2" marker="$3" cur pane_pid + cur="$(tmux -L "$SOCKET" display -t "$SESSION:$window" -p '#{pane_current_command}' 2>/dev/null || echo "")" + if [[ "$cur" != "bash" ]]; then + log "$window already running ($cur); skipping" + return 0 + fi + pane_pid="$(tmux -L "$SOCKET" display -t "$SESSION:$window" -p '#{pane_pid}' 2>/dev/null || echo "")" + if [[ -n "$pane_pid" ]] && pgrep -f "$marker" -P "$pane_pid" >/dev/null 2>&1; then + log "$window has $marker running under wrapper bash; skipping" + return 0 + fi + log "respawning $window → $cmd" + tmux -L "$SOCKET" respawn-pane -k -t "$SESSION:$window" "$cmd" +} + +respawn_if_bash fleet "$RBIN/fleet-state" "fleet-state" +respawn_if_bash plan "env CODEX_FLEET_PLAN_REPO_ROOT=$REPO_ROOT $RBIN/fleet-plan-tree" "fleet-plan-tree" +respawn_if_bash waves "$RBIN/fleet-waves" "fleet-waves" +respawn_if_bash review "bash -c 'while true; do bash \"$SCRIPT_DIR/review-anim.sh\" || sleep 5; done'" "review-anim.sh" +respawn_if_bash watcher "$RBIN/fleet-watcher" "fleet-watcher" + +# 4. Ensure pane-health window exists. +if ! tmux -L "$SOCKET" list-windows -t "$SESSION" -F '#{window_name}' 2>/dev/null | grep -qx 'pane-health'; then + log "creating pane-health window" + tmux -L "$SOCKET" new-window -d -t "$SESSION:" -n pane-health \ + "env CODEX_FLEET_SESSION=$SESSION CODEX_FLEET_TMUX_SOCKET=$SOCKET $RBIN/fleet-pane-health" +else + log "pane-health window already exists; skipping" +fi + +# 5. Apply iOS nav strip if helper exists (parallel lane may not have landed yet). +NAV_STRIP="$SCRIPT_DIR/lib/ios-nav-strip.sh" +if [[ -f "$NAV_STRIP" ]]; then + bash "$NAV_STRIP" "$SESSION" || true +else + log "ios-nav-strip helper missing; skipping (lane will land separately)" +fi + +# 6. Launch a single detached kitty (idempotent). +if [[ "$LAUNCH_KITTY" -eq 1 ]]; then + if pgrep -f 'kitty.*codex-fleet · full view' >/dev/null 2>&1; then + log "kitty window already open; skipping" + else + log "launching kitty viewer" + kitty --title "codex-fleet · full view" --detach -- \ + tmux -L "$SOCKET" attach -t "$SESSION" || \ + log "kitty launch failed (non-fatal; attach manually with: tmux -L $SOCKET attach -t $SESSION)" + fi +else + log "--no-kitty set; skipping kitty launch" +fi + +# 7. Window map. +cat <<'MAP' + +codex-fleet · full view + 0 overview 17 panes (codex workers + idle-claude + spare) + 1 fleet fleet-state (account/quota dashboard) + 2 plan fleet-plan-tree (active plan + sub-task progress) + 3 waves fleet-waves (animated wave viz) + 4 review review-anim (plan-review tail) + 5 watcher fleet-watcher (supervisor activity) + 6 pane-health fleet-pane-health (per-pane health rows) + +tmux: ctrl-b + <0..6> to jump · ctrl-b + n/p to cycle +MAP