Should confirmation leave its own receipt?
The code guarantees that confirmation precedes writeback, but the run log does not show it as a separate, timestamped event. A receipt would make each release easier to reconstruct.
Building / Governed Publishing System
Governed Publishing System
About 14 minutes to read · Go to the recorded release
The difficulty is not producing a page. It is keeping an approval meaningful while content moves between tools and becomes public.
I wanted to move beyond maintaining individual documents and website pages to a system that could preserve editorial intent as content moved across different tools. My writing is drafted and approved in one place, an editorial workspace with a source tracker, and published in another, a static site built from a version-controlled repository. Between them sit file conversion, quality checks, deployment and status reporting. If those are treated as one action, a change can succeed technically while the intended publication is incomplete, or the tracker can say "published" about something that is not yet live.
| Requirement | What success means |
|---|---|
| Explicit authority | Nothing is published without website approval, author review and public-safe clearance, recorded in the editorial workspace. |
| Preserve approved content | What is released is the approved version, not whatever the source looks like at run time. |
| Truthful completion | "Published" is written back only after the live site is confirmed. |
| Governed recovery | Failures are resolved by a governed retry, not by manual publication or bypass; a retry does not duplicate completed work. |
Establishes that a change was merged, built and deployed. It does not by itself bind the release to an approval held in a separate workspace, or write a confirmed result back to it.
Resolve one authorised intent, validate it, apply a bounded change, confirm the live state, then reconcile the source record.
This is an analytical comparison, not a record of alternatives evaluated at the time. Scale is modest: at the revision inspected on 4 December 2026, the publication registry held 28 records, 25 published and 3 withdrawn.
Two different uses of AI are easy to conflate: how a system was built, and what runs inside it.
I defined the operating requirements, approval boundaries and acceptance conditions, and used AI-assisted engineering to translate them into specifications, implementation and tests. My involvement focused on shaping system behaviour, challenging design choices and evaluating whether the resulting system worked as intended.
Specifications, implementation and automated tests were produced with AI assistance against requirements and acceptance conditions I set and reviewed.
Eligibility, quality gates, production confirmation, writeback and recovery are explicit code and a versioned contract. No model decides whether something is published.
Evidence note, 4 Dec 2026. The runtime statement rests on the publisher code inspected at the corrected release revision. AI may assist upstream in drafting editorial content, which still requires explicit human approval before it can be released.
Separate what is requested, what has been authorised and what the system has established. The right-hand column traces the 5 November release through each rule.
| Concern | System behaviour | Traced: 5 Nov |
|---|---|---|
| Identity | A stable output identity is resolved independently of spreadsheet row position. A duplicate identity blocks execution. | Resolved as the selected publication. |
| Authority | Publication requires explicit website approval; content actions require author review and public-safe clearance. | Approved; review and clearance recorded. |
| Eligibility | Approval does not bypass a scheduled release time; the publisher evaluates eligibility independently. | Eligible from 10:00 IST. |
| Source consistency | The approved snapshot and source package are rechecked before mutation and before success is reported. | Approved package retained in the retry. |
| Completion | Production is confirmed at the expected revision, with relevant integrity checks, before success is written back. | Governed confirm-then-write path; success at 12:31:54. |
| Recovery | After readiness is re-asserted, the next operation is derived from repository, production and tracker state; no duplicate content commit. | Retry took the full-action path (nothing had been committed). |
Not a complete specification. The implementation has further action-specific, schema, metadata and asset checks.
The publisher is a bounded executor, not an editor. It reads authority, it does not create it, and it writes back only what it has confirmed.
Teal: states in order. Terracotta: the condition that stops progress at that state, and the response it requires.
| Failure | System response | Evidence |
|---|---|---|
| Eligibility or authority not met | Held; no content mutation. | Code |
| Quality gate fails | No commit; the run fails and the intent stays unpublished. | Recorded: the initial run, 5 Nov |
| Two publisher runs start together | The second queues behind the first; neither is cancelled. | Workflow configuration |
| Confirmation times out | No success written; remains unresolved. | Integration test |
| Committed, not yet confirmed | Create an auditable empty deployment-retry commit to trigger redeployment, confirm, then write back. No duplicate content commit. | Code and integration test |
| Confirmed live, result missing | Writeback-only recovery after re-confirmation. No duplicate content commit. | Code and test; no production incident observed |
| Action | What "confirmed" has to establish | Result fields written |
|---|---|---|
| Publish | Expected revision, published state and applicable asset integrity. | Status, version, confirmed time, URL, result |
| Update | Expected updated revision, published state and applicable asset integrity. | Status, version, confirmed time, URL, result |
| Archive | Expected revision, archived state and absence from discovery, with applicable asset checks. | Status, confirmed time, result |
| Withdraw | The page and its required associated assets return 404, and the item is absent from the archive and the sitemap. | Status, confirmed time, result |
Evidence note, 4 Dec 2026. Verified against the confirmation code using AI-assisted repository inspection. Publish, Update and Archive confirm what should be present; Withdraw confirms what should be absent. Every action confirms production before writeback.
Four decisions, each with its constraint, the trade-off it accepts and what would make me reconsider it.
Alternatives in Decisions 01 to 03 are analytical reconstructions of the trade-offs, not a record of deliberations. Decision 04's alternatives describe the options open at the time; the change itself is recorded in the quality-gate change record.
The 5 November publication of a teardown, replayed from the run logs, pull request, CI record, commit and source tracker. Times are IST.
The tracker records approved version v1.0, author review and public-safe clearance, and a 10:00 release time.
Lighthouse checks four routes of a temporary candidate build on localhost, not the live site. The homepage scores 71 against a threshold of 90. Nothing is committed, and no success is written.
the quality-gate change record records identical homepage HTML and seven referenced assets between engine-only and certified candidate builds. These are findings stated in the PR, not re-run for this case. Whether the 71 reflected measurement variance or a real, transient condition cannot be settled from the records.
the quality-gate change record is merged: three measurements per route, median performance of at least 90, every accessibility sample at least 90. It makes no change to editorial, eligibility, schedule or publisher-enablement rules. The change was merged; the available record does not separately establish personal authorisation.
Non-mutating preflight, unit and integration tests, production build, browser quality, Lighthouse and dependency audit all succeed.
Retry run retains the approved package and eligibility. Nothing had been committed, so in recovery terms this is the full-action path.
Three samples per route; every accessibility score is 100. See the measurements below.
One commit carries the teardown narrative, its PDF and the registry change.
At this revision, the success path awaits production confirmation, runs a pre-write check and only then writes the result. The run log does not print a separate, timestamped confirmation receipt, so the ordering is established by the code, not by a logged event.
The run logs Publish SUCCESS 61 seconds after the commit. The tracker, which shows minutes, records Web Published, last web version v1.0, completed 12:31, SUCCESS: Published.
| Route | Performance samples | Median | Accessibility |
|---|---|---|---|
| Homepage | 100 · 100 · 100 | 100 | 100 ×3 |
| About | 99 · 99 · 99 | 99 | 100 ×3 |
| Thinking | 99 · 98 · 99 | 99 | 100 ×3 |
| Teardown | 99 · 99 · 99 | 99 | 100 ×3 |
Gate: median performance ≥ 90 per route; each accessibility sample ≥ 90. These are candidate-build checks, not a measure of production uptime or general performance.
Evidence note, 4 Dec 2026. On 4 December 2026 the public page was observed to load, showing the 5 November publication date, a PDF link and a site revision marker from a later build. That confirms current availability only. It is not the original deployment confirmation, and full content and PDF parity with v1.0 has not yet been checked. The published teardown ↗
Set the conditions independently. The explorer applies the rule table below and shows the permissible operation for a Publish intent.
Start from a recorded or typical state:
| Rule | When | State and permissible operation |
|---|---|---|
| G1 | Website approval missing | Missing authority. Await explicit approval. |
| G2 | Review or clearance missing | Missing authority. Content prerequisites not met. |
| G3 | Scheduled time not reached | Waiting for eligibility. Approval does not bypass the schedule. |
| G4 | Identity is a conflicting duplicate | Duplicate identity. Blocked until resolved. An identity already registered to this same intent is not a duplicate. |
| G5 | Source or approval basis changed | Changed basis. Re-resolve the intent; renewed approval needed. |
| R0 | Gates pass; commit present; live confirmed; tracker completed | Completed operation. No further action; no mutation. |
| R1 | Gates pass; no commit; live not confirmed; tracker incomplete | Ready. Full governed publication. |
| R2 | Gates pass; commit present; live not confirmed; tracker incomplete | Unconfirmed deployment. Empty deployment-retry commit, confirm, then write back; no duplicate content commit. |
| R3 | Gates pass; commit present; live confirmed; tracker incomplete | Incomplete reconciliation. Writeback-only recovery; no duplicate content commit. |
| R4 | Gates pass; inconsistent identity/repository observations or any other unmapped combination | Outside the documented mapping. Stop and investigate. |
Scope and simplifications. Gates G1 to G5 are checked for every state, including a completed one, because the publisher asserts retry readiness before it selects any recovery operation. All failing gates are reported together; the model does not claim which one the real publisher checks first. G1 to G5 are a simplified subset of the readiness checks. R0 to R3 follow the recovery mapping implemented at the corrected release revision; R4 is this model's conservative default, not documented system behaviour. The model covers Publish only, treats inconsistent identity and repository observations as unresolved, omits schema, metadata, asset and quality-gate checks, and does not call, write to or simulate the real publisher.
Each claim is labelled by the kind of evidence behind it.
| Claim | Evidence class | Limit |
|---|---|---|
| Publication rules and architecture | Implementation, inspected at the corrected release revision | Not reproducible by a reader |
| Confirmation before writeback | Implementation and test evidence | No separately timestamped receipt in the run log |
| Recovery mapping, readiness check and deployment-retry commit | Implementation and test evidence | No real production recovery observed |
| Action-specific confirmation; result fields; run serialisation | Implementation, inspected at the release baseline | Not observed in a production run for Archive or Withdraw here |
| Requirements and personal role | Owner attestation | The owner's account, not an independent record |
| 5 Nov release | Execution record | Two runs, one commit, the tracker row |
| Quality-gate change | Implementation; recorded claim in the quality-gate change record | PR equality findings are stated in the PR, not re-run |
| Current public page | Observation, 4 Dec 2026 | Availability only; parity not checked |
| State explorer | Illustrative model | Isolated; tested against its own rule table |
| Reliability, throughput, uptime | Not claimed | No measurements |
The system works for what it was built to do. These are the parts I would examine next.
The code guarantees that confirmation precedes writeback, but the run log does not show it as a separate, timestamped event. A receipt would make each release easier to reconstruct.
A median of three makes the gate less sensitive to one low sample. It does not tell a noisy measurement from a real intermittent regression, and the 5 November record cannot say which the 71 was.
Recovery covers four specified state combinations. Others stop for investigation. Serialised runs prevent two publishers racing each other, but not a person editing the tracker mid-run; whether that boundary holds will depend on the failures that actually occur.
Publish, Update and Archive are confirmed by checking that something is there. Withdraw is confirmed by checking that something is gone: a 404, and absence from the archive and sitemap. A check at one moment shows absence from this site, not from every copy elsewhere.