Skip to content

refactor(naming): generalize the execution vocabulary (qa-loops, SDE, executing, Executor Worker) - #70

Merged
SSFSKIM merged 3 commits into
mainfrom
worktree-naming-generalization
Aug 18, 2026
Merged

SSFSKIM merged 3 commits into
mainfrom
worktree-naming-generalization

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Aug 18, 2026

Copy link
Copy Markdown
Owner

What

Repo-wide naming generalization so the vocabulary carries execution (not just implementation) semantics:

  • Skill renames: reviewing-prs → qa-loops; subagent-driven-development → subagent-driven-execution (SDD → SDE); implementing → executing
  • Worker roles: {Architect, Executor, Reviewer} Worker — Implementer → Executor throughout; protocol titles now "Executor Worker Protocol" / "Reviewer Worker Protocol"
  • Plan vocabulary: implementation plan → execution plan (writing-plans template header, brainstorming/organizing-sprints exits, SDE prompts)
  • Renamed files: implementer-prompt.md → executor-prompt.md, implement-dispatch.sh → execute-dispatch.sh, sdd-workspace → sde-workspace (workspace dir .doperpowers/sdd/ → .doperpowers/sde/), test dirs/files to match

Deliberately NOT renamed (live state)

Strings that live outside this repo keep their legacy spellings, each with an in-place note explaining why:

  • GitHub board labels: status:ready-for-implementer, ready-for-architect — live boards (ida-solution) depend on them
  • Dispatch role literals IMPLEMENT/SPIKE/ARCHITECT, lane literal implement, env vars IMPLEMENT_MODEL/IMPLEMENT_MAX_CONCURRENT/… — persisted in daemon registries and adopter cron configs
  • Historical artifacts: dated docs/doperpowers/{plans,specs,research}, tests/review-bench/results/, tests/codex-companion/ fixtures (they quote old review text verbatim)

Consumer migration (ida-solution etc.)

Adopter-side paths that hard-code the old skill dirs need a one-time update after the next marketplace sync:

  • cron / pr-review-dispatch.yml: skills/reviewing-prs/scripts/review-dispatch.sh → skills/qa-loops/scripts/review-dispatch.sh
  • issue-dispatch.yml: skills/implementing/scripts/implement-dispatch.sh → skills/executing/scripts/execute-dispatch.sh
  • In-flight SDE runs: an old .doperpowers/sdd/<plan>/ ledger won't be found at the new sde/ path (fresh workspace on next run)

Verification

All green: tests/executing/test-protocol-content.sh, tests/executing/test-execute-dispatch.sh, tests/qa-loops/ (all four suites), tests/issue-tracker/test-board-scripts.sh, scripts/lint-shell.sh. Vendored PLANS.md files verified untouched. Version bumped to 7.53.0 via scripts/bump-version.sh.

- reviewing-prs -> qa-loops; subagent-driven-development -> subagent-driven-execution (SDE); implementing -> executing
- roles: Architect / Executor / Reviewer Worker (Implementer -> Executor)
- implementation plan -> execution plan throughout living surfaces
- live-state strings kept as legacy spellings (status:ready-for-implementer label, IMPLEMENT dispatch role literal, IMPLEMENT_* env vars, lane literals), each with an in-place note
- historical docs (dated plans/specs/research), review-bench results, and codex-companion fixtures left as written

@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

Here are some automated review suggestions for this pull request.

Reviewed commit: a583285b1e

ℹ️ 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".

while [ "$(_api_registry_count implementer,spike)" -lt "$CAP" ]; do
rc=0; _claim_one implementer "$CAP" || rc=$?
while [ "$(_api_registry_count executor,spike)" -lt "$CAP" ]; do
rc=0; _claim_one executor "$CAP" || rc=$?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep the persisted API lane name

For repositories using the API board binding, this now sends executor to /runs/claim, but the repository's recorded API contract defines the lane as implementer (docs/doperpowers/plans/2026-08-09-a2-board-adapter.md:32) and says the external API contract takes precedence. Existing Arkho deployments will therefore reject or return no work for this claim, preventing every execution ticket from dispatching; retain the persisted implementer literal unless the server contract is migrated first.

Useful? React with 👍 / 👎.

assert_file_not_contains "$PROMPT" "ARM64-FACT" "prompt carries no inlined repo-facts (the worker reads the manifest from its worktree)"
assert_file_not_contains "$PROMPT" "EXECUTION (gate passed)" "prompt carries no execution block (the doctrine lives in the protocol)"
assert_file_contains "$PROMPT" "implementing/SKILL.md" "implement lane opens the SKILL protocol"
assert_file_contains "$PROMPT" "implementing/SKILL.md" "execution lane opens the SKILL protocol"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update the renamed protocol-path assertion

Running tests/executing/test-execute-dispatch.sh immediately records a failure here because the rendered prompt correctly contains executing/SKILL.md, while this assertion still requires the deleted implementing/SKILL.md. The suite consequently cannot finish green even when dispatch behavior is correct, so update the expected path to the renamed skill.

Useful? React with 👍 / 👎.

Ticket Gate re-runs at ORIENT — the triage worker's judgment is a
recommendation, never inherited trust), and the resulting PR is reviewed by
`reviewing-prs`. *(The v1 direct-fix path — a second `workspace-write` turn
`qa-loops`. *(The v1 direct-fix path — a second `workspace-write` turn

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Finish renaming the downstream execution skill references

This paragraph was only half migrated: lines 24 and 192 still direct agents to the backticked implementing skill/dispatch loop, and references/setup.md retains the same pipeline name, even though that skill directory was deleted in favor of executing. When the triage workflow hands work downstream, an agent following these explicit skill references can no longer load the named skill; replace the remaining references with executing.

Useful? React with 👍 / 👎.

…st expectation (review findings)

The execution-vocabulary rename overreached into live-state strings and
underreached on two stale skill references.

- execute-dispatch.sh: revert the claim-lane literal to `implementer`
  (CLAIM_LANES and the implement/spike claim loop). The A1 board server's
  claim contract pins the string, on-disk claim journals carry it, and
  daemon names are `<ticket>-api-<lane>` — a renamed literal broke claims
  and excluded existing journals from reconciliation. Comment prose about
  the role stays "executor".
- board-api tests: same revert for every lane value, daemon name and
  claim argument that is wire or persisted-state data; test descriptions
  and comments stay "executor".
- tests/executing/test-execute-dispatch.sh: expect `executing/SKILL.md`,
  the protocol's actual path (the assertion had been failing).
- triaging-feedback SKILL.md + references/setup.md, issue-tracker
  SKILL.md: point at the `executing` skill instead of the removed
  `implementing` one.
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