Skip to content

RFC program V1: read-only counts for RFC-0002 - #2238

Merged
neuromechanist merged 6 commits into
feature/rfc-programfrom
feature/rfc-V1-counts
Nov 20, 2026
Merged

neuromechanist merged 6 commits into
feature/rfc-programfrom
feature/rfc-V1-counts

Conversation

@neuromechanist

@neuromechanist neuromechanist commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Card V1 of the RFC program (.context/rfc-program/cards/V1.md). Read-only measurements from production D1 and GitHub that RFC-0002 (dataset version legibility) needs; evidence only, no code changes.

  • 1,628 version DOIs (1,014 nm, 614 on, 0 xx; 10 on private datasets).
  • 268 of 329 nm datasets have two or more versions (max 8); 24 of 589 on mirrors (max 3).
  • 544 mirror versions are N.0.0 with a recorded source_version; 81 mirrors have no upstream tag.
  • Origin classes in a 30-dataset sample (54 later versions): source 25, nemar 6, community 10, unknown 13; automated metadata commits have no linked PR.

Tested: bun run lint exits 0; the card's acceptance checks pass (non-empty evidence, diff limited to evidence/).

Part of #2240 (epic #2239).

Round 1 fix

Format only: every measurement section of v1-counts.md now has its own "Command:" line and one "Raw output:" line per raw file (worktree-root-relative paths, all non-empty), no number changed and no production read re-run. The base branch feature/rfc-program was merged into this branch, and the first deviation line now says the branch was created before the integration branch was pushed and the PR now targets it. The six-scripts deviation is accepted by the manager and the D1 44 versus status-command 43 difference stays unreconciled and is stated as such.

Round 2 fix

Review round 1 findings, all accepted; no measured number changed and no production read was re-run (one GitHub GET re-read for item 2, below).

  • 1. Section 4 commands now run as written: cd .context/rfc-program/evidence/v1/ && bun <script>.
  • 2. Section 4 documents the full ordered chain (D1 reads, public list, sample-and-fetch.ts, nopr-commits.ts, merge-message-pr-check.ts, range-prs.ts, classify.ts). The producer of q4d-merge-message-pr-check.json is now a saved script, merge-message-pr-check.ts; re-running it (two GitHub GETs) gave a file identical to the one first saved.
  • 3. All ten api-datasets-offset-N.json pages are cited (sections 1, 4 and 5); q0-datasets-cols.raw and q1f-concept-dois.raw are now cited; every file in evidence/v1 is named in v1-counts.md.
  • 4. One Command: line per raw file with the full SQL copied from each .raw file's echo, no elisions, each followed by its Raw output: line (sections 0 to 4).
  • 5. The 619 compared mirrors are marked computed (621 - 2); on007602 and on007808 are named with the q3d unchecked reason.
  • 6. The two judgments now disclose that classify.ts (lines 27 and 28 in this file) does not count a granted collaborator on a mirror as source, which B6 would; on007315 1.0.1 is the affected version, and the 3 moved versions are attributed correctly (2 owning-administrator, 1 granted collaborator).
  • 7. q1-doi-by-prefix.json renamed to .raw (wrangler output with a banner), references updated; d1-select.sh comment fixed.
  • 8. d1-select.sh computes the backend path from its own location and rejects any text after a semicolon; guard tested with a stub bunx (non-SELECT and ; DROP refused with exit 2 before wrangler, plain SELECT reaches the stub).
  • 9. The 43 vs 44 difference stays unreconciled; the lead is named (q3a shows 45 unknown rows, one not N.0.0).

@neuromechanist
neuromechanist merged commit 2d98bd9 into feature/rfc-program Nov 20, 2026
@neuromechanist
neuromechanist deleted the feature/rfc-V1-counts branch November 20, 2026 21:00
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.

1 participant