Repository navigation
QEP-7: Project Management Protocols (Draft) - #40
quantecon-services wants to merge 7 commits into
Conversation
The platform-independent layer above QEP-6: the tiers and terms, the records a project keeps and the single home of each, the .qe/ folder, decision records and how one is changed, the resume acceptance test, and what a platform binding must provide. QEP-6 is named as the GitHub binding. Discussion: #39. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X9svovk2iK73syYQ82Fj3J
810d8c5 to
b9c1485
Compare
…ot, report-only lint, computed digest, the .qe/ folder, state-not-story Three deterministic scripts under scripts/workplan/: tracker_snapshot.py (a tracker and its direct sub-issues in plan order through the REST API only — GraphQL returns 403 from Claude Code sessions — with types, roles, milestones, phase markers and open blocked-by edges; --json/--out .qe/snapshot.json), tracker_lint.py (report-only: the checks QEP-6's Adoption clause names for a lint plus the skills' readability budgets) and tracker_digest.py (the one-screen digest computed from structure, to stdout or .qe/DIGEST.md, never into a body). tracker-snapshot.sh becomes a shim. Skill text: read runs the lint and, with --digest or the digest verb, prints the digest; resume and update rewrite the stamp section to state, not story, moving the dated narrative to the revision-log comment; discovery reads .qe/project.yml first; workplan-roadmap writes .qe/ROADMAP.md with a generated-by marker; workplan-project offers .qe/project.yml after filing. The convention section points at QEP-7 (draft, QuantEcon/qeps#40) for the records and at QEP-6 for the GitHub carriers. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X9svovk2iK73syYQ82Fj3J
|
A question from the first repository to adopt Generated by Claude Code |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The new QEP uses numeric section references (e.g., “§2”) contrary to the repo’s documented convention to cite sections by heading name, which should be corrected throughout before merge.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
Adds a new draft proposal QEP-7: Project Management Protocols, defining platform-independent project management concepts (tiers/terms, registers and their canonical “homes”, .qe/ directory structure, decision records, and binding requirements) and positioning QEP-6 as the GitHub binding.
Changes:
- Introduces QEP-7 as a new Draft QEP with frontmatter and standard header table.
- Defines the protocol layer (records/registers, acceptance test,
.qe/layout, decision record format). - Specifies binding requirements and maps the GitHub binding to QEP-6 at a high level.
| File | Description |
|---|---|
| qeps/qep-0007-project-management-protocols.md | New Draft QEP defining platform-independent project-management protocols and .qe/ record layout, with QEP-6 as the GitHub binding. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| 3. A **project** is a definition of done, the work items and decision points that | ||
| serve it in plan order, and the records of §2. Progress is measured over its direct | ||
| work items and never compared across a change of membership. |
|
Field report from QuantEcon/cli, 2026-10-07: separate a session's history from what it hands over. QuantEcon/cli runs Until 2026-10-06 such a run put everything into one session log: what it did, and what it needed from a person (rulings, record changes to approve, merges). The lead found those asks hard to find and act on: state written into history, where nothing marks which asks are still open or how each was settled. It is the "state, not story" failure in reverse. On 2026-10-07 the lead ruled to split the two. A run does all it can through pull requests and records that in its session log, which is history. It then checks what it could not do itself, and only if something remains (record changes, project or issue settings, rulings) does it write a separate hand-off log, in a pull request of its own that requests the lead's review. That pull request stays open until a local session, which can write records, has settled each item with the lead or moved it into the state register, and has appended an outcome to the log; then it merges. Suggestion for QEP-7: name the hand-off. When a session cannot write the state register, its asks go on a carrier separate from its history, and the next session that can write state settles each one or moves it into the state register, while the history register records which. Under QEP-6 the natural carrier is a pull request: the one object such a session can create, so the open hand-off pull requests are the inbox and a merge means settled. One gap remains: § The acceptance test lists the tracker, its history and the The first instance, which predates the split and carries both halves in one log, is QuantEcon/cli#70. |
|
Field report from QuantEcon/cli, 2026-10-08: where a repository's working rules live, and how a decision record changes. QuantEcon/cli runs
Suggestions for QEP-7
What cli is trying, not yet proposed. QuantEcon/cli#75 makes Correction to cli's 2026-10-07 report above. Since QuantEcon/cli#71 merged, a cli cloud run, once the rulesets and read-back that QuantEcon/cli#57 S1 creates exist (they do not yet), puts its questions, rulings and record batches to the lead in its own session and applies the record changes in QuantEcon/cli that the lead approves there. So that report is out of date where it says cloud runs "may not change GitHub records" and that a hand-off carries "record changes, project or issue settings, rulings". A hand-off now carries only a task a cloud run cannot do: one outside QuantEcon/cli, or one it tried and lacked the tool or permission for. The suggestion to name the hand-off still stands for those tasks. QuantEcon/cli#70 has since been split, its history moved to QuantEcon/cli#72. |
|
Field report from QuantEcon/project-voice-training, 2026-10-11: task-scoped agent instructions, kept out of the files every session loads. QuantEcon/project-voice-training is the planning repository for the voice project, a
Suggestions for QEP-7
What we are trying, not yet proposed. "Building a step" is to move to Generated by Claude Code |
…rom the field Rewrites sections 4 to 6 and the parts of the document they touch, as ruled by @mmcky on 2026-10-28 after an audit of five `.qe/` folders and a review of what other projects do. The `.qe/` folder: one layout with no exemption by repository type; what the folder never holds (status, copies of the platform, code, counts); three lifecycles that follow from the folder a file sits in; an always-loaded index with everything else read on demand; rules an agent must follow verbatim outside the folder's prose; consumable logs with a touched-files list; hand-over between sessions through the working file and a hand-off entry; a tidy drafted as a reviewed, bounded change; and a table marking each rule as checked by the tooling or a convention. Decision records: a write-test for when a record exists; front matter the index can read; a body fixed after acceptance with links checked both ways; a rule lives in one living text and cites its record; a generated index that walks chains and hides superseded records; one register per repository. Elsewhere: the acceptance test splits into a planning test and a resumption test; the history and derived-view registers change and a working-rules register is added; declared facts retire; a binding must mark agent-authored comments; numbers live in the tooling; three rejected alternatives record what failed in the field; Adoption and both appendices follow. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HvzxXpCKAHdZNixzSJwrqJ
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HvzxXpCKAHdZNixzSJwrqJ
The state register holds reasons and asks, never next or in flight, which are derived; a resume pointer is working state in the records. A claim that cannot be verified is not written. A decision point is a choice that waits beyond a session or that someone else must make. A phase is a work item holding its leaves, with its meaning in its own body. The programme binding is QEP-6's, no longer deferred. Bindings lists every carrier QEP-6 provides and names no platform feature. A new section, Distillation and flow back, carries the one-way flow, approval of judgements, and the rule that a run with no person present writes no tracker record. The decision lifecycle changes only status, superseded-by and reason; a refined record stays accepted and the index derives the reverse link; a lapsed record has a reason. The index may be written by continuous integration and is in the layout; working files live where their change lands; retrospectives are kept. The checks tables cite rules by name and claim only what a tool reading the repository can see. Motivation figures match the 2026-09-28 review. The layout appendix, a duplicate of the section, is removed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HvzxXpCKAHdZNixzSJwrqJ
Adds item 10, *Who accepts a change*, to *The `.qe/` folder*: a change is accepted by whoever the lifecycle of what it touches requires. Consumable files merge on the check and automated review alone in a session a person runs; living pages on a second reader's recommendation; records on the decider's merge; a tidy on the owner's; a hand-off stays open until settled; a run with no person present merges nothing. Adds the matching row to the checks table and a rejected alternative, a reader's review of every change. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HvzxXpCKAHdZNixzSJwrqJ
A change touching more than one lifecycle takes the strictest; a session merges only a change that touches nothing but `log/` or `work/`; a record is accepted as *Decision records* sets out; the person running the session owns what it merges (QEP-5, *A human is in the loop*), and the same session merges an unattended run's log; a settled hand-off merges on a reader who neither wrote nor settled it; the tidy's merger is an accountable owner of a project whose plan the folder holds; an automated reviewer, where the binding names one, reports before any change merges; the sampled audit is dropped. The checks row claims only the lifecycles a change touches. *What it holds* and *Bindings* updated to match; QEP-5 added to related. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HvzxXpCKAHdZNixzSJwrqJ
Six decisions and eight mechanical fixes from the independent review of the whole draft. Retrospectives move to a fixed folder of their own; the lifecycles item is renamed and the reading-tiers item with it. Bindings adds the stable identifier, the programme lead, the update-due rule, a decision point's ruling, decider and needed-by date, and a plan home for work that keeps records but belongs to no other project; Tiers and terms carries that principle and defines tracker, session, run with no person present, accountable owner, decider, charter, leaf, edge, overlay, record and primary record. The index-and-derived-reads section folds into Records and their homes, which defines next. The two checks tables become a tag on each rule, widened to the binding's carriers. Who accepts a change is rewritten short, the person merging named in every clause. Rulings on a plan's decision points are what the folder never holds; a ruling in a change the decider merged is cited at that merge; the appendix matches Form. The Summary states the protocol; Motivation and Bindings sentences are split; platform terms, precedence clauses, the tooling's cycle, and undated claims are removed; QEP-1 and QEP-3 are cited. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01HvzxXpCKAHdZNixzSJwrqJ
|
A review of QEP-6 and QEP-7 for team discussion: GitHub planning tools: what to adopt and why It asks what our process would look like if we made full use of GitHub's own planning tools. The short answer: keep every project fact on the tracker issue, and treat GitHub Projects boards and the status dashboard as views that hold no facts of their own. What it suggests for this QEP is small, since QEP-7 names no platform:
Most of the changes fall on QEP-6 (#18) and the status dashboard. The report ends with a table of eight decisions for the team. If the link does not open for you, it has not been shared with you yet. Generated by Claude Code |
|
Closing this draft unmerged. Its subject is now covered by the new QEP-6: #44, "Project Trackers and Working Records". Number 7 is released. Why. A review on 2026-11-17 measured the working records this draft standardises: about two million words across 18 repositories, under four folder conventions, with no record ever deleted although a tidy was the stated rule. Agents were also reading records of past reasoning as rules in force. The rulings that followed take a different approach, so this draft is retired and not amended. What #44 does instead:
Closed unmerged, not merged as Withdrawn. QEP-1 merges withdrawn QEPs so the record is durable. Here the pull request itself is kept as that record, so that a rejected design is not placed on Generated by Claude Code |
…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]>

Adds QEP-7: Project Management Protocols as a Draft — the platform-independent layer above QEP-6, from the discussion on #39. It states protocols, not procedures: the
qeskills keep the procedures, and QEP-6 becomes the GitHub binding of the concepts this QEP defines.What it decides
.qe/folder: one folder per repository for everything QuantEcon-specific about how it is worked, so retiring or open-sourcing the overlay is one decision about one directory. Flat at the root (README.md,project.yml,NEXT-STEPS.md, and the generatedROADMAP.md,DIGEST.md,snapshot.json);dev/the only sub-folder — the notes record, raw entries append-only and distilled pages rewritten in place, scoped to the repository it sits in; no scratch location in the tree; public content only.project-*andworkspace-*repositories keep their own layout.Decisions already taken
The
.qe/rulings of 2026-09-21 (@mmcky) are written in as decided: one flat folder,dev/as a repository-scoped distillation record, no scratch in the tree, decision records non-binding and reversible by supersession. The open questions listed on #39 — whetherSTATE.mdsurvives beside a registered tracker, and whether the programme tier is defined here or in its own QEP — stay open in the text (§ Tiers and terms defers the latter to #24).Landing order and checks
#18 (QEP-6) lands first: this QEP's
related: [6]and Related row point at a file that is not yet onmain, whichcheck.mjsreports as the expected in-flight warning.node .github/scripts/check.mjsandcheck-labels.mjspass locally otherwise; the README index row is generated at merge. Per QEP-1 the draft is field-tested as a Draft: the pilot repository's migration to.qe/dev/and theqeskills' 0.11.0 mechanics are the first two field tests.On merge this closes #39, the discussion this QEP came out of.
🤖 Generated with Claude Code
https://claude.ai/code/session_01X9svovk2iK73syYQ82Fj3J
Generated by Claude Code