Repository navigation
Closed
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
Parent
Ticket CC1 of spec #1815 (Infra). Size: M.
What to build
The comments contract and its checker, before any cut. The contract states what stays (the spec's list, carried from Lauren Tan's /no-comments in our own words, crediting it), the meaning-first rule, the escape tag with its required reason, what counts as a comment in each language our repositories use, what is excluded from counts, and the BEFORE and AFTER count report. The checker (standard-library Python, one file, no dependencies) has a diff mode for CI, which reads only added lines, and a count mode. Read pstack's no-comments skill and its subagent on GitHub first (MIT); copy no text word for word.
Owned paths
contracts/comments.v1.mdcontracts/comments.v1.schema.json(the count report)contracts/fixtures/comments/tools/comment-check/(the checker and its tests)
Relies on: nothing
Links
none
Acceptance criteria
- Each allowed kind passes and each disallowed kind fails with its file and line, in every listed language
- The escape tag passes only with a non-empty reason
- The diff mode fails only on added lines; the count mode matches a fixture tree's known count
- The credit to pstack (Lauren Tan, MIT) is in the contract
- Off limits: never edit a file in an open pull request of a 0.1.0 must-list ticket before RL1 (0.1.0 RL1: OpenWiz 0.1.0 ships before Demo Day: branch, changelog, gates and publish #1671) records the release branch cut, a file owned by an open cleanup wave 3 ticket (Infra spec: Cleanup wave 3: the kernel, drivers, CLI and app, nothing else #1774), or the private repository's frozen copy. Read the lists at start and at each merge of main; the pull request lists what it skipped.
- Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test
catches: <the bug>, orno new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first. - Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.
Proof
P1: the checker's fixtures, red first.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 20, 2026
launch-fleet: start checked, branch room/1816-comments-contract
collision checked by the J87 planner: disjoint from #1187's paths; its unreadable bullet is WizSkills-only
jparker2006 commentedon Nov 20, 2026
agent: builder
state: done
harness: claude-code
model: claude-opus-5-5
skills: build-ticket@0.2.0
step: Handed back PR #1842 at 502b1f3: main merged in, all comment-check proofs pass.
time: 2026-11-20T15:42:47Z
pr: #1842
#1816: green: the contract says only CC6 to CC12 cut comments, CC2 wi…
#1816: red: one regression case per review finding R1 to R11
#1816: green: fix review findings R1 to R11 (Unicode Rust, per-file p…
#1816: green: main merged in, all comment-check proofs pass
jparker2006 commentedon Nov 20, 2026
launch-fleet: cost unknown (PR #1842): no cost command
jparker2006 commentedon Nov 20, 2026
launch-fleet: archived