Skip to content

dev: .dev/ becomes .qe/dev/ — one QuantEcon folder per repository, no scratch in the tree - #314

Merged
mmcky merged 3 commits into
mainfrom
claude/affectionate-galileo-u6dfrx
Sep 23, 2026
Merged

mmcky merged 3 commits into
mainfrom
claude/affectionate-galileo-u6dfrx

Conversation

@quantecon-services

@quantecon-services quantecon-services commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

The pilot's notes convention moves inside .qe/, the repository's QuantEcon folder, per the rulings of 2026-09-21 now drafted as QEP-7 (QuantEcon/qeps#40, from the discussion at QuantEcon/qeps#39). This repository stays the pilot; it is the first field test of the draft's folder.

What changes

  • git mv .dev .qe/dev — the convention itself is unchanged inside dev/. Raw entries under log/ and decisions/ are unedited and keep their historical .dev/ mentions; the living pages (STATE.md, PLAN.md, FUTURE.md, ARCHITECTURE.md) and the moved README.md are updated for the new location and describe dev/ as a distillation record: raw append-only, distilled pages rewritten in place, a tidy pass that promotes upward, scoped to this repository only.
  • .qe/README.md — the folder's contract (each root file's writer and lifecycle, the boundary test, the public-content rule) — and .qe/project.yml (tracker Work plan — 2026-08-10 backlog review: all 67 open issues triaged, fix-status verified against v0.25.0 (supersedes #94, #198) #257, registry slug engine-v027, programme translation), which the qe workplan skills read first when they look for the tracker.
  • scratch/ is removed with its .gitkeep and .gitignore lines: nothing under .qe/ is git-ignored; working files live outside the tree. The gh and commit-message conventions in AGENTS.md write to a temporary directory instead.
  • Pointers updated in AGENTS.md (the project-notes section now also states the one-register rule: the tracker holds the state, STATE.md keeps to orientation and the resume checklist), .github/workflows/ci.yml (.qe/**), check-dev-refs.mjs (scans .qe/), the repo-local skill, and the code comments and reports that cite decision records.
  • Two decision records filed — D-2026-09-21-notes-move-to-qe-dev and D-2026-09-21-no-scratch-in-tree — and the two 2026-07-05 records carry the supersession note at the top, which is the one edit the convention permits. A session log entry records the move.
  • dist-action/index.js rebuilt: the only source change is four comment lines in src/language-config.ts that cite decision records by path, and the bundle carries comments.

Not in this PR

STATE.md is untrimmed. Its In flight section restates tracker #257, and the two disagree on W1's target release (v0.30.0 against v0.28.0); bringing it to the new rule is the next tidy pass, not this move, and the log entry says so.

Checks

npm run lint clean at --max-warnings 0; npm test: 67 suites, 1,584 tests passed; npm run build rebuilt the bundle (8 changed lines, all comments); npm run check-dev-refs: 168 references resolve. No CHANGELOG entry: nothing user-visible changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01X9svovk2iK73syYQ82Fj3J


Generated by Claude Code

Update 2026-09-23 — merged with main

main merged in (350d030, 11 commits: v0.29.1–v0.29.3 and #330). Directory-rename detection moved the six .dev/ files main had added since the branch point into .qe/dev/. Resolved: .qe/dev/STATE.md takes #330's re-verified page (so the Not in this PR note above is settled — the page is trimmed and W1 reads v0.30.0 in both places), with the #314 bullet turned into a Recently-landed entry for the move; src/language-config.ts takes main's ml rules with the four decision-record path comments on .qe/dev/decisions/; dist-action/index.js rebuilt (differs from main only by those comments).

One semantic fix carried through: rate-check.sh (#323, merged after this branch) wrote its logs to .dev/scratch/rate-check/, which would recreate an in-tree scratch folder that is no longer git-ignored. Its logs now go to ${TMPDIR:-/tmp}/action-translation-rate-check/<stamp>/, per D-2026-09-21-no-scratch-in-tree.

npm test 1590/1590, lint and format:check clean, check-dev-refs: 168 .qe/ references resolve.

… scratch in the tree

The notes convention moves inside .qe/, the repository's QuantEcon folder, flat at
the root: README.md (the folder's contract), project.yml (tracker #257, registry
slug engine-v027, programme translation) and dev/ as the only sub-folder. dev/ runs
as a distillation record — log/ and decisions/ raw and append-only, the four pages
rewritten in place — and is scoped to this repository. scratch/ is removed: nothing
under .qe/ is git-ignored; working files live outside the tree.

Pointers updated in AGENTS.md, .gitignore, check-dev-refs.mjs, ci.yml, the living
notes and the code comments and reports that cite decision records. Raw entries keep
their historical .dev/ mentions unedited. Two decision records filed
(D-2026-09-21-notes-move-to-qe-dev, D-2026-09-21-no-scratch-in-tree); the two
2026-07-05 records carry the supersession note. Discussion: QuantEcon/qeps#39.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X9svovk2iK73syYQ82Fj3J
mmcky added a commit that referenced this pull request Sep 21, 2026
 refreshed, draft #314 noted

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
mmcky added a commit that referenced this pull request Sep 21, 2026
* chore: release v0.29.1

Patch: the Malayalam editor's round-3 answers (#315) — ml rules 27 → 28,
glossary v0.7.0; corrects the -ഉം comma rule v0.29.0 shipped. No source
change in this commit; dist-action/ rebuilds byte-identical.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* dev: STATE.md verified 2026-09-21 — downstream workflow PRs merged, #289 refreshed, draft #314 noted

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
@mmcky
mmcky marked this pull request as ready for review September 23, 2026 03:41
Copilot AI lite review requested due to automatic review settings September 23, 2026 03:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The changes are a consistent repository-structure migration with only minor documentation wording nits identified.

Review effort: Lite
Findings: 2 Low severity

Open (2)
What changed in this PR

This PR relocates the repository’s QuantEcon project-management overlay from .dev/ to .qe/dev/, formalizing .qe/ as the single “QuantEcon folder” per repo (notes, decisions, logs, and declared project facts) and removing any in-repo scratch location.

Changes:

  • Move/rename the notes convention to .qe/dev/ and update cross-references across docs, experiments, reports, scripts, and skill docs.
  • Add .qe/README.md (folder contract) and .qe/project.yml (tracker/registry/programme declared facts).
  • Remove in-tree scratch expectations (update .gitignore, AGENTS.md, and reference-check tooling/CI wiring).
File Description
src/​language-config.ts Update decision-record path references from .dev/ to .qe/dev/.
scripts/​glossary/​lib.mjs Update decision-record path reference from .dev/ to .qe/dev/.
REVIEW-FABLE5-2026-07-15.md Update .dev/ links and references to .qe/dev/.
experiments/​thinking-sonnet5/​REPORT.md Update decision-record path reference to .qe/dev/.
experiments/​thinking-sonnet5/​PLAN.md Update decision-record link target to .qe/dev/decisions/.
experiments/​ml-benchmark/​REPORT.md Update .dev/FUTURE.md reference to .qe/dev/FUTURE.md.
experiments/​ml-benchmark/​DISPOSITIONS.md Update .dev/decisions/ reference to .qe/dev/decisions/.
experiments/​fr-glossary-programming/​REPORT.md Update decision-record path reference to .qe/dev/.
docs/​projects/​README.md Update ARCHITECTURE link to new .qe/dev/ location.
dist-action/​index.js Rebuilt bundle to carry updated comment references for .qe/dev/ paths.
check-dev-refs.mjs Switch reference scan root from .dev/ to .qe/; remove scratch carve-out.
AGENTS.md Update notes location to .qe/dev/ and replace in-repo scratch guidance with external temp-dir guidance.
.qe/​README.md Add .qe/ contract describing purpose, boundary test, and lifecycle rules.
.qe/​project.yml Add declared project facts (tracker, registry slug, programme) for qe skills.
.qe/​dev/​STATE.md Update log-path reference and .qe/dev/ wording.
.qe/​dev/​README.md New dev/ notes README under .qe/ describing layout, lifecycle, and rules.
.qe/​dev/​PLAN.md Update .dev/ references to .qe/dev/ and related pointers.
.qe/​dev/​log/​2026-09-21-qe-migration.md Add log entry documenting .dev→.qe/dev migration and scratch removal.
.qe/​dev/​log/​2026-09-18-ml-round3.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-09-14-jb2-sync-fallout.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-09-03-ml-round2-answers.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-08-11-w0-sfix-batch.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-08-11-w0-closeout.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-08-11-init-trailing-newline.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-08-11-116-trailing-newline.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-08-10-issues-to-file.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-08-10-issue-review-workplan.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-08-05-writeconfig-merge.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-08-05-engine-ref.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-08-04-v0250-release.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-26-210-deletion-review.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-26-192-resync-trust-gate.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-wave1-complete.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-k-docs-truth.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-j-dead-input.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-i-dead-code.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-h-fail-closed.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-g-retry-usage.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-f-cheap-correctness.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-e-contracts.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-d-canonical-workflow.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-c-failure-optional.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-b-init-parity.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-24-pr-a-guardrails.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-16-dupcomment.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-15-f5rev.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-14-state-refresh.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​log/​2026-07-05-65a4.md Add session log under new .qe/dev/log/ location.
.qe/​dev/​FUTURE.md Move FUTURE doc under .qe/dev/.
.qe/​dev/​ARCHITECTURE.md Move ARCHITECTURE doc under .qe/dev/.
.qe/​dev/​decisions/​D-2026-09-21-notes-move-to-qe-dev.md New decision record for .dev→.qe/dev relocation.
.qe/​dev/​decisions/​D-2026-09-21-no-scratch-in-tree.md New decision record removing in-tree scratch convention.
.qe/​dev/​decisions/​D-2026-09-18-ml-further-reading-lists-stay-english.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-09-03-ml-all-exercise-content-stays-english.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-09-01-ml-exercise-statements-stay-english.md Move decision record under .qe/dev/decisions/ (with supersession note).
.qe/​dev/​decisions/​D-2026-08-17-ml-math-heavy-sections-stay-english.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-08-11-bot-identity-machine-user.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-08-10-sync-does-not-first-translate.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-08-10-partial-sync-pr-ships-annotated.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-07-26-resync-trust-gate-association-set.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-07-24-tech-debt-audit-boundaries.md Move decision record under .qe/dev/decisions/ and update internal references.
.qe/​dev/​decisions/​D-2026-07-16-single-review-comment.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-07-15-sonnet5-validated.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-07-14-thinking-off-sonnet5.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-07-14-opus-for-bulk-seed.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-07-05-scratch-moves-to-dev-scratch.md Annotate old decision with supersession note and relocate under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-07-05-adopt-dev-notes-convention.md Annotate old decision with amendment note and relocate under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-06-01-malayalam-keep-english-policy.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-04-01-rebase-on-merge.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-03-06-cli-rename-translate.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-03-05-whole-file-backward-eval.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-03-04-ink-over-rich-cli.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2026-03-01-heading-maps-in-frontmatter.md Move decision record under .qe/dev/decisions/.
.qe/​dev/​decisions/​D-2025-10-01-accept-llm-translation-improvements.md Move decision record under .qe/dev/decisions/.
.gitignore Remove .dev/scratch ignores; document “no scratch in tree” rule and keep legacy ignores.
.github/​workflows/​ci.yml Update CI ignore path from .dev/** to .qe/**; rename check step to “.qe references”.
.dev/​README.md Remove old .dev/ README (notes now live under .qe/dev/).
.dev/​scratch/​.gitkeep Remove legacy .dev/scratch placeholder as scratch is no longer in-tree.
.claude/​skills/​glossary-review/​SKILL.md Update skill documentation to point to .qe/dev/decisions/ instead of .dev/decisions/.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ci.yml Outdated
Comment thread check-dev-refs.mjs Outdated
mmcky and others added 2 commits September 23, 2026 19:48
Directory-rename detection moved the six .dev/ files main added since the
branch point (two decision records, three log entries, the #319 arm
references) into .qe/dev/. Conflicts resolved:

- .qe/dev/STATE.md: main's re-verified page (#330), with its one .dev/
  path mention updated and the #314 In-flight bullet replaced by a
  Recently-landed entry for the move itself.
- src/language-config.ts: main's ml rules (#315/#317) with the four
  decision-record path comments pointed at .qe/dev/decisions/.
- dist-action/index.js: rebuilt; differs from main only by those comments.

Also carried through: rate-check.sh (#323, merged after this branch) wrote
its logs to .dev/scratch/rate-check/, which would recreate an in-tree
scratch folder that is no longer git-ignored. Logs now go to
${TMPDIR:-/tmp}/action-translation-rate-check/<stamp>/ per
D-2026-09-21-no-scratch-in-tree; its README line updated to match.

npm test 1590/1590, lint and format:check clean, check-dev-refs: 168 .qe/
references resolve.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…eference

Reword the two comments that said .qe-only PRs never need the reference
check: source changes are what usually invalidate a .qe/ reference, but a
notes-only PR can still add a broken or mistyped one, so run
`npm run check-dev-refs` before merging one. Raised by Copilot review.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mmcky
mmcky merged commit 1e6936f into main Sep 23, 2026
1 check passed
@mmcky
mmcky deleted the claude/affectionate-galileo-u6dfrx branch September 23, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants