Job 012: steady-state
Status: ACTIVE Owner: @work, the routine
Phase: IMPLEMENT · Status: ACTIVE · Updated: 2026-09-17
Charter: ./README.md. Routine: ./ROUTINE.md
(loop per .station/modules/work-agent/routines/job.md, claim
refs claim/012-*). Items: ROADMAP → NEXT.
Objective
The repository is production-ready on every axis a session can control and stays that way; the charter carries the bar and it is not restated here.
Completed
Repository refresh, 2026-09-09 (the chartering PR). The 1,570-line ROADMAP, the 2026-08-12 audits, the product-gap assessment and Studio's July roadmap archived with register rows; ROADMAP reset to NEXT / ACTIVE / DEFERRED / DONE; the CI policy inverted (Actions runs; green checks are part of the gate); the three causes of red
mainfixed (fixturesettings: {}, staticcheck pinned to2026.1,UPLOAD_PATHin the E2E job); the Studio CI job runs the whole ofverifyrather than nine of its gates; twenty-nine undocumented configuration keys added to.env.exampleanddocs/DEPLOYMENT.md, and the gateway/OAuth tables rebuilt from whatconfig.goreads; reference docs' counts and links corrected;.stationindex and standards brought to the tree; routine standard written and theCS-HourlyRoutine re-pointed at it. Visual pass:.station/jobs/012-steady-state/evidence/visual-baseline-2026-09-09.md.Batch of 2026-09-16 (no remote in the session; landed as one change set, no claim refs):
config-key-parity-gate—check:config-keysinverify, ledger, ADR-0162, watched failing (evidence.station/jobs/012-steady-state/evidence/config-keys-gate-watched-failing-2026-09-16.md);uploads-route-shadowed— dev proxy anchored onuploads/, both tables pinned bydevProxy.test.ts;directory-null-image—settings | nullguarded,DirectoryPage.test.tsxreproduces the throw. The two page rows wait on a running-stack pass to tick.Second batch, 2026-09-16:
api-types-residueslice 1 —Projectinto the contract, gated (125/125 across 7), generated, hand type deleted; watched failing on a struct field the contract did not declare.release-preparationslice 1 — the upgrade notes under[Unreleased], linked fromdocs/DEPLOYMENT.md; the version heading waits on a database check no session here can run.Third batch, 2026-09-16:
api-types-residueslices 2–3 —DomainandWorkspaceinto the contract, gated (150/150 across 9), generated, hand types deleted.Domainsurfaced a real drift:DomainsPageread twoomitemptystrings as always present; defaulted to''. Counted the residue: 60 hand-written interfaces, 53 with a same-named struct.Fourth batch, 2026-09-17:
api-types-residueslices 4–7 —Pixel,PlanQuota,PluginConfigKey,Plugin(+PluginStatusenum); 171/171 across 13.Pluginneeded the toolchain to carry arrays: the schema reader parsesitems, the generator emitsT[], the parity gate maps[]Tand fails when the contract'sitemsdisagrees (watched failing on a wrongitemsand on a missing one).Fifth batch, 2026-09-17: slices 8–11 —
WorkspaceMember,TeamMember,Team,PwaShortcut; 196/196 across 17. The struct-field parser now reads[]*T(as[]T; repositories never place a nil). Found and merged two duplicate declarations inapi.ts(PwaShortcut,PwaSettings) that TypeScript had been silently merging.Sixth batch, 2026-09-17: slices 12–14 —
PwaSettings,Pwa,Tax; 232/232 across 20.wireKindmaps a gated-schema field to a$refandjson.RawMessageto an object; inline enums for the manifest and tax vocabularies (the columns' CHECKs), whichPwasPage's three option lists are now typed by.Seventh batch, 2026-09-17 (first session with Go and PostgreSQL; no remote, one change set):
ip-helpers-read-remoteaddr— one reader,middleware.ClientIP; the lockout was still header-keyed and the public limiter port-keyed (ADR-0163)./directoryand/uploadsticked on a running stack (evidence.station/jobs/012-steady-state/evidence/visual-2026-09-17.md).api-types-residueslices 15–18 —Code,RedeemedCode,Signature,FeatureFlag; 268/268 across 24. Report: 003.archives/audit-reports/003-steady-state-batch-2026-09-17.md.Eighth batch, 2026-09-17:
uploads-gallery, the owner's answer to the/uploadsplaceholder — one gallery for the page and for a picker that re-uses an upload from a block's asset field;Uploadgated (280/280 across 25); unknown upload types refused; catalogue C4 follows one hop (ADR-0164, evidence.station/jobs/012-steady-state/evidence/visual-2026-09-17.md, report 004.archives/audit-reports/004-uploads-gallery-2026-09-17.md).Ninth batch, 2026-09-17:
login-address-is-an-address;client-address-gate(check:client-address, A1–A3, 28 gates);uploads-filter-by-kind(server, contract, gallery, picker);asset-fields-offer-uploadsslice 1, the bio page's image background. The page pass found the theme settings are written and read by nothing — a new NEXT row. Report: 005.archives/audit-reports/005-steady-state-batch-2026-09-17.md.Tenth batch, 2026-09-17: the bio page settings census (
check:biolink-settings-reach, 37 → 21 rows, 29 gates); the directory served whole rows to anonymous callers — closed; the editor's frame, preview and settings rail; the top bar; resource duplication, slice 1; the resource-surfaces assessment (ADR-0165, report 006.archives/audit-reports/006-resource-surfaces-assessment-2026-09-17.md).
Active
ci-green-on-main: the pinned staticcheck foundchimw.RealIP(SA1019, IP spoofing); replaced bymiddleware.RealIPbehindTRUSTED_PROXIES(ADR-0160). Ticks on the first greenmainrun.- Nothing else claimed. The next run takes the top unclaimed NEXT row.
Blockers
- Actions has no runner again since 2026-09-09 11:52 UTC (
runner_id: 0, dead in four seconds, re-run refused 403) — an account condition, the owner's. TheCI green on mainrow waits on it; PRs merge on the local gate with one comment until it clears. - None of this workstream's own. Owner decisions: ROADMAP → DEFERRED.
Decisions
AUDITS-081226.mdleft the root for.archives/removal-safe/althoughdocs/guides/station.mdrecorded its root placement as an operator request: every finding in it is either closed by a track or an owner decision already listed under DEFERRED, so the file is a record, not a driver. Restoring it is onegit mv.- Closed workstreams 001–011 stay under
.station/jobs/rather than moving to the archive: theirevidence/andreports/CLOSE.mdare cited by ADRs and by the DONE table, and the standard archives superseded workstreams, not finished ones.
Files changed
See the chartering PR. Nothing outside it.
Verification
npm run verify— exit 0 on the tenth batch (29 gates, 79 unit files / 1,488 tests);go vet,go test ./...green withDATABASE_URLset.npm run verify— exit 0 on the ninth batch (28 gates, 78 unit files / 1,483 tests);go vet,go test ./...green withDATABASE_URLset.npm run verify— exit 0 on the eighth batch (78 unit files / 1,482 tests);go vet,go test ./...green; the gallery driven through the UI on a running stack, seven steps and the picker.npm run verify— exit 0 on the 2026-09-17 seventh batch (27 gates, 77 unit files / 1,473 tests, second zone, web build);go vetandgo test ./...green,internal/repositoryagainst a migrated PostgreSQL 16.npm run verify— exit 0 on the 2026-09-16 batch (27 gates, 77 unit files, web build); each new test watched failing on the unguarded input.npm run verify— run on the chartering branch (result recorded in the PR).- CI on the chartering PR — the first run under the inverted policy; the
CI green on mainNEXT row ticks on the first green run ofmainafter merge.
Next actions
ci-green-on-main— confirm the firstmainrun after the RealIP fix is green on all six jobs; tick the row with the run link. If red, root-cause it.one-experience-across-resources(Create verb first — it moves three specs),biolink-settingsSEO group,duplicatefor file and static.api-types-residue— nextAiChat,BiolinkTheme,BiolinkTemplate; 35 structs remain, batch three per PR when none moves a page.release-preparation— the version heading, once a copy of the target database is checked against the upgrade notes; the tag is the owner's.
Source: .station/jobs/012-steady-state/SESSION.md