 .claude-plugin/marketplace.json              |    4 +-
 .claude-plugin/plugin.json                   |    2 +-
 .codex-plugin/plugin.json                    |    2 +-
 .masterplan.yaml                             |   21 +
 .okf/index.md                                |    2 +-
 CHANGELOG.md                                 |   35 +
 README.md                                    |  100 +-
 RELEASING.md                                 |   26 +-
 WORKLOG.md                                   |   95 ++
 agents/mp-adversarial-reviewer.md            |   14 +
 agents/mp-goal-assessor.md                   |   66 +
 agents/mp-intent-critic.md                   |  141 ++
 bin/doctor.mjs                               |   29 +-
 bin/install-pi.mjs                           |   51 +-
 bin/masterplan.mjs                           |  877 ++++++++++-
 commands/masterplan.md                       |  155 +-
 docs/design/intent-interview.md              |   91 ++
 docs/development.md                          |    4 +-
 docs/verbs.md                                |   56 +-
 lib/bundle.mjs                               |  342 +++++
 lib/config.mjs                               |  558 +++++++
 lib/context-status.mjs                       |  212 +++
 lib/continue.mjs                             |   66 +-
 lib/dispatch-wave.mjs                        |    7 +-
 lib/dispatch/routing-policy.mjs              |    3 +-
 lib/doctor/README.md                         |    5 +
 lib/doctor/codex-auth.mjs                    |    3 +-
 lib/doctor/incomplete-archive.mjs            |   40 +
 lib/doctor/legacy-archive.mjs                |   62 +
 lib/doctor/no-definition-of-done.mjs         |   35 +
 lib/doctor/pi-agent-registration.mjs         |    3 +-
 lib/doctor/required-successor.mjs            |  153 ++
 lib/doctor/resume-brief-hook.mjs             |  182 +++
 lib/doctor/routing-policy-health.mjs         |    5 +-
 lib/finish-step.mjs                          | 1995 ++++++++++++++++++++++++-
 lib/finish.mjs                               |  445 ++++++
 lib/goals.mjs                                |  437 +++++-
 lib/interview.mjs                            |  743 ++++++++++
 lib/migrate.mjs                              |   14 +
 lib/paths.mjs                                |   21 +-
 lib/plan-merge.mjs                           |   14 +
 lib/resume-brief.mjs                         |  156 ++
 lib/resume.mjs                               |   39 +-
 lib/retro-goals.mjs                          |  163 +-
 lib/runs.mjs                                 |   94 ++
 lib/seed-lock.mjs                            |  126 ++
 lib/sweep.mjs                                |   50 +-
 lib/wave-commit.mjs                          |   15 +-
 lib/wave.mjs                                 |   99 ++
 llms.txt                                     |    2 +-
 package.json                                 |    4 +-
 policy/workflow-map.json                     |   72 +-
 scripts/bootstrap-v10.mjs                    | 1611 ++++++++++++++++++++
 scripts/rehearse-v9-finish.sh                |  983 ++++++++++++
 scripts/release.mjs                          |  153 ++
 skills/masterplan/SKILL.md                   |   47 +-
 test/agents-compat.test.mjs                  |  297 ++++
 test/amend.test.mjs                          |   18 +-
 test/bin-masterplan.test.mjs                 |  428 +++++-
 test/bootstrap-driver.test.mjs               | 1549 +++++++++++++++++++
 test/bundle-events.test.mjs                  |  257 ++++
 test/bundle.test.mjs                         |   22 +-
 test/cli-surface.test.mjs                    | 1110 +++++++++++++-
 test/config.test.mjs                         |  369 +++++
 test/context-status-session-lineage.test.mjs |  312 ++++
 test/continue.test.mjs                       |  164 +-
 test/coord-writer.test.mjs                   |   18 +-
 test/deploy-commit-identity.test.mjs         | 2057 ++++++++++++++++++++++++++
 test/dispatch-wave.native.test.mjs           |   18 +-
 test/dispatch-wave.test.mjs                  |   30 +-
 test/docs-contract.test.mjs                  |   68 +
 test/doctor.test.mjs                         |  179 ++-
 test/fabric-codex-suppressed.test.mjs        |   18 +-
 test/fabric-dogfood-v1.test.mjs              |   18 +-
 test/final-check.test.mjs                    |  908 ++++++++++++
 test/finish-replay.test.mjs                  | 1287 ++++++++++++++++
 test/finish-step-goals.test.mjs              |  225 ++-
 test/finish-step.test.mjs                    |  455 +++++-
 test/finish.test.mjs                         |  164 ++
 test/fixtures/knobs/contracts.mjs            |  487 ++++++
 test/fixtures/knobs/discovery.mjs            |  163 ++
 test/goals-record-check.test.mjs             |   18 +-
 test/goals.test.mjs                          |  491 +++++-
 test/incomplete-archive.test.mjs             |   80 +
 test/install-pi.test.mjs                     |  121 +-
 test/intent-critic-prompt.test.mjs           |  107 ++
 test/intent-rejected.test.mjs                |  652 ++++++++
 test/interview-ledger-resume.test.mjs        |  790 ++++++++++
 test/knob-contract.test.mjs                  |  960 ++++++++++++
 test/knob-inventory.test.mjs                 |  526 +++++++
 test/legacy-archive.test.mjs                 |  122 ++
 test/multi-repo.test.mjs                     |   18 +-
 test/no-definition-of-done.test.mjs          |   79 +
 test/op-table-parity.test.mjs                |   72 +
 test/overlap-sequencer.test.mjs              |  686 +++++++++
 test/owner-fs.test.mjs                       |   18 +-
 test/plan-merge.test.mjs                     |   48 +
 test/prompt-structure.test.mjs               |  102 ++
 test/qctl-apply-rollback.test.mjs            |   18 +-
 test/refs.test.mjs                           |   20 +-
 test/register-pi-agents.test.mjs             |   55 +-
 test/rehearse-v9-finish.test.mjs             |  708 +++++++++
 test/reindex-plan.test.mjs                   |   18 +-
 test/release-script.test.mjs                 |  163 ++
 test/required-successor.test.mjs             |  161 ++
 test/resume-brief-hook.test.mjs              |  193 +++
 test/resume-brief.test.mjs                   |  281 ++++
 test/resume.test.mjs                         |   29 +
 test/retro-goals.test.mjs                    |  205 ++-
 test/routing-policy.test.mjs                 |   22 +-
 test/runs-list.test.mjs                      |   94 +-
 test/runs.test.mjs                           |  115 +-
 test/seed-lock.test.mjs                      |  273 ++++
 test/sweep.test.mjs                          |  116 +-
 test/task-review.test.mjs                    |   24 +-
 test/v5-orphan-grep.test.mjs                 |   18 +-
 test/v9-to-v10-bootstrap.test.mjs            | 1674 +++++++++++++++++++++
 test/verify-transport.test.mjs               |   18 +-
 test/watch-integrity.test.mjs                |   22 +-
 test/wave-commit.test.mjs                    |  106 +-
 test/wave-integrity.test.mjs                 |   18 +-
 test/wave.test.mjs                           |  407 ++++-
 test/worktree-fs.test.mjs                    |   28 +-
 123 files changed, 30670 insertions(+), 357 deletions(-)
