spec template: list each caller of a changed public item, and read a file before a spec states its contents

Open Beginner friendly
#79 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
76/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 the implementer rule at shared/dev-team/roles/implementer.md, section 3, step 7, to avoid duplicating its gap and conflict guidance. Update the template so it states each rule once: identify workspace callers of changed public items, and base claims about file contents on reading those files in the session. Check the result with python3 scripts/build.py --check and the test commands listed in AGENTS.md; the issue says an independent review is required.

Written by the indexing model from the issue text.

Description

next

Problem

Two implementer dispatches in one session (2026-12-01) stopped as blocked. Each block came from an error in the orchestrator's spec, not in the work. Each one cost a full relaunch.

  1. A changed public item had callers outside "In scope". The spec changed a library trait method from synchronous to async (fn event(&mut self, …) -> impl Future<Output = Result<(), Self::Error>> + Send). "In scope" named the library, its tests and the one app's source file that implements the trait. It did not name that app's two integration-test files, which call the method directly. The implementer could not make the workspace compile inside the scope. It stopped correctly and reported the block. The orchestrator then added a "Round 2" section that put the two test files in scope for a mechanical change only.
  2. The spec stated what a file contained, without reading the file. A config spec said that an example config file had its live-trading tables active. In that file they were commented out. The spec's acceptance checks depended on this statement, so the implementer could not meet them as written. It stopped and reported the conflict. The orchestrator corrected the "Tests" section and launched again.

The spec template already has a rule for a statement about behavior: "write a statement about the behavior of a source, a library or an API only if you ran it" (references/spec-template.md, the paragraph before the template). It does not cover file contents or the callers of a changed item.

Proposed change

In shared/dev-team/skills/orchestrate/references/spec-template.md:

  • "In scope": when the change alters the signature or behavior of a public item (a function, trait, type or command-line interface), list each caller in the workspace, tests included. Give the command that found them, for example grep -rn '<name>' --include=*.rs, or a compile of all targets after a stub change (cargo check --workspace --all-targets for Rust). If a caller is out of scope on purpose, say so under "Out of scope".
  • Extend the existing rule about statements: a statement about the contents of a file, such as a config, a fixture or a generated file, comes from reading that file in this session. Otherwise, put the file under "Read" and let the implementer find the contents.

Make sure that the new text does not duplicate the implementer's rule for a gap or a conflict (shared/dev-team/roles/implementer.md, section 3, step 7). The implementer behaved correctly in both cases. The change is to the orchestrator's spec.

Acceptance

  • The template states both rules once.
  • 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.