0021 — The writing section keeps a daily chronicle of fleet operations, AI prompting and agent activity¶
- Status: ratified (ratification pending — Amr ratifies by merging this PR)
- Number: 0021
- Date: 2026-11-04
- Proposed by: Grok Bot (agent), on Amr's instruction as owner
- Ratified by: https://github.com/bamr87/bamr87/pull/663 (merged 2026-11-05 by @bamr87)
- Affects: constitution § 23 (new, follows § 22
repo-cap-42in PR #660; becomes § 22 if that does not merge first);pages/posts/;_data/voices/(new shared voice config + schema),tools/voices.py(new); bamr87/lifehacker.dev (publishing hold, PR #800); bamr87/zer0-CMS (adoption follow-up); feature0021follow-up (HUB-NEW, not created here); requirements: none yet - Supersedes: none
- Related: hub issue #662 (organize writings/journals/posts for correct display in console and online);
repo-cap-42(PR #660, section numbering only)
Context¶
Fleet work — operations, prompts to AI, agent runs and their PRs — happens daily but is only recoverable from scattered logs, PRs and transcripts. Amr, as owner, wants the monorepo's writing section to be the human-readable record of what happened each day.
The writing section is pages/posts/ (dated YYYY-MM-DD-slug.md posts with front matter; draft: true shows only in the console). tools/console/site_docs.py reads it and the harness console serves it via /api/site and /api/site/post/{slug} as its Writing section, identical to the public Pages build.
Amendment¶
New constitution section:
23. Writing section chronicles fleet activity¶
(amendment
writing-chronicle, numbered at merge — see the amendment log; follows § 22repo-cap-42(PR #660), renumber to § 22 if that amendment does not merge first)
- Rule — daily chronicle — the monorepo's writing section,
pages/posts/(datedYYYY-MM-DD-slug.md, rendered bytools/console/site_docs.pyas the console's and public site's Writing section), chronicles, documents, journals and notes, repo-wide and fleet-wide, all fleet operations, AI prompting and any activity agents are working on, pushing, committing and deploying across all repos, in a summarized chronicle fashion, so Amr or other readers can read and recall what happened each day.- Form — one chronicle entry per day with activity (
pages/posts/YYYY-MM-DD-chronicle.md, categorychronicle), summarizing, per repo, operations, prompts given, agents run, work in progress, pushes, commits, PRs opened or merged, deployments, and outcomes; summaries, not raw transcripts.- Redaction — a chronicle never records tokens, secrets, credentials, keys, or private values; anything secret-shaped is redacted before commit.
- Drafts by default, reviewed before publishing — every chronicle entry lands as a draft (
draft: true, console-only); nothing publishes until it has been reviewed by a human and/or an agent, and only then isdraft: trueremoved.- Enforcement — generation (a daily chronicle generator,
HUB-NEW) is a follow-up; until it lands, agents add or append the day's entry by PR.- lifehacker.dev is the fleet's news agency — lifehacker.dev is part of the fleet's writing and chronicling operations: a synthesized, curated news agency built from fleet activity, written for a wider audience in the voices of its site characters. Its articles originate in the hub (the console / monorepo writing section); it synthesizes them from reviewed hub entries, and rule 4 applies there too — nothing publishes until reviewed by a human and/or an agent, and a human merges. Its own autonomous publishing stays held until hub-originated intake is in place.
- One voice model — AI voices, styles, personas and content config for lifehacker.dev and zer0-CMS use one shared model,
voices/v1: canonical in the hub at_data/voices/voices.ymlwith its schema_data/voices/voices.schema.json(fields aligned with zer0-CMS ADR 0010VoiceProfile, plus a persona layer). Admins edit that file; the console's editor reads it and writes edits back to it as a PR, never a separate database copy; both sides validate against the schema, andtools/voices.py check --againstflags drift in any consumer copy.
Open questions¶
- Privacy / secret redaction: chronicles never record tokens, secrets, credentials or keys (rule 3). Should the generator run a secret scanner (e.g. gitleaks patterns) as a hard gate before commit?
- Former-employer content: how, if at all, should chronicles treat content concerning Amr's former employer? Undecided — no rule is set by this amendment; Amr to decide.
Should entries default toDecided (Amr, 2026-11-04): drafts by default; nothing publishes until reviewed by a human and/or an agent (rule 4).draft: trueor be public by default?- Granularity: one entry per day, or per day per repo?
Consequences¶
- Agents finishing fleet work add to or create the day's chronicle entry in
pages/posts/. - lifehacker.dev's autonomous publishing workflows are held in code by bamr87/lifehacker.dev#800 (turns off only when Amr merges it); re-enabling via hub intake is a follow-up.
- Follow-up (
HUB-NEW, not implemented here): console Voices editor that reads_data/voices/voices.ymland writes edits back as a PR, with schema validation and a drift indicator. - Follow-up: zer0-CMS adopts
voices/v1(ADR 0010VoiceProfileimport/export) rather than a separate voice system. - Follow-up (not implemented here):
HUB-NEWdaily chronicle generator that summarizes the day's PRs, agent runs and operations intopages/posts/YYYY-MM-DD-chronicle.md, with redaction. - Ratification: Amr ratifies this amendment by merging the PR; agents propose, never merge (§ 8).
Revisions¶
- 2026-11-04: on Amr's review, scope widened from fleet operations and AI prompting to repo-wide/fleet-wide — any activity agents are working on, pushing, committing and deploying across all repos; daily entries summarize per repo. Linked hub issue #662.
- 2026-11-04: on Amr's review, rule 4 made explicit — chronicle entries are drafts by default (
draft: true) and nothing publishes until reviewed by a human and/or an agent; the drafts-vs-public open question is resolved accordingly. - 2026-11-04: on Amr's review, added rule 6 (lifehacker.dev as the fleet's curated news agency, originating from the hub, drafts-until-reviewed, autonomous publishing held — bamr87/lifehacker.dev#800) and rule 7 (one shared
voices/v1model for lifehacker.dev and zer0-CMS, canonical at_data/voices/voices.yml, console writes back by PR, schema validation and drift check; new SDLC persona cast for lifehacker.dev).