Repository navigation
chore: strip process artifacts from source comments - #275
Conversation
Forty-one comments narrated the development process instead of the
code: reviewer handles used as plain words (scama x8, michaelneale x1);
PR review framing ('per the review of PR #1752', 'PR #2651 review',
'Regression (PR #1718 review)', 'Review blocker (PR #1719)', 'see PR
#1011 review', 'the review concern', 'the double-submit bug in the
--republish review', 'the exact hole from the review'); orphaned review
labels ('symmetric half of the blocker', 'review defect D1', 'review
defect D10' with dangling .omo/plans pointers x2, 'Finding A' x3,
'Gap A/B' x3); citations to an untracked planning document ('plan task
12, 8.7/8.11' x4, 'Task 11's OpenAI observer'); time-bound plan-progress
clauses ('#2112 workstream 5's last step', 'workstream 5' locator x2);
change-history narration ('#2260 moved it', 'Promoted out of the
environment', thirteen 'used to'/'previously' past-bug framings); and
seven test names prefixed review_ with nothing review-specific in their
bodies (prefix dropped).
Every reword keeps the constraint, failure mode, measurement, and
number the attribution carried: the NaN-calibration refusals,
bounded-normalization contract, 4096x128 measured shape, C-reproduced
ryg_rans goldens with both SHA-256s, forged-total CDF seeding refusal,
install-id/first-run independence, sidecar-cache mtime/ctime
regression, same-ref re-pointing rule, in-flight republish skip,
stale-buffer reset on model load, single-bounded-deadline stall
rationale, O_NONBLOCK shared-description failure,
wall-clock-vs-per-request rate rationale with the 0.15/~8% history,
slots=16 VRAM math with the find_slot/HTTP 502 effect, Windows
job-object wait hang, out-of-range-id C-ABI throw, lane-index wedge,
zero-cap rejection, reporter ring design constraints, SWA-width
fallback crash mode, native-MTP accept-and-skip contract, native-
context OOM headroom math, graph-reuse counter visibility, and the
evidence-marker overclaim failure all survive verbatim or tightened to
present tense.
Kept deliberately: the repo's issue-citation convention (~85 sites) -
(#1650 first slice), (#1652), (#1750 format), (#2218) frame budgets,
(#1538) Windows socket constraints, (#2112)/(#1581)/(#1037)/(#1935)
measurement provenance with the numbers in-comment, mesh-llm#1166,
issue #1162 TODOs, #3067, #2232 pre-migration golden provenance - and
all payload data (fix#123 fixture, pilot.jianyang.cloud hostnames,
'maintainer' login, HF pull-request API docs). Ordinary-English 'used
to'/'previously' ('used to bound', 'previously submitted') kept as-is.
Left for a separate pass: process narration in docs/** prose,
llama_cpp/patches/** (editing patch content breaks the queue), and
generated skippy-ffi bindings. The repo skill
.agents/skills/process-artifact-scan/SKILL.md documents the scan;
this commit's additions to it (untracked) record the orphaned-label,
plan-doc-citation, and workstream families the first sweep missed.
Diff is comment-only plus the seven test-name identifier renames
(verified mechanically via git diff -U0; zero other non-comment lines).
cargo fmt --check clean; cargo check clean on all eleven touched
crates; renamed anthropic_contract suite passes 18/18; doc tests
pass. Two fresh-eyes adversarial review rounds run; every finding
fixed.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
i386
left a comment
There was a problem hiding this comment.
🤖 Reviewed at b55fc22. Verdict: behavior-neutral as claimed — approve-ready once CI lands green at this head.
Verified mechanically, against the merge base 1f3b033 (the branch predates main's #265/#270 llama-upgrade landings; the PR merges cleanly):
- Stripping all comments from every changed file and diffing base against head leaves exactly two kinds of delta: comment rewordings (dropping reviewer handles, "Finding A"/"Gap B"/"per the review" and plan-task references) and the seven declared
review_renames inanthropic_contract.rs. 25 of the 32 files are byte-identical after comment-stripping — no hidden code changes anywhere. - Zero references to the old test names anywhere on main outside the renamed file, so the renames can't break callers or string-matched inventories.
- Scope exclusions stated in the description (docs prose, patch queue, generated bindings) hold.
One scope observation, not a merge blocker: main moved after this branch was cut (the llama-upgrade machinery and the b12843 LoRA/expert-scaling fix landed), so comments introduced by those commits are outside this sweep. A rebase onto current main before merge would let the same pass cover them.
CI note: both fork runs sat unapproved since open; approved at this head, lanes in flight.
chore: strip process artifacts from source comments
Original problem
Source comments across 32 files still described how the code came to be — reviewer handles, PR-review notes, labels pointing at planning docs that aren't in the repo — instead of what the code does. Seven tests also carried a
review_prefix that names nothing in the API.Fix
I reworded the comments to present tense and dropped the
review_prefix from the seven test names. Every constraint and number survives (theryg_ransgoldens with both SHA-256s, the slots=16 → find_slot → HTTP 502 chain), as do the ~85 site issue citations and payload strings. docs/** prose, thellama_cpppatch queue, and generated bindings are deliberately out of scope. No behavior change: the diff is comments plus the seven renames, verified line by line.Validation
cargo fmt --all -- --check: clean.cargo checkon all eleven touched crates: clean.anthropic_contractsuite 18/18; doc tests pass.Acceptance criteria