Skip to content

Infra CC8: WizSite comment cut and its CI check #1823

Closed
openwizdev/WizSite
#117

Description

@jparker2006

Parent

Ticket CC8 of spec #1815 (Infra). Size: M. In openwizdev/WizSite.

What to build

Cut WizSite's comments (the site, the app, its functions, scripts and tests; never vendor/), carry the checker and wire it into CI. No visible change.

Owned paths

  • every file in openwizdev/WizSite except vendor/ (comments, and the names, checks and tests that replace them)
  • app/data.js and app/index.html in openwizdev/WizSite (shared with 0.1.1 MD6: the app's Models page and its Change button #1808: only comment lines)
  • tools/comment-check/, contracts/comments.v1.md in openwizdev/WizSite (byte-identical copies)
  • .github/workflows/ in openwizdev/WizSite (shared: one comment-check step)

Relies on: contracts/comments.v1.md

Links

Acceptance criteria

  • The repository carries a byte-identical copy of the checker and the contract, and CI runs the checker's diff mode on every pull request
  • A red-first test shows CI failing a pull request that adds a disallowed comment, and passing one with a reasoned escape tag
  • BEFORE and AFTER comment-line counts for the ticket's area, by the checker's count mode, in the pull request
  • Only the contract's allowed kinds remain; each comment that carried meaning became a check, a test or a clearer name first (red first), listed in the pull request
  • The area's tests and CI stay green; no behaviour changes
  • 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

P2, P3 and P4 for WizSite, with phone and laptop screenshots showing no visible change.

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

    Cleanup wave 4 (spec #1860) deletes files in this repository at the same time: recorded evidence, fixtures, dead tests and tools. A file it deletes leaves this ticket's scope; whichever pull request merges second fixes any conflict. No arrow between the two specs (shared files only).

  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1823-comment-cut

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

  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: Claude Code
    model: Opus 5.5
    skills: build-ticket@0.2.0
    step: Handed back green at ec32f93 with RL2's files cut and the slot markers replaced
    time: 2026-11-21T20:04:56Z
    pr: openwizdev/WizSite#117

  7. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder question (CC8): WizSite's privacy check refuses the byte-identical copies.

    Found: npm run check fails at scripts/check.py's privacy check (check_privacy, DENYLIST marker closedwiz) on both copies from CC1's 502b1f32:

    • contracts/comments.v1.md lines 7 and 31 (the Authority pointer and the pointer example)
    • tools/comment-check/check.py line 32 (the POINTER pattern)

    The copies must stay byte-identical, and scripts/check.py is a protected guard that is also in the open pull request of RL2 (#1674, WizSite #46), so it is off limits to me until RL1 (#1671) records the release branch cut.

    Options:

    1. (my pick) After RL1's cut, scripts/check.py's privacy check exempts exactly these two paths from the DENYLIST only while their bytes match a pinned sha256 of OpenWiz's copies (a change to either copy makes the check fail until the pin moves with it). It is one supporting edit to a protected guard, so it needs your approval.
    2. A new OpenWiz ticket changes the contract and checker so that they never spell the private repository's name (for example, building the pattern from parts). Every repository's copies follow it.
    3. WizSite carries only the checker and leaves out the contract. This still fails on check.py line 32, so it needs 1 or 2 as well.

    Until I have an answer I am cutting the comments and wiring the CI step on room/1823-comment-cut. I hand back only once npm run check is green.

  8. added
    needs-info
    on Nov 20, 2026
  9. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

    The WizSite privacy-check question in the comment above (the byte-identical comment-check copies and the protected scripts/check.py) went to the orchestrator.

  10. added
    held
    and removed
    ready-for-agent
    on Nov 20, 2026
  11. 3 remaining items

  12. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Orchestrator ruling (CC8): option 2, and it already exists as CC14 #1953. No exemption goes into WizSite's protected privacy guard, pinned or not. The contract and checker stop spelling the private repository's name (CC14), and WizSite then carries those bytes unchanged. CC8 keeps cutting comments and wiring the CI step now, and hands back once CC14 has merged and npm run check is green with the new copies. The fleet links CC8 as blocked by #1953 and removes the needs-info hold.

  13. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: review started a8e6ab3026878c28d00be29868ec7d88393cbd52

    openwizdev/WizSite#117 at its green hand-back head (CC14 re-sync), other-family reviewer, under plan revision 7 (7044991606). Merges only after 0.1.0's publish.

  14. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #1959

    contracts/comments.v1.md and tools/comment-check/ changed on main in PR #1959 (CC14 #1953); the CC8 builder was told at 17:47Z and re-synced byte for byte (WizSite #117 at a8e6ab3).

  15. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    Builder question (CC8): may the RL2 follow-up change scripts/check.py's slot constants?

    After RL2 (WizSite #46) merges, #117 will cut the 5 build markers (<!-- footer.html -->, <!-- faq.html -->, <!-- faq.html h1 --> in drivers/, faq/ and team/index.html). They are none of the contract's allowed kinds. The plan:

    • Replace each marker with a plain element the build swaps out, such as <template data-slot="footer"></template>.
    • Change the matching strings in build.mjs and in scripts/check.py's FOOTER_SLOT and FAQ_SLOTS constants. Nothing else in scripts/check.py changes, including its privacy check (DENYLIST, check_privacy).
    • The built pages stay byte-identical, which npm run check's exact-export comparison proves.

    Options:

    1. (my pick) Allow this edit to the two slot constants as part of Infra EB3: builder self-review and the CF4 hand-back gate #117. They are build wiring, not a guard.
    2. Treat scripts/check.py as a protected guard. The markers then stay, and AFTER is 5 lines of the comment kind, listed as a gap.
  16. added
    needs-info
    on Nov 21, 2026
  17. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    Planner ruling, 2026-11-21: changing only the two slot constants in WizSite's scripts/check.py, so the five build markers become plain elements, is allowed. It is not a protected-guard edit. Those constants are build wiring: they say where the footer and FAQ are inserted, not what the check refuses. Nothing else in check.py changes, the privacy check included, and the reviewer confirms that the file's diff is exactly those constants plus their tests. The needs-info here is answered.

  18. removed
    needs-info
    on Nov 21, 2026
  19. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    agent: fleet
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: launch-fleet@0.3.0
    step: settled needs-info
    time: 2026-11-21T01:41:08Z

  20. added
    needs-info
    and removed
    needs-info
    on Nov 21, 2026
  21. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: granted spec change on #1815: J87 planner ruling: after RL2 (WizSite #46) merges, CC8 cuts comment lines only in scripts/check.py and scripts/test_check.py, keeping every RL2 code line exactly and the 13 DENYLIST and privacy-check warning comments. The only non-comment change in those files is FOOTER_SLOT and FAQ_SLOTS plus their tests (already allowed, 7055308425). The reviewer confirms the diff there is comment-only outside those constants.

  22. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: merged ec32f93e35824bb59ef11c524d6d3565960cdf2f

    openwizdev/WizSite#117 merged by the cross-repo route, pinned with sha= (merge ba3d5ca). APPROVE 7068746693 at this exact head from the recorded reviewer; required checks green at this head (Build, links, resources and privacy; Cloudflare Pages); mergeable and clean; RL2 (WizSite #46) merged 19:55:44Z; no open CHANGES (OpenWiz #2207 is non-blocking polish). Plan approval 7044991606. Counts: 969 -> 6 comment lines from the original base, 0 disallowed.

  23. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

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

  24. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

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