@gurupanguji

Portable Post-Body Contract Implementation Plan

For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (- [ ]) syntax for tracking.

Goal: Resolve issue #122 by landing the approved post-body contract as the repository’s source of truth and explicitly tying the implementation boundary to the follow-up issues that will do the actual code and archive work.

Architecture: Keep this branch narrow and docs-first. The work for #122 is to publish the canonical contract, link it cleanly to the dependent issues, and verify that the issue split is explicit enough that later implementation branches can execute without re-litigating policy. Do not implement embed normalization, validation, or archive rewrites here. Those belong to #121, #124, #125, and #126.

Tech Stack: Markdown docs, GitHub issues, git, existing docs/superpowers/specs/ and docs/superpowers/plans/ conventions


Task 1: Finalize The Contract Spec

Files:

Check that the spec still matches the approved decisions exactly:

Remove or sharpen any wording that sounds like this branch will implement:

Make sure the spec points to:

Expected result: the contract doc is clearly the policy source of truth and not a hidden implementation branch.

Task 2: Write The Issue-Tie Plan In Repository Form

Files:

Spell out that #122 closes when:

List the out-of-scope implementation work and point each one to its issue:

Expected result: the repository has both the contract spec and a concrete handoff plan that preserves issue boundaries.

Task 3: Tie The GitHub Issues Together Explicitly

Files:

The comment should state that #122 is the contract issue and link:

Each child issue should say it depends on the contract defined in #122 and link the spec file path for reference.

Manual check:

Expected result: future execution can start from the child issues without reopening policy debate.

Task 4: Verify The Repository State For A Docs-Only Resolution

Files:

Run:

git diff -- docs/superpowers/specs/2026-03-27-portable-post-body-contract-design.md docs/superpowers/plans/2026-03-27-portable-post-body-contract-implementation-plan.md

Expected: only docs changes relevant to #122

Run:

git status --short

Expected: only the spec and plan docs are modified or staged for this issue

Open nearby docs in docs/superpowers/specs/ and docs/superpowers/plans/ to ensure formatting and naming stay consistent with the repo’s existing pattern.

Task 5: Commit, Push, And Open The Docs PR For #122

Files:

Run:

git add docs/superpowers/specs/2026-03-27-portable-post-body-contract-design.md docs/superpowers/plans/2026-03-27-portable-post-body-contract-implementation-plan.md

Run:

git commit -m "docs: define portable post-body contract"

Expected: commit contains only #122 docs and issue-tying updates

The PR body should:

Expected: #122 closes as the resolved contract issue, while the child issues remain the active execution queue in the prescribed order.