spec template: a fix-up round updates the PR body

Open Beginner friendly
#80 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
markdown, python

Research direction

Read shared/dev-team/skills/orchestrate/references/spec-template.md and inspect the “For a fix-up round” section, then check the permission defaults in references/cross-host.md as the issue directs. Update the template and defaults so a fix-up spec covers updating only its named PR body, including the round and checks; if no PR-edit command exists, the body goes beside the report destination. Run python3 scripts/build.py --check and the tests named in AGENTS.md; arrange the required independent review.

Written by the indexing model from the issue text.

Description

next

Problem

The fix-up section of the spec template (references/spec-template.md, "For a fix-up round") lists only the PR, the findings and the items not to change. It does not say whether the implementer updates the PR body after the fix. The orchestrator wrote the permissions of each fix-up spec by hand, and they were not the same each time:

  • One fix-up spec allowed the project's PR-edit command (<project PR script> --edit <N> <body.md>) and told the implementer to keep the rest of the body. The implementer updated the body.
  • Two later fix-up specs in the same session (2026-12-01) allowed only read-only tracker API calls. Each implementer wrote an updated body file. The first wrote it to a temporary directory outside the scratchpad that the spec named. Each reported "PR body update awaits the main session". The orchestrator then compared the file with the live body and applied it by hand.

The PR body is the record of the review rounds: what each fix changed, and the tests that fail without it. If the body is not updated, the owner can merge a PR whose body describes an earlier head.

Proposed change

In shared/dev-team/skills/orchestrate/references/spec-template.md, "For a fix-up round", add one item: the implementer updates the PR body for the fix. It adds the round (the finding, the fix and the test that fails without it), updates the checks to the new head, and keeps the rest of the body. It uses the project's PR-edit command. If the project gives none, it writes the body to the report destination's directory and states this in the report.

Then check the related permission defaults in references/cross-host.md (grep -n 'Default Codex permissions' -A20 cross-host.md). An implementer that may open a PR may also need to edit that PR's body. Make sure that the defaults allow this for the PR that the spec names only.

Acceptance

  • The fix-up section names the PR-body update. A fix-up spec made from the template needs no hand-written permission for it.
  • Run python3 scripts/build.py --check and the test commands of AGENTS.md. This change needs an independent review (AGENTS.md).
Dominant language
Python
Stars
0
Forks
0
Avg merge
29m
Merged PRs (30d)
57

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from j3ko/agent-plugins

All issues in j3ko/agent-plugins

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.