Repository navigation
QEP-6: Project Trackers and Working Records (Draft, piloted on one project) - #44
quantecon-services wants to merge 17 commits into
Conversation
One document replacing the earlier QEP-6 draft (#18) and the QEP-7 draft (#40). A project is one tracker issue whose sub-issues are its plan; a repository keeps no records folder on its default branch; session handover is a file on the work branch only. Carries its amendments to QEP-2 until acceptance. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01HvzxXkdgHcp56CAjt3hy1Q
…llout tracker Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
The Adoption section is removed in 8a252eb, following the rule QEP-1 v4 (#45) introduces: a QEP has no Adoption section, what binds is in the Proposal, and rollout lives in a tracker. Its other items already restate the Proposal (new trackers follow the shapes, one assignee, tooling conforms). Four transition safeguards from it are recorded here so they reach the rollout tracker when it is opened at acceptance:
|
…oints - Handover: the file never reaches the default branch and a check enforces it; how the check is built is left to each repository. - The three shapes in the appendix carry extraction markers. - Alternatives: two records-folder entries merged, the Phase half of one dropped. - The sentence extending QEP-5's disclosure line to agent comments is removed, and QEP-5 leaves the Related list. - The planning-values rule states its reason instead of describing the registry. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…t that may carry a handover Co-Authored-By: Claude Fable 5.2 <[email protected]>
Opens the Summary into three points, defines working records and project health where they first appear, splits several dense paragraphs into short ones and lists, replaces a few terse phrases with plain ones, and adds one filled-in Project body as an example. No rule is added or removed. Co-Authored-By: Claude Fable 5.2 <[email protected]>
A slimmed copy of one project answered every question on what is next, who must act and what must never be done, and lost only reasons. So: - a rule states its reason beside it, and AGENTS.md stands alone; - Not doing becomes a list, each entry with its reason; - every word count is removed. A body holds what its shape allows, and tooling warns on content that has a home elsewhere, never on length. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Evidence: a test on one real project, 2026-11-20Two tests were run on QuantEcon/cli, read-only, to see what the draft's single-home approach keeps and loses. They are recorded here because the working files are in scratch. Test 1: can a reader pick the project up from a slimmed copy?Method. Two copies of the project were made. The full copy had everything: the trackers as they are (1,300 to 1,800 words each), and the
The control matched all 30. The slim copy matched 24, with 1 partial, 5 lost and none wrong, from about 67,000 words of markdown against 107,000. Reading. Every lost answer was a reason, not a rule. In the real repository, Limits. One run, one repository, and the most process-heavy one. Test 2: do word guidelines fit real issues?Measured across the organisation: all 78 Projects, 72 Decisions and 547 Tasks, and 20
Length tracks narrative, not need: the longer half of Project bodies carry about 21 dates and 12 "merged" or "closed" words each, against 6 and 2.5 in the shorter half, and Tasks show the same pattern (about 6 dates against 1). What changed in the draft as a result
A fifth safeguard for the rolloutBefore a decision record is deleted, its reason is lifted into the rule it supports, or into a comment at the code. This joins the four safeguards in the earlier comment on this PR. Assisted-by: Claude Code (Claude Fable 5.2) |
…open choices From a survey of every typed issue in the organisation (547 Tasks, 78 Projects, 72 Decisions). Three types are enough; four patterns in use are added: - a Task is one outcome and may take several pull requests, listed as steps; - a sub-issue of a project is a work item whatever its type; - a Decision that more than one project waits on may sit under a front door; - a choice nothing waits on yet may be an open choice written in a task. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Evidence: a survey of every typed issue, 2026-11-20The question was whether
Nothing needed a fourth type. The deepest structure in use is front door, project, phase, task. Phases already exist as 18 Tasks with sub-issues of their own. Four patterns were in use that the draft did not describe, and are now added.
Two draft rules that practice does not yet follow. Only 10 of 72 Decisions have an assignee, though 30 block another issue. 15 sub-issues are closed as not planned and still listed. Left alone. 23 issues are titled as handovers, where the draft uses a file on the work branch or a comment. Two trackers are standing "upkeep" work that never finishes. Both are for the pilot to look at. Assisted-by: Claude Code (Claude Fable 5.2) |
…ecks First finding of the pilot: the Malayalam edition tracker had about 400 words on the order of its work and how a round runs, which belong in the written plan, and the Project shape had no line to point there. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…ases From two independent reviews against a snapshot of every typed issue. Parallel work: every unblocked item is ready and ready items run at once; list order is priority, not a queue; an assignee or an open linked pull request marks an item taken; overlapping files rebase, and wait only where a rebase cannot merge them; steps run in order; one session works a branch at a time. Phases: most projects need none. Where a list is too long to read as a plan, a phase is a Task holding its items. Only a phase has sub-issues, phases are not described in the tracker body or by milestones, and a dependency on a phase holds everything under it. Co-Authored-By: Claude Fable 5.2 <[email protected]>
… its task Co-Authored-By: Claude Fable 5.2 <[email protected]>
Evidence: two independent reviews, 2026-11-20Two fresh reviewers each read the draft and a snapshot of every typed issue, with one question apiece. How does a project run work in parallel?Finding. The draft did not forbid parallel work, but never said it was allowed and defined "next" as one item. Practice is parallel.
The mechanisms teams use today for parallel work, such as a claim by draft pull request and a list of files each step owns, were written in the plan files the draft removes. Changes made. Every unblocked item is ready and ready items run at once; list order is priority, not a queue; an assignee or an open linked pull request marks an item taken; overlapping files rebase, and wait only where a rebase cannot merge them; steps run in order; one session works a branch at a time. How should a project use phases?Finding. Of 61 open trackers, 29 describe phases in the body, 20 with the same Phase, Intent, Exit criterion table, and 1 builds them as tasks with sub-issues. The tables sit over short lists: a median of 4 phases over about 14 sub-issues. A table never says which items a phase holds, and in the largest tracker the phases are not contiguous in the list. Gates between phases turn out to be item to item in practice. Changes made. Most projects need no phases. Where a list is too long to read as a plan, a phase is a Known consequences. By the reviewer's count about 6 trackers need phase tasks and 14 would drop their table. Seven existing tasks have sub-issues without being phases. Assisted-by: Claude Code (Claude Fable 5.2) |
…ssue (#55) Two small editorial changes. ## QEP-7 recorded as Withdrawn Adds `qeps/qep-0007-project-management-protocols.md`, a record of about 120 words: what the QEP proposed, that it was withdrawn on 2026-11-17 before a decision, why, and where its useful parts went. The full draft and its review are in #40, which was closed without merging. This matches how QEP-4 was recorded in #54. QEP-1 says a withdrawn QEP is merged so that the record is durable. CI will stamp `version: 0` and add the row to the index at merge. The record links to the QEP-6 draft as a pull request (#44), not as a file, because QEP-6 is not accepted and has no file on `main`. ## One stale line in `AGENTS.md` *Drafting a new QEP* cited "QEP-1 v3; the stamp change is tracked in #22" for the rule that CI stamps `version: 0`. That issue is closed, and the rule is simply QEP-1's. It now cites *QEP-1 § Versioning*. Assisted-by: Claude Code (Claude Fable 5.2) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5.2 <[email protected]>
From the field report in QuantEcon/project-qep7 (research/2026-11-20-qep6-pilot-cli). - A wait usually holds one step: it is written in the step, and a dependency is used only where everything left in the task waits. Links are task-grained. - A step's pull request names the task and step in its title, with no closing keyword. A step carries its own check and may name the files it may touch. A choice found while working is listed in the pull request. - Needs becomes Needs from a person; a tracker may link to its registry entry. - The handover is the pull request's description where one exists, and a file on the branch otherwise. - A definition needed to obey a rule lives in AGENTS.md; docs/ may describe what is being built; which rules a repository keeps is its owner's to decide. - Done-when carries every check; a front door has a shape; no relates-to link; a reason is never reconstructed; a parked item leaves the list; work a project's goal needs is tracked by that project. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…ay live in .qe/ AGENTS.md keeps the rules that apply whatever the task, and a table of what to read before each kind of work. A rule for one kind of work lives in one linked document and binds as if it were in AGENTS.md. Tested on a copy of QuantEcon/cli: a 1,435-word file with ten linked documents did as well as the 5,250-word file, 18 of 18 situations right in each of three sessions. .qe/ on a default branch may hold configuration a tool reads about the repository. It never holds plans, state, logs, decision records or a cache. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Evidence: does a short
|
| Full copy | Slim copy | |
|---|---|---|
AGENTS.md |
5,250 words | 1,435 words |
| Holds | Everything | The introduction, the eight hard lines, a "read before you act" table, what to do when a rule does not fit, commands and where things are |
| Other rules | In the same file | Ten documents under docs/agents/, one for each kind of work, 4,315 words |
Every rule was moved word for word, so the test measures only where a rule lives. A writer who saw only the full copy wrote 18 work situations, each with one right action under the rules and one tempting wrong one, naming no rule or file. Four tested rules that stay in AGENTS.md in both copies; fourteen tested rules the slim copy only links to. Three fresh sessions answered: one with the full copy and two with the slim copy. Each was told AGENTS.md is what its harness loads, and to read anything else only as it judged necessary. A grader saw only the key and the answers.
Result.
| Full copy | Slim, run 1 | Slim, run 2 | |
|---|---|---|---|
| Right | 18 | 18 | 18 |
| Incomplete, violation or wrong | 0 | 0 | 0 |
| Linked rule documents opened | not applicable | 10 of 10 | 10 of 10 |
| Situations answered from a linked document | none | 12 | 12 |
What it shows. A rule moved out of AGENTS.md is still found and followed when the file says, by action, when to read it.
What it does not show. All three sessions scored full marks, so the test could not separate the two copies. A session answering situations looks things up more carefully than one in the middle of real work. Nobody has yet worked under a short file.
Found along the way. Moving text word for word broke one sentence that said "at the end of this file". Both slim sessions noticed. A linked document has to make sense on its own.
Change to the draft. AGENTS.md holds only the rules that apply whatever the task, and says by action what to read before each kind of work. A rule for one kind of work lives in one linked document and binds as if it were in AGENTS.md. This reverses two sentences added from the pilot's field report, which had moved definitions into the file.
Assisted-by: Claude Code (Claude Fable 5.2)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
…erns Co-Authored-By: Claude Fable 5.2 <[email protected]>
…s projects fit The owner could plan from the two rewritten cli trackers, and could not tell from them what each project achieves for the wider tool. The goal now has two halves: the outcome, then what depends on it. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Pilot record: QuantEcon/cli, 2026-11-20, and the pilot that comes nextFor reference while this draft is reviewed. The full field report, with 38 numbered lessons, is in QuantEcon/project-qep7 under What the pilot didThe draft was applied to one real project in one day. Every change was approved by the owner before it was made.
The test suite gave the same result before and after the repository change: 3,094 passed. Results against the pilot's checks
What held up
What the pilot changed in this draft
Smaller fixes: a front door has a shape; GitHub has no relates-to link; a reason is taken from its source and never reconstructed; a parked item leaves the list. Two later decisions also came out of the pilot. Limits of this pilotOne repository, the most process-heavy one in the organisation, and one day. An agent stood in for a person in the first planning check. The step the two sessions worked is unfinished. Nobody has yet worked under these rules for longer than a session. The pilot that comes nextQuantEcon/project-qep7#31: phases, on QuantEcon/project-monorepo#7.
Also in hand, outside the pilots: the short Assisted-by: Claude Code (Claude Fable 5.2) |
Status: Draft. Piloted on one project, QuantEcon/cli, on 2026-11-20, and updated from its field report. A second pilot, on phases, is planned before acceptance.
QEP-6 says how a project is tracked and where a repository keeps its working knowledge. It replaces two earlier drafts with one document: the earlier QEP-6 (#18, project trackers) and QEP-7 (#40, project management protocols). Both are closed; their threads remain as the record of the earlier design. The two were about 10,400 words together; this is about 4,750.
The problem
An audit on 2026-11-17 read every typed issue in the organisation and the working records of 60 repositories.
In each case the same fact was kept in two places.
What it proposes
Trackers
Project,TaskandDecision. A programme is a grouping in the projects registry, not a type.Taskholding its items. Only a phase has sub-issues, and phases are not described in the tracker body or by milestones.Decisiononly if work has to wait for it.RiskandNeeds.Working records
AGENTS.mdfor rules in force,docs/for what exists now,research/for dated evidence, the tracker for plans, theDecisionfor decisions..qe/HANDOVER.md, on the work branch only. It is overwritten each session, and a check keeps it off the default branch.AGENTS.md.AGENTS.mdstands alone.It also carries four amendments to QEP-2, applied when it lands. Each was checked against QEP-2 v2.
What it leaves out, compared with #18 and #40
.qe/records folder, session logs, tidy, and repository decision records.ProgrammeandPhasetypes and the five planning issue fields.How to read it
The Proposal is in two halves. One home for each fact through Comments covers trackers. Working records and Handover cover repositories. The appendix holds the body shapes for a Project, a front door, a Decision and a Task, which are normative and carry extraction markers for tooling, followed by one filled-in example.
It follows QEP-1 v4: there is no Adoption section, sections are cited by name, and Alternatives considered lists only options likely to be proposed again.
Evidence so far
Two tests were run on QuantEcon/cli on 2026-11-20, read-only, and every typed issue in the organisation was surveyed. The methods and full results are in comments below.
A slimmed copy of the project lost nothing operational. Of 30 questions written from the full records, a reader with only the slim copy matched 24, with 1 partial and 5 lost. All 17 on what is next, who must act and what must never be done were matched. Every lost answer was a reason.
Word guidelines did not fit real issues. Nearly half of today's Tasks (45%) are over 300 words, and four in five Decisions are over 200. Length tracks dated narrative, not need.
Three types are enough, with four patterns added. Of 547 Tasks, 78 Projects and 72 Decisions, nothing needed a fourth type. The survey did find tasks with steps, untyped work items (38% of project sub-issues), decisions above a project, and choices written in a task before anything waits on them.
The changes that followed: a rule states its reason beside it and
AGENTS.mdstands alone; "Not doing" is a list with a reason for each entry; every word count is removed in favour of a warning on content; a task may have steps; any sub-issue is a work item; aDecisionmay sit under a programme front door; and an open choice may be written in a task.The pilot on QuantEcon/cli
Run on 2026-11-20 under QuantEcon/project-qep7#23. Its field report, with 38 lessons, is in
research/2026-11-20-qep6-pilot-cli/in QuantEcon/project-qep7.What was done. Both project trackers and the front door were rewritten. The repository's records folder was removed and
AGENTS.mdrewritten so that each rule states its reason, with the test suite unchanged at 3,094 passing. Two fresh sessions then picked up and resumed a real step from the tracker,AGENTS.mdand the handover alone, and both stopped at the correct human gate.What held up. Short trackers, the removal of narrative, reasons beside rules, and resuming from a handover. The old narrative was found contradicting itself within one body.
What the draft changed as a result
NeedsbecameNeeds from a person, after a reader took it for the list of blocked items. A tracker may link to its registry entry.docs/may describe what is being built where it names the task that builds it.AGENTS.mdholds only what every session needs. The pilot first moved more into the file; a later test reversed that. See below.A follow-up test on
AGENTS.md. After the pilot,cli's 5,250-wordAGENTS.mdwas split in a copy: the eight hard lines and a "read before you act" table stayed, at 1,435 words, and each activity's rules moved word for word to one of ten linked documents. Three fresh sessions were given 18 work situations: one with the full file and two with the short one. All three got all 18 right, and the short-file sessions cited a linked document for 12 of them. So the draft now saysAGENTS.mdholds only the rules that apply whatever the task, and says by action when to read each linked document.Configuration in
.qe/. The draft now allows.qe/on a default branch to hold configuration a tool reads about the repository, each tool in a folder of its own,.qe/{tool}/, and nothing else.Not yet shown. A short
AGENTS.mdin real work, where a session is less careful about looking things up than in a test; the owner's own judgement on whether he can plan from the rewritten trackers; anyone working under the rules for longer than a session; and phases, which are the second pilot (QuantEcon/project-qep7#31).Consequences to expect
AGENTS.mdwould not conform. The draft asks for rules in force, each with its reason, and no history; ours cites past incidents..qe/records folder, session logs) would change.Before acceptance
The QEP checks pass.
Assisted-by: Claude Code (Claude Fable 5.2)
🤖 Generated with Claude Code