Skip to content

Infra WRD4: Private HTML war room and section links #877

Closed

Description

@jparker2006

Parent

Ticket WRD4 of infra spec #626. Proposed revision 4; no version milestone. This ticket stays unlabelled until the orchestrator records graph approval.

What to build

Serve the actual current war room HTML at a private openwiz.dev address behind Jake's existing Cloudflare login, with top section links and the existing hourly publication cadence. Keep the renderer public, the operational data and published artifacts on ClosedWiz's private war-room branch, and create no repository.

Start with the read-only finding below. Choose the smallest serving integration justified by that finding, reusing existing login and static page output. Do not presume a hosting product, hostname or account permission. Report the required account setup privately before any change; account, DNS and Access changes remain Jake's. The ticket includes implementation and final serving verification, with a visible setup gate rather than an extra unapproved ticket.

Owned paths

Public OpenWiz:

  • tools/war-room/web/: this ticket's small serving/artifact contract, adapter, non-secret configuration templates and synthetic fixtures only.
  • tools/war-room/test_web.py: publication-to-served-HTML and access-boundary proofs using existing tools.
  • tools/war-room/publish.py (shared): original-HTML artifact allowlist, privacy validation and atomic same-generation publication only; retain the existing PNG path and immutable samples.
  • tools/war-room/page.py (shared): top section-navigation markup, navigation-only styles and anchor wiring only; preserve WRD3/R's phone-title CSS, chart content and values.
  • tools/war-room/README.md (shared): private HTML serving, finding, setup and verification sections only.
  • .github/workflows/war-room.yml (shared, OpenWiz only): this ticket's synthetic web proof invocation only; no publish destination, credential or account-setting changes.
  • STATUS.md (shared): WRD4 result only.

Private ClosedWiz records, never copied to OpenWiz:

  • private/orchestration/war-room-web/: read-only findings, non-secret serving/setup records and activation receipts only; no credentials committed.
  • private/orchestration/war-room-publisher.json (shared): the reviewed, merged OpenWiz code commit pin only, retaining its existing schema and ordinary review/merge gate.
  • private/evidence/war-room-redesign/wrd4/: authorized live evidence only.

Own new source classifications and other narrowly permitted own registry/evidence rows use the standing war-room/J110 grants and are listed in PR Facts. No existing classification changes or node_modules coverage. No private workflow edit, frozen checker/ruleset change, new dependency or other ticket's logic is granted. Escalate any such need before changing it.

Relies on: tools/war-room/contract.md, tools/war-room/contract.v2.md, tools/war-room/charts/contract.md, contracts/open-development.v1.md

Links

none

Scheduling rationale

The existing public HTML/SVG and private pinned publisher are already delivered. R changes phone-title CSS, not an interface needed to begin this ticket. Shared files have separate sections above, so they create no file-only blocker. Preserve the existing #629 → #630 → #631 chain.

Acceptance criteria

  • FIRST: complete a read-only finding proving whether the current real HTML works over local HTTP, and identifying the exact existing account resources/permissions needed for a private openwiz.dev address and Jake's login. Report privately to the orchestrator before any account, DNS or Access change. Those changes remain Jake's. If discovery access is absent, state the gap and required access without guessing or provisioning. Code/fixture work may continue; live activation waits for Jake's setup record.
  • Establish the small artifact/serving contract inside this ticket before implementing its adapter: original HTML, content type, relative/inline assets, allowed routes, authentication boundary, source/output identity and failure behavior. No external consumer or collection schema changes.
  • Retain and serve the original HTML, not a PNG wrapper or screenshot drawable transform: selectable text, static SVG, native disclosure/value tables and source inventory work without JavaScript or a chart runtime. Keep existing headings font and page security policy. No remote font/data fetch.
  • Top section links target the real page sections, including figures, sources and inventory; keyboard navigation, authenticated deep links and real 1440/390 layouts work. Preserve candidate R's phone fix, existing chart marks, titles, values and all material coverage/Unknown notices.
  • Reuse Jake's existing Cloudflare login at the address he configures. Protect the origin and every enabled alias/preview as well as the custom hostname; no public route or shared cache bypass may expose private content. Serve only the intended artifact allowlist, never arbitrary repository, sample, controller or credential files. Add no product read/write API.
  • Preserve the current hourly schedule and private output branch. Scan the HTML before the atomic publication. Failed rendering, validation, privacy scan or push keeps the last good HTML and image generation. All old sample bytes remain unchanged; no metric definition, data source, benchmark, limit or history is rewritten.
  • After Jake's setup, verify the exact live URL returns the actual pinned HTML when authorized and denies access when unauthenticated; check the origin/alias policy and permitted read paths without destructive probes or new identities. Record code, private pin, run and output SHAs, schedule evidence, desktop/phone captures and remaining data/access gaps privately. A fixture result alone is not live acceptance.
  • Record each supporting grant used in PR Facts. Required CI and an other-family exact-head review pass; update the private source pin only to the actual merged implementation. No further hill-climb, new repository, new authentication system, dependency or frozen workflow/ruleset exception.

Proof

P8: reproduce the missing published HTML through the real publisher before fixing it. Use synthetic input, a local bare Git destination and local HTTP to verify actual text/html, working section targets, native disclosure/values and static SVG with scripts disabled at 1440/390. Strengthen existing last-good/privacy/sample-retention tests for the added artifact. Do not test source text, framework behavior or mocks returning their own stubs.

P9: the first read-only report names setup/access prerequisites; retain Jake's setup decision before activation. Then make scoped read-only requests to the configured live address, authorized and unauthenticated, and verify the artifact identity against the private output and hourly workflow receipts. Store live screenshots/account evidence only in ClosedWiz and expose only private-comment pointers publicly. Missing sources remain unavailable, never zero or complete coverage.

Apply the factory test rule: before adding a test name the real fault existing tests miss; prefer strengthening an existing case or adding a row. Each new test in PR Facts states catches: the reachable bug; no new test with a concrete reason is allowed for prose/simple covered wiring. Bug regressions fail before and pass after when feasible. Keep a named keeper per supported behavior; fix/remove flaky tests, never retry until green. One review plus one re-check; a remaining blocker goes to the orchestrator.

Authority and exclusions

J108's bounded scope is recorded on #626: #626 (comment) . Exact decision record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6904936611 . This proposal itself grants no start or account changes. WRD3 continues R-only and closes only after R is merged and privately published; this ticket does not reopen its stopped hill-climb.

Activity

  1. added
    ready-for-agent
    on Nov 16, 2026
  2. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/877-wrd4-private-html

  3. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

    Builder question: GATE 1's read-only serving and account-access finding is reported privately: https://github.com/jparker2006/ClosedWiz/issues/2921#issuecomment-6905543410 . In short: the page works over local HTTP as built; the smallest integration needs no new account, DNS or Access change if the address set up under J113 is confirmed as this ticket's. Open questions there: (1) confirm that address; (2) one Access-policy read I have no access for; (3) which ticket takes J113 finding 4 (gather.py reads the board and CI-bench branches from the wrong remote; the fix needs gather.py and the private workflow, both outside these owned paths); (4) whether this ticket may drop the page's 5-minute refresh in page.py. Nothing was changed. Code and fixture work continues; live activation waits.

  4. added
    needs-info
    on Nov 16, 2026
  5. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Orchestrator ruling on GATE 1's finding:

    1. Address confirmed: the hostname the owner set up tonight is WRD4's address. WRD4 needs no account, DNS or Access change; the exact name stays in the private record.
    2. Activation: switching the interim units on the owner's machine to the WRD4 adapter waits for the orchestrator's go-ahead, asked for once WRD4 is merged and its proofs pass.
    3. Board, credits and CI bench always unavailable: WRD4 takes the gather.py half as a narrow grant: add --data-remote URL for those data branches only, defaulting to --remote, so behaviour is unchanged unless it is passed; red first with a fixture where the data branches live on a second remote. Nothing else in gather.py. The private workflow half needs an exception to a frozen file, which is the owner's decision and is being put to him.
    4. The 300-second refresh: leave it; it is outside WRD4's navigation-only section and another function keys on it.
    5. Findings 2, 3 and 6 are not WRD4's.

    Carry on with code and fixtures.

  6. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Orchestrator ruling: the owner approved the private workflow half (2026-11-15): a one-time exception to the frozen private publish workflow, limited to passing the private repository as gather.py's data source once --data-remote has merged here and the private pin names that merge. It follows the earlier bridge exception's steps: one reviewed pull request, the exception used once, the ruleset restored and read back. The war-room planner prepares it; nothing else in that workflow changes.
    Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6905707652

  7. removed
    needs-info
    on Nov 16, 2026
  8. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Builder question: the top section links break one non-owned WRD3 proof bound, not its intent.

    test_page_design.py's real-browser proof (via tools/war-room/fixtures/page-design/probe.mjs) presses Tab at most 4 times from the top and asserts the last focus is a disclosure summary. With the new native links (skip link, then 12 section links, then the first card's disclosure), the summary is reached on Tab 14, so the proof fails ('a' != 'summary') at all four viewports. Every link is focus-visible; nothing else in that proof fails.

    Smallest change, exact path: tools/war-room/fixtures/page-design/probe.mjs, one line in the keyboard loop: for (let i = 0; i < 4 && opened === null; i++) → i < 20. No assertion change; #878's open diff to that file touches only the MEASURE block, so no textual conflict.

    Options: (a) grant that one line (recommended); (b) keep the bound and put the links after the headline cards (no longer 'top'). Everything else continues meanwhile.

  9. added
    needs-info
    on Nov 16, 2026
  10. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

  11. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Orchestrator ruling: granted. In tools/war-room/fixtures/page-design/probe.mjs, change only the keyboard-loop bound i < 4 to i < 20, so the probe still reaches the first disclosure now that the section links come first. No assertion is weakened and nothing else in that fixture changes. Record it in the PR's Facts.

  12. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    J115 private workflow preparation is ready: ClosedWiz PR #3023, exact head 7bbfde9ac15759e053d11a07daac8130fc44858c. One added data-remote argument only; development/API identity stays OpenWiz. Pre-push checks passed. The PR is held until WRD4’s data-remote implementation is merged, the separately reviewed private publisher pin names that actual merge, and independent exact-head workflow review is complete. The expected one-path frozen refusal is excepted under J115, never called green. No ruleset change or activation has happened. The later exception will be serialized for this PR only, with a fresh exact ruleset snapshot, pinned-head merge, immediate restoration/read-back and before/after hashes recorded here.

  13. removed
    needs-info
    on Nov 16, 2026
  14. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Builder question: one more non-owned expectation follows from publishing the page. tools/war-room/test_gather.py, test_the_full_gathered_selection_publishes_with_real_chromium, asserts the exact published file list ['README.md', 'samples/…', 'war-room-phone.png', 'war-room.png']; with the original page now published beside the pictures it fails (extra war-room.html). Smallest change: add 'war-room.html' to that one list (sorted position, before 'war-room.png'). It strengthens the assertion; nothing else in that test changes. Options: (a) grant that one list entry (recommended); (b) leave it red, which blocks CI. (Thanks for the probe grant; applied.)

  15. 1 remaining item

  16. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Plan-change notice before the parent update: proposed revision 5 adds exactly one WRD5 small-site/low-text ticket after #877 under the confirmed rulings on #626. This ticket retains its exact body, title, blockers and current scope; existing work continues. WRD5 consumes #877’s artifact/serving contract after its verified merge. The new ticket is created unlabelled and the orchestrator records the full successor revision before releasing it. No extra hill-climb or account change.

  17. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

  18. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Orchestrator ruling: granted, under the standing supporting-edit allowance and this note: update tools/war-room/test_gather.py only so its full-selection publication case expects the added HTML artifact on the branch. No assertion is removed or loosened; record it in the PR's Facts.

  19. removed
    needs-info
    on Nov 16, 2026
  20. added a commit that references this issue on Nov 16, 2026
  21. added a commit that references this issue on Nov 16, 2026
  22. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: look: #891 merged at the approved head e574387 (merge ed3bb97). Its reviewer is archived. The builder is kept for this ticket's remaining live acceptance (the real address, authorized and unauthenticated), which waits for the orchestrator's activation go-ahead. Final archive comes after that.

  23. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Private publisher activation is held on the ordinary required CI for private source-pin PR3026. The required job did not run; the actual infrastructure blocker is routed in a private ORCH-ASK. Local fixture results do not replace required CI. No pin-CI bypass, J115 window or ruleset change is being used. WRD4’s actual code merge remains verified; the private pin, publication and PC live acceptance are separate remaining gates.

  24. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    J115 serialized pre-merge record: ordinary private source pin #3026 has merged and now names the actual reviewed WRD4 implementation. The one pending workflow edit remains exact approved head 7bbfde9ac15759e053d11a07daac8130fc44858c on private #3023. All Jog routing from J128 will be preserved. Before snapshot is recorded privately at https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6907630002. Before raw SHA256: 7af3fab7ed8020d6103c066f6cbf3627095617a1f5f66ac57fdc8f5540656174; writable configuration SHA256 (sorted JSON, two-space indent, final newline): c295219e425fe8b8fed91574f03388968e07aebc78756238cca8017df77f2ad0. Only this executor will use the brief J115 window, merge only that head, restore immediately and read back; after hashes follow. No account/Access/PC activation is granted.

  25. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    J115 execution stopped before the window: the reviewed helper refused its initial PR admission preflight (private PR/head/base/admission changed). No operation journal was created, no ruleset PUT or merge was reached, and #3023 remains open at approved head 7bbfde9ac15759e053d11a07daac8130fc44858c.

    Independent read immediately after refusal: the head/base/repository are correct, mergeable: true, mergeable_state: blocked (required frozen). Private main moved to 0c6a3894d083c7067b5ed25d3c981dd4fdf14039. The failing read's exact admission field was not captured, so its cause is unverified; a transient mergeability calculation is possible.

    Ruleset raw JSON remains byte-identical to the prepared BEFORE snapshot: SHA256 7af3fab7ed8020d6103c066f6cbf3627095617a1f5f66ac57fdc8f5540656174; writable configuration c295219e425fe8b8fed91574f03388968e07aebc78756238cca8017df77f2ad0. The ordinary WRD4 pin PR #3026 has merged at 32d1fd4384fbf62e2b66a66fd8a2b508a9f54795, naming actual public merge ed3bb979254815cc57dad175b97e4e6a0e3a2ebe.

    Per the recorded no-retry procedure, publication and the unopened window are held. Decision requested: resume from fresh admission, merge-tree and ruleset preflight under J115, with the same reviewed helper and exact approved #3023 head. No new dependency, scope or account change is requested.

    launch-fleet: asked the orchestrator

  26. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Orchestrator ruling: resume with a fresh preflight, same reviewed helper. The stop happened before any ruleset write or merge and the ruleset is unchanged, so the one-time window is still unopened and this is not a retry of a used exception. Re-read the private main head and the approved pull request's head and mergeability first; if the approved head is unchanged and it reads mergeable, run the helper once. If anything else has moved, stop and report again.

  27. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    J115 completed after the resume ruling. Private PR #3023 merged only exact approved head 7bbfde9ac15759e053d11a07daac8130fc44858c, as fc9e3269ebccb911de1ea4bce9896cad8954081c. The actual merge adds only the approved data-remote argument, preserves all three Jog routing lines and the reviewed WRD4 source pin. No product code was copied back.

    The serialized operation removed only the frozen requirement, merged only that head, and immediately restored the entire original writable ruleset configuration in finally. Independent fresh read-back confirms exact configuration equality; raw JSON differs only in read-only updated_at, as accepted. No bypass remains. J115 is spent.

    SHA256:

    • Before configuration: c295219e425fe8b8fed91574f03388968e07aebc78756238cca8017df77f2ad0
    • After configuration: c295219e425fe8b8fed91574f03388968e07aebc78756238cca8017df77f2ad0
    • Before raw response: 7af3fab7ed8020d6103c066f6cbf3627095617a1f5f66ac57fdc8f5540656174
    • After raw response: b7223c6fbd59109166bea578c0e5720a2c255ec8b2e5f50dbf7f7400ad5f21f1
    • Executed reviewed helper: 24f710ae89e5d4336ea43218ec45be69dfca02c0e93c3cd6765f6173b1c72fe5

    Exact private BEFORE snapshot. Private publication and PC live acceptance remain separate. WRD5 has now merged; its ordinary reviewed source pin will be prepared next, followed by six-page publication before any adapter switch.

  28. jparker2006 commented on Nov 18, 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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions