Repository navigation
Description
Summary
A lightweight Project Management Protocols (PMP) QEP: the platform-independent layer of how QuantEcon runs a project — what a project is and what its records are, where each record lives, the .qe/ folder that holds a repository's share of them, how decisions are recorded and reverted, and the acceptance test every record must pass (a fresh agent, given only the records, can resume the work). It states protocols, not procedures: the qe skills keep the procedures, and QEP-6 becomes the PMP's GitHub binding — the document that maps the protocol's concepts onto issue types, sub-issue edges, list position, blocked-by edges, milestones and the issue body. It takes the next free number, QEP-7, when its draft PR opens; that PR follows this issue. Elements of the programme tier discussed on #24 may be incorporated here rather than in a separate QEP.
Motivation
Three documents carry pieces of this today, with no single home: the .dev/ notes convention (specified in QuantEcon.manual#103 and piloted in one repository), the "convention" section of the qe workplan skill (which already says it becomes a pointer once a QEP lands), and QEP-6's body rules.
A review of the trackers the skills produce (2026-09-21; eleven registered trackers measured live; the full review is filed in the projects vault, QuantEcon/projects) found that the readability problem is not the tracker format but where the narrative goes. The current-state section is being used as the revision log: the four largest tracker bodies run 1,700–2,300 words, with the status section a quarter to all of the body, on trackers with few or no comments. The same repositories keep a second current-state register in a notes file, which drifts from the tracker. And phases have no carrier on a cross-repository tracker: 4 of 49 registered trackers use a milestone. Each fix is a protocol — state not story, one register per fact, a named home per record — and none is GitHub-specific.
Why now: the .qe/ decisions were taken on 2026-09-21 (below); QEP-6's comment window opens on the collector's first month of data; the pilot repository is migrating; and a QEP is the durable home QEP-1 prescribes for a convention that crosses repositories and changes how the team works.
Why does this need a QEP?
Both
Proposed change (optional)
Layering. PMP = protocols: what a project is; the registers and their homes; the .qe/ folder; decision records; the lifecycle acceptance test; a bindings section. QEP-6 = the GitHub binding: issue types, sub-issue edges, list position, blocked-by, milestones, the stamp's form and the body rules, adoption mechanics. qe skills = procedures: verbs, mechanics, budgets, lint, digest. Consumer contracts (the projects dashboard's tracker contract, the registry) stay where they are, citing QEP-6. The test for each sentence: names a GitHub feature → QEP-6; says how a skill does something → the skill; otherwise → PMP. Moving off GitHub would then confine the rewrite to one binding document and the tooling; the protocol survives unchanged.
Decisions already taken (2026-09-21, @mmcky), to be written into the draft:
- One folder,
.qe/, holds everything QuantEcon-specific about how a repository is worked, so retiring, archiving or open-sourcing the overlay is one decision about one directory. Flat at the root:README.md(the contract),project.yml(declared: tracker, registry slug, programme),NEXT-STEPS.md(curated: the reading order across trackers and the gates between them), andROADMAP.md,DIGEST.md,snapshot.json(generated by the skills, marked as generated, never hand-edited).dev/is the only sub-folder. dev/is the.dev/convention moved in unchanged and scoped to the repository it sits in: raw entries (log/,decisions/) append-only; distilled pages (STATE.md,PLAN.md,ARCHITECTURE.md,FUTURE.md) rewritten in place; a periodic distillation pass promotes upward — todocs/, a QEP, or the vault. Aproject-*orworkspace-*repository is a notes repository by construction and keeps its own layout.- No scratch folder in the tree: nothing under
.qe/is git-ignored; working files live outside the repository. - Decision records are a dated record of reasoning, not a rule: context / decision / consequences / refs, filed in the PR that makes the decision, never edited, superseded by a new record with a note at the top of the old one; an optional revisit when line; an index of current positions maintained by the distillation pass. Plan-level decision points stay
Decisionissues (QEP-6); cross-repository decisions are QEPs. - The state register states where the project stands now and never how it got there; history goes to the revision-log comment and the log.
Open for this discussion: whether STATE.md survives in a repository that has a registered tracker (the generated digest may replace it); whether the programme tier (#24) is defined here or in its own QEP; and the name — Project Management Protocols is proposed because the document states interfaces, not procedures.
Related: #15 (the discussion QEP-6 came from; its 2026-08-23 ruling kept practice in the skills, and this proposal keeps that split — protocols here, procedures there); #18 (QEP-6, Draft); #24 (the Programme discussion); QuantEcon.manual#103 (the .dev/ spec this would supersede); QuantEcon/skills#63 (the workplan family tracker, where the mechanics land).
Activity
QEP-7: Project Management Protocols (Draft)
dev: .dev/ becomes .qe/dev/ — one QuantEcon folder per repository, no…
dev: .dev/ becomes .qe/dev/ — one QuantEcon folder per repository, no…
dev: declare both trackers in .qe/project.yml; NEXT-STEPS.md as a table
quantecon-services commentedon Oct 6, 2026
Field notes from the pilot (QuantEcon/action-translation), 2026-10-06
A session today ran the protocol end to end on the pilot repository:
Project, two sub-issues, a stamp, aNext:line);.qe/records in dev: 2026-10-05 codebase review — logs, hardening tracker #349, NEXT-STEPS.md, project.yml action-translation#350;Below is what held up, then seven places where the draft was silent or strained. Section references are to the draft in #40.
What held
issue_type: Projectwas confirmed by reading the issue back.Where the draft was silent or strained
project.ymlassumes one project per repository, whileNEXT-STEPS.mdalready assumes more. §4.1 defines NEXT-STEPS.md for a repository with more than one tracker, but Appendix A givesproject.ymla singletracker/registry/programme. The pilot now hosts two projects, one parked and one active, and the file had no way to declare the second. The pilot switched to a list:Suggestion: allow the list form, and keep the scalar keys as shorthand for the one-project case. Say that list order carries no meaning, since reading order belongs to NEXT-STEPS.md. The released
qeskills (0.10.0) do not read the file yet, so the change is cheap now and costly later.NEXT-STEPS.mdis listed as written by people, but the session that creates the second tracker is the one that knows the file is needed. Here the agent drafted it, and it arrives for approval in the PR. Suggestion: the lifecycle table should say it is drafted by tooling when a second tracker appears and approved by people in review. Decision records already split the work that way.A single
verified:date onSTATE.mdcannot express a partial update. §2 says claims are verified when written. A session that changes three bullets cannot truthfully re-stamp the whole page. The pilot kept the old date and dated its additions inline. Two dates on one page give a weaker signal than either alone. This bears on QEP idea: Project Management Protocols (PMP) — the platform-free layer above QEP-6 #39's open question of whetherSTATE.mdsurvives beside a registered tracker. The stamp problem disappears if it does not survive, or if the page is limited to undated orientation and the resume checklist.A review's routing table has no named home. A review or audit may produce findings that mostly belong to other projects' work items. A later reader then needs one record that answers "where did finding X go". The pilot put that record in the session log and pointed to it from the tracker's Source section. That worked, but §2's register table has no row for it. Either name it as a history-register artefact that the tracker must point to, or say explicitly that its home is the log.
Records that must stay private. §4.7 keeps unpatched-vulnerability specifics out of
.qe/. Trackers and sub-issues in public repositories are public too, and the protocol does not say how such an item relates to a project. Suggestion:.qe/points to it until the advisory is published.The acceptance test (§3) fails while the records sit on a branch. The tracker was created immediately, but its
.qe/records (the logs, NEXT-STEPS.md, project.yml) existed only on an unmerged PR. A fresh agent givenmainand the tracker cannot resume until that PR merges. The pilot said so in the tracker's "Needs a person" line. Worth one sentence in the draft: create the tracker and open the records PR in the same sitting, and name the pending PR in the state section until it merges.For QEP-6 (the binding): some producer surfaces cannot write the native carriers. The agent surface used here could create issues, set types, add and order sub-issues, and comment. It could not create milestones or blocked-by edges. QEP-6 says a phase gate with no edges behind it is prose, so a producer that cannot write edges needs a fallback. For example: record the intended edges in the revision-log comment for a person to apply, and treat the gate as pending until they exist. It did not matter here, because the project had no phases and no gates.
Generated by Claude Code
dev: 2026-10-05 codebase review — logs, hardening tracker #349, NEXT-…
mmcky commentedon Oct 9, 2026
Cross-reference for point 1 of the 2026-10-06 field notes above (
project.ymlassumes one project per repository). The same question was raised earlier from the dashboard repository, in this 2026-09-21 comment on QuantEcon/qeps#40, which has four trackers. That comment leaned toward one primary tracker inproject.yml, withNEXT-STEPS.mdcarrying the reading order across the rest. The pilot has since gone the other way and lists both of its projects (projects:in QuantEcon/action-translation's.qe/project.yml, approved by the maintainer on 2026-10-09). So the draft now has one real instance of each shape to choose between.mmcky commentedon Nov 20, 2026
Closing as not planned. The QEP-6 draft (#44) replaces both this idea and the earlier QEP-7 draft (#40) with one document, and records why a platform-neutral protocol with a separate GitHub binding was rejected: it defined every concept twice, and there is no plan to change platform. If #44 is not accepted in that form, this can be reopened.