Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

I2495

The Cockpit is published as a snapshot at /cockpit, and the UI's evidence links lead to it

Where it stands

devtask.issue
Readiness
complete completion is recorded and every required evidence token is present
Status
DONE
Can start
not now
Milestone
Milestone status
ACTIVE
Wave
3
Waiting on
none
Holds back
none
Behind it in all
0
Evidence
3 of 3
A move writes the repository: it stamps one field of this issue's record and appends one event to the ledger, and a commit will carry both.
The same moves from a terminal

majordomus plan start I2495

majordomus plan verify I2495

majordomus plan done I2495

What it is

Objective
Publish the Cockpit on the public site as a snapshot read at the published commit, with the exporter that already reads the UI, so that /cockpit/ is a verified surface of the product and a capability the UI cites is a page a reader can open.
Why
The owner's Unified Product Experience mission (2026-10-12) names the landing page, /ui and /cockpit as the product's surfaces and asks that the public /cockpit be verified. https://majordomus.dev/cockpit/ answered the site's not-found page. Every source line of the UI links the capability's page in the Cockpit (ADR 0135), and in the UI's published snapshot each of those links led to a page saying only a process answers it: 187 links on sixteen screens of this repository. ADR 0147 records the decision.
Now
The exporter of ADR 0141 (web/report/snapshot.rs) names the UI's mount, assets, screens and script in its code. No command writes a snapshot of the Cockpit, the publication model declares one snapshot, and no probe asks the public site for /cockpit/.
Wanted
The exporter takes a Subject (identity, producer, served surface, mount, assets, the fragment key, whether pages keep scripts, the routes withheld), the surface's handler and the pages to read first. `majordomus web report cockpit-snapshot` writes target/web/cockpit-snapshot: every static route but /cockpit/continuity, then the Cockpit pages the UI's snapshot wanted to link to, then what those link to, bounded; no page carries a script; every page is stamped with the commit, the time and the executable. The page that reads .ai/local/ is withheld by the subject itself, so no link reaches it. A link into another snapshot's surface leads to the page when that snapshot's record lists it and to the live page otherwise, and a snapshot written second corrects the first one's files. deploy.snapshots declares both; the pages workflow reads the Cockpit after the UI, uploads both, places each at its mount from the model, and asks the public site for the Cockpit after the deploy; pages-check holds every declared snapshot.
Done when
unknown: the record declares no `completion`
Risk
unknown: the record declares no `risk`

Acceptance

  • `majordomus web report cockpit-snapshot` writes the overview and the capability listing, every relative link of every page names a file the snapshot holds, and no page keeps an absolute link into /cockpit
  • No page of the Cockpit's snapshot carries a script, and every page states the commit it was read at
  • /cockpit/continuity is in no snapshot, whatever links to it, and a link to it leads to the page about the live Cockpit
  • After the Cockpit's snapshot is written, every link from the UI's snapshot into /cockpit names a page the Cockpit's snapshot holds, and the capabilities the UI cites are among its pages
  • The topology holds cockpit-snapshot at /cockpit beside the served Cockpit without a conflict
  • The publication model declares both snapshots, and the pages workflow asks the public site for the Cockpit after a deploy
  • https://majordomus.dev/cockpit/ answers 200 with a page that states the published commit
Validation
bin/majordomus plan validatecargo test --lib web::report::snapshotMJ_TEST_JOBS=2 bash test/run.sh 2981_the_cockpit_snapshot_holds_its_routes 2982_two_snapshots_link_what_the_other_holdsscripts/pages verify-ui --surface cockpit
Evidence required
cockpit_snapshot_unit_testscockpit_snapshot_cases_2981_2982public_cockpit_verified
Evidence present
cockpit_snapshot_unit_testscockpit_snapshot_cases_2981_2982public_cockpit_verified

Scope

Touches
apps/majordomus-cli/src/web/report/snapshot.rsapps/majordomus-cli/src/commands/web.rsapps/majordomus-cli/src/cli.rsapps/majordomus-cli/src/cockpit/mod.rsapps/majordomus-cli/src/web/discover.rsscripts/pagesscripts/ci/pages-check.ai/repo/ci/pages.yaml.github/workflows/pages.ymldocs/COCKPIT.mddocs/MAJORDOMUS_UI.mddocs/GITHUB_PAGES_ARCHITECTURE.mdtest/cases/2981_the_cockpit_snapshot_holds_its_routes.shtest/cases/2982_two_snapshots_link_what_the_other_holds.sh.ai/repo/adrs/0147-the-cockpit-is-published-as-a-snapshot-by-the-exporter-that-reads-the-ui.md.ai/repo/project/issues/I2495.yaml
Not
unknown: the record declares no `non_scope`
Depends on
Priority
p0
Profile
implementation
Parallel safe
false
Owner
unknown: the record declares no `owner`

The work so far

Branches
none
Merged
none
Commits
0
Trunk
master
Sessions
none
Created
2026-10-12
Updated
2026-10-13T12:52:11Z
Started
2026-10-13T12:51:02Z
Verified
2026-10-13T12:51:17Z
Completed
2026-10-13T12:52:11Z

Synchronisation

Adapter
scripts/github-sync
Repository
unknown: the derived plan's header carries no repository
External issue
unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it
State there
unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it

Findings

Nothing is wrong with these records.