Skip to content

Tasks: delete the reader, re-home its eight keys, tell the harness

Derived mechanically from the locked design.md and testing-plan.md. No approval gate (issue-281) — it advances on shape alone. Each _Test:_ names a row of the testing plan.

mermaid
flowchart LR
  T1["1 · delete the reader<br/>+ adoption"] --> T2["2 · bootstrap: specDir,<br/>prefix, origin, guestLoop"]
  T2 --> T3["3 · graphlink + dispatcher"]
  T2 --> T4["4 · hooks: read_declaration<br/>from the CLI config"]
  T1 --> T5["5 · critics from the CLI config"]
  T1 --> T6["6 · scenarios/instructions flags;<br/>--spec-dir through API/SDK"]
  T4 --> T7["7 · schemas + migration"]
  T5 --> T7
  T7 --> T8["8 · configs, templates,<br/>hooks.json, mdc"]
  T8 --> T9["9 · tests"]
  T8 --> T10["10 · skill + commands"]
  T8 --> T11["11 · docs + decision-123"]
  T9 --> T12["12 · verification + evidence"]
  T10 --> T12
  T11 --> T12

Tasks

  • [x] 1 · Delete harness_config.py, the packaged default, and adoption — remove the module, harness-config.default.yaml, graphlink.adopt/_adopt/_write_default, _ADOPTING_ACTIONS, the dispatcher's two adopt calls, the scaffold in core.graphs._runtime, and the harness.config_scaffolded catalog entry. Test: T11.
  • [x] 2 · graph/bootstrap.pyDEFAULT_SPEC_DIR, load_cli_config_best_effort, resolve_spec_root; build_runtime(origin_repo=…) with guestLoop, originRepo from the argument or ghhost.origin_repo; PHASE_LABEL_PREFIX in sideeffects; _recipients from params; Runtime.start on guestLoop. Test: T6.
  • [x] 3 · graphlink.py and the dispatcher_spec_dir() from the CLI config, _build_runtime(origin_repo=…), the slug parser moved to ghhost.repo_slug. Test: T5.
  • [x] 4 · graph/extensions.py + graph/model.pyread_declaration(cli_config) on routing.graph.hooks; load_graph(declaration=…); graph hooks reports the CLI config. Test: T1, T8.
  • [x] 5 · critics.py + core/repo.py + critic_cmd.pyload_critics(config_path) from the CLI config, strictly; find_critic(name, path); messages name critics[]. Test: T2, T3, T8.
  • [x] 6 · scenarios, instructions, --spec-dircore.repo.scenarios defaults; core.repo.instructions(docs, on_missing); --doc (path or JSON) + --on-missing; --spec-dir on check/graph through core.graphs, the API bodies and the SDK. Test: T3, T4, T8.
  • [x] 7 · Schemas + migration — harness schema minus nine keys, groups rewritten; CLI schema with critics, routing.graph.hooks, no repoHooks, specDir default; packaged copies; CURRENT_CONFIG_VERSION = "0.9.0" and _retire_repo_hooks. Test: T7, T9.
  • [x] 8 · Configs, templates, existence checks — this repo's and the template harness config at 0.3.0; this repo's and the template CLI config at 0.9.0 with critics and routing.graph; collaborators text; validate_config.py; hooks.json; rules/the-loop.mdc; loops.py's origin message. Test: T9, T11.
  • [x] 9 · Tests — delete test_harness_config*.py; rewrite extensions, critics, core-repo, cli, instructions, graphlink, contribution, review, refs, loops, ghhost, drive, parity (drop P4), cleanup, channels, manifest, lifecycle tests; fixtures to 0.9.0. Test: T1–T9.
  • [x] 10 · Skill + commandsSKILL.md § Configuration; reviewing.md, automation.md, collaboration.md, workflow.md, tooling.md, instructions.md, testing.md; init.md, upgrade-the-loop.md, work-on.md, execute-tasks.md, create-ticket.md and the <phaseLabelPrefix> commands. Test: T11 (markdownlint).
  • [x] 11 · Docs + decisiondocs/config/harness-config.md, docs/config/index.md, critics-options.md, routing-options.md, migrate-config.md, command pages, hooks.md, concepts.md, CLI index, capabilities with history rows, decision-123, decision-044 superseded, the audit's outcome note, cli/README.md. Test: T9 (docs parity), T11.
  • [x] 13 · The second review: the policy blocks — drop autonomy, security, tdd, minimalism, tokenEconomy, selfImprovement, contextManagement, userInteraction, externalTools from the schema (and their $defs), the template and this repo's config; rewrite the onboarding groups; state each rule in its reference file; fix every command, docstring, capability doc and config page that named a key; test_writing_parity without the schema read. Test: T9, T11.
  • [x] 14 · The third review: inferred facts and the review policy — drop repository, tooling, hooks, observability from the harness schema, template and config; reviews to the CLI schema/config/template; load_review_policy, core.repo.review_policy, critic policy, the API route in the authored contract, SDK and MCP; /init and onboarding.md without the inferred groups; reference/tooling.md's detection as the per-session procedure; every reference in the skill, commands and docs. Test: T2, T3, T9, T11.
  • [x] 15 · The fourth review: the doc trees — drop workflow from the harness schema, template and config; the literal paths in the skill, commands, templates and docs; routing.graph.specDir described as the departure from the convention; /init and upgrade-the-loop accordingly. Test: T9, T11.
  • [x] 12 · Verification + evidencemake check; the grep; evidence/verification.md and evidence/security-review.md; execution log; PR body. Test: all.

Released under the MIT License.