Skip to content

Infra CC10: the war room tracks comment lines per repository #1825

Closed

Description

@jparker2006

Parent

Ticket CC10 of spec #1815 (Infra). Size: S. In openwizdev/WizRoom.

What to build

The war room shows comment lines per repository over time: the collector runs the checker's count mode on each repository it already reads, and the page draws one small line per repository, going down.

Owned paths

Relies on: contracts/comments.v1.md, contracts/comments.v1.schema.json

Links

Acceptance criteria

  • The collector records each repository's comment lines from the count report, red first
  • The war room draws them per repository; missing stays missing
  • A phone and a laptop screenshot
  • 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>, or no 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

P6: the collector's test, red first, and a screenshot.

Activity

  1. added this to the Infra milestone on Nov 20, 2026
  2. added
    held
    on Nov 20, 2026
  3. added
    ready-for-agent
    and removed
    held
    on Nov 20, 2026
  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started

    F6 prepare: CC1 #1816 approved at 502b1f3 (PR #1842, queued), not merged; re-syncs after CC1 merges

  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: build-ticket@0.2.0
    step: Re-synced the carried checker to OpenWiz main fffe9a4; handed back green head bf8d46b.
    time: 2026-11-20T17:49:37Z
    pr: https://github.com/openwizdev/WizRoom/pull/33

  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder question for CC10 (scope). The two owned bullets name parts, not paths, so ticket.py scope can't resolve them and asks first. Here is how I resolved them; please confirm or correct.

    1. The collector's comment-count step and its test (shared with #1824: only these lines)

    • tools/collector/comment_count.py (new): fetch each repository's main read-only into the gather's existing bare cache, run the checker's count mode at that commit, and keep after.rev and after.comment_lines. A repository that can't be fetched or counted keeps a point with no value and a reason. Missing stays missing, never zero.
    • tools/collector/comment-check/check.py and comments.v1.schema.json (new): byte-identical copies of CC1's checker and schema at 502b1f3 (blobs 6bd30f4…, 8dbddf3…). The war room runs inside the pinned OpenWiz checkout, and only tools/collector/ and tools/war-room/ are overlaid. The current pin has no checker, so the collector carries its own copy.
    • tools/war-room/gather.py: the lines that call the step and write comments.json beside snapshot.json.
    • tools/war-room/test_gather.py: its test, plus comments={} in the shared helper so no other gather test reaches the network.

    2. The war room's comment-lines chart (new)

    • tools/war-room/charts/comment_lines.py (new): one small daily line per repository over the last seven PST days, using the latest count each day. A day with no count is drawn missing, and a failed count is drawn unavailable with its reason.
    • Wiring, these lines only: charts/build.py (a comments= input, like snapshot=); publish.py (carry comments.json on the war-room branch, append this publish's points and keep 60 days, allow it and scan it like snapshot.json); benchmarks.json (one new body figure, Fig. 25 "Comment lines per repository", on the Quality page); and their tests in test_charts.py and test_publish.py.

    Repositories counted. My pick is the public repositories of spec #1815: OpenWiz, WizSkills, WizSite and WizLoops. The gather fetches anonymously and reads no private repository, so WizRoom and the private repository's tools are left out.

    No workflow, contract or pin change. My pick: proceed as above. I'm building it now and will commit once this is confirmed.

  7. added
    needs-info
    held
    ready-for-agent
    and removed
    ready-for-agent
    held
    on Nov 20, 2026
  8. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Planner answer to CC10's scope question: confirmed as you read it, with one change to the ticket. Revision 6 of #1815 widens your second owned path to tools/war-room/ in WizRoom (shared with #1824), so the gather, publish, benchmarks and chart-build wiring lines and their tests are inside your paths, along with the new chart. tools/collector/ covers the count step and the checker and schema copies. Those copies join CC14's re-sync, so take CC14's version when it merges.

    Repositories counted: the four public ones (OpenWiz, WizSkills, WizSite, WizLoops) is right, since the gather reads anonymously. The pull request names WizRoom and the private repository's tools as not counted, with that reason. No workflow, contract or pin change, as you said. Go ahead and commit.

  9. removed
    needs-info
    on Nov 20, 2026
  10. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: review started 01012a97cb30137cb33ce31743049d86205b1754

    openwizdev/WizRoom#33 (hand check under the J87 planner's ruling on #1958). Merge waits for CC14 #1953's re-sync.

  11. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: findings sent 01012a97cb30137cb33ce31743049d86205b1754

    R1 and R2 (verdict on openwizdev/WizRoom#33, 7045372919) sent to the CC10 builder; the same reviewer re-checks the next green head. Merge still waits for CC14 #1953's re-sync.

  12. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: re-check sent be1eafed81fa73bf284e8d70d8c09480f4a23134

    openwizdev/WizRoom#33 at its green hand-back head, to the same reviewer as 01012a9. Merge waits for CC14 #1953's re-sync. Hand check under the J87 planner's ruling on #1958.

  13. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: re-check sent bf8d46bf3e38484bc46ec013947ff1df841f04bc

    openwizdev/WizRoom#33: copy-only re-check of the CC14 re-sync (be1eafe..bf8d46b) sent to the same reviewer. Merges by the cross-repo route on an APPROVE at this head.

  14. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: merged bf8d46bf3e38484bc46ec013947ff1df841f04bc

    openwizdev/WizRoom#33 merged by the cross-repo route (REST, pinned sha), merge commit d896091cf1f49313a1298672cc95fae2848402a0. APPROVE 7047050815 at this head (copy-only re-check after CC14 #1953 merged as fffe9a4); ci, privacy and preview green; mergeable clean; plan approval 7044991606. Counts: WizRoom 2,753 before and after (this ticket adds the chart, no cut).

  15. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

  16. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: cost unknown (PR openwizdev/WizRoom#33): the cost command costs only tickets in the pull request's repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions