Decisions
conformIT’s own record, kept to the standard it defines in documentation-standard.md. Numbered, stable, never reused. A reversed decision gets a new entry; the old one stays.
1. Conventional Commits is the standard, not the slug format
Section titled “1. Conventional Commits is the standard, not the slug format”Two incompatible conventions existed across the surveyed repos:
novak/docs/commit-style.md: Conventional Commits, hook-enforced, with a full type table and a documented rationale.anjunatree/CONTRIBUTING.md: lowercase hyphenated slugs (feature-personal-constellation), explicitly “no scope parentheses,” subject reads as a slug rather than a sentence.
Chosen: Conventional Commits.
Why: it is machine-readable, which makes changelog generation and semantic versioning available later at no cost now. The slug format is readable but parses to nothing. novak’s version also already carries the reasoning for the body conventions, which are the part that actually matters.
What it cost: anjunatree’s format is genuinely tidier to read in a
git log --oneline, and its author preferred it deliberately, not by
default. Subjects get longer. One repo’s documented convention is
overridden by a cross-cutting standard, which is a real cost the first time
it happens and sets the precedent for every later conflict.
What would justify revisiting: if changelog generation and semver are still unimplemented in a year, the machine-readability argument was theoretical and the tidier format should win.
Still open: whether anjunatree migrates at all. See #2.
2. Existing repos are audited, never retroactively migrated
Section titled “2. Existing repos are audited, never retroactively migrated”scripts/conform.sh audit reports divergence. It does not rewrite, and
there is no --fix.
Why: rewriting a working repo to satisfy a standard is a large diff with
no functional change, it destroys git blame, and it front-loads all the
cost of a standard before any of its benefit. Conformance is worth having
going forward. It is rarely worth a migration.
What it cost: the repos stay inconsistent, possibly for a long time. An audit that nobody acts on is just a list. anjunatree in particular will have non-conforming history indefinitely.
Rejected: an autofix mode. It would be used once, on the wrong repo, at the wrong time.
What would justify revisiting: a repo being prepared for publication, where inconsistency is externally visible.
3. Dual licence: CC BY 4.0 for prose, MIT for everything else
Section titled “3. Dual licence: CC BY 4.0 for prose, MIT for everything else”Why: the two halves have different purposes. The standards are meant to be read, cited, and adapted, and attribution should survive that; CC BY is built for it. The templates and hooks are meant to be copied into someone else’s repo, and a copyleft or attribution obligation riding along into their codebase would stop people using them.
What it cost: a two-licence repo is more complicated to explain than a
one-licence repo, and someone will eventually copy a doc under the
impression it’s MIT. The README states the split explicitly to reduce
that.
Rejected: MIT throughout (attribution on prose is the point, and MIT’s attribution requirement is aimed at source files). CC BY throughout (a bad fit for code, and CC explicitly advises against it for software).
4. Rules are derived from repeated practice, and cite their source
Section titled “4. Rules are derived from repeated practice, and cite their source”A rule enters the standard only if it is either (a) observed working in more than one existing project, or (b) a deliberate new decision recorded here with its reasoning. Inline citations name the file it came from.
Why: the difference between a standard and a preference is evidence. The citations let a reader judge each rule independently instead of accepting or rejecting the set, and they make it obvious when a rule is one project’s habit generalised too eagerly.
What it cost: the documents are longer and more cluttered with paths than a clean set of assertions would be. Some genuinely good ideas are excluded for having only one instance behind them.
Still open: whether the citations should be stripped for the public release, since they point at repos an outside reader cannot see. Current answer is no. A reader who cannot verify a source can at least see that one was claimed, and see which rules have none.
5. Every rule states its cost
Section titled “5. Every rule states its cost”Why: a rule that reads as free gets ignored the first time it isn’t. Naming the cost up front means the trade-off was made deliberately, and gives anyone departing from a rule a stated basis for doing so.
What it cost: roughly a third of the word count, and it makes the standards less quotable.
Still open: rule 9 of the Rules of Engagement claims a cost of “none.” Two design principles do the same. If several rules are genuinely free, the convention is weaker than it looks and those may just be well-chosen. VERIFY against real use.
6. Every project discloses LLM use and states a status
Section titled “6. Every project discloses LLM use and states a status”Added after direct instruction from the maintainer, not derived from the surveyed repos: none of the nine currently does this.
Why: a reader deciding whether to trust or adopt a project shouldn’t have to guess how it was built, or whether it’s ready to rely on. Both are facts about the project that the code itself doesn’t reveal, which is exactly the kind of thing this whole standard exists to make explicit rather than implicit.
Why “in testing” is the default, not an option: an unstated status reads as an implicit claim of stability. Requiring the maintainer to actively declare “stable” moves the burden of proof onto the claim that needs it.
What it cost: a small amount of README real estate on every project, including ones where the answer is obvious to the maintainer. It isn’t obvious to a new reader, which is the point.
What would justify revisiting: nothing so far. This is a disclosure requirement, not a technical trade-off, and disclosure requirements don’t generally have a cost side worth weighing against.
7. Em dashes are banned, and AI-sounding prose is a review target
Section titled “7. Em dashes are banned, and AI-sounding prose is a review target”Added alongside #6, same source.
Why: rule 2 of documentation-standard.md requires disclosing LLM involvement. Prose that reads as unreviewed AI output undercuts that disclosure. It signals the opposite of what the disclosure is meant to convey, which is that a human is accountable for what’s written.
What it cost: every document in this repository had to be rewritten
after the fact. At the time this rule was added, a grep across docs/ and
README.md found 108 em dashes. Writing the standards and then failing them
immediately is embarrassing, and is recorded here rather than quietly
fixed, per rules-of-engagement.md rule 4.
What would justify revisiting: if the em-dash rule turns out to be theater and the softer style guidance in writing-style.md does the real work on its own, the hard rule could be dropped. No evidence either way yet.
8. Telegraphic status fragments are a named anti-pattern
Section titled “8. Telegraphic status fragments are a named anti-pattern”Follow-up to #7, flagged by the maintainer against a real example from another project: a status note compressed into label-fragments and semicolon-spliced clauses with no subjects, reading like internal shorthand rather than something a person wrote for another person.
Why: dropping this rule into the general “avoid the tells” list in writing-style.md would have buried it. The maintainer’s example was specific enough, and different enough from the em-dash problem, to earn its own section with a worked before/after.
What it cost: a re-scan of every existing document for the pattern. It
turned out clean; nothing in docs/ used standalone label-fragments, and
the semicolons already present all join full independent clauses rather
than dropped-subject shorthand, so no rewrite was needed this time. Worth
noting because the em-dash rule (#7) did require a full rewrite and this
one didn’t; the two failures aren’t equally likely to recur.
What would justify revisiting: if this turns out to be the same underlying problem as #7 (unreviewed first-draft output) rather than a distinct pattern, the two sections could merge.
9. One standard for humans and models, not a model standard with a human exemption
Section titled “9. One standard for humans and models, not a model standard with a human exemption”Prompted by the maintainer correcting the framing of rules-of-engagement.md, which originally read “written at the model, but they bind the human too.”
Why: that phrasing put the model first and treated human compliance as an afterthought, which is backwards from the actual point. The whole premise of this project is that good practice doesn’t change based on who is typing. A rule that only an AI needs isn’t an engineering standard, it’s a leash, and this project isn’t building one of those.
What it cost: a rewrite of the opening of rules-of-engagement.md. Small, but worth recording because the original framing was wrong on a point the whole project depends on, not a style nit.
What would justify revisiting: if a genuinely AI-specific rule turns up that has no human equivalent (something about context windows or session boundaries, say), it still belongs in this document, but should be marked as such rather than implied to be universal when it isn’t.
10. conformIT is exempt from part of its own required-file list
Section titled “10. conformIT is exempt from part of its own required-file list”Prompted by the novak audit (novak PR #29, the first external application
of this standard), which ran documentation-standard.md’s required-file
list against this repo and found CLAUDE.md, CHANGELOG.md,
docs/architecture.md, docs/security.md, and docs/credits.md all
absent. The audit’s own text flagged this as something needing a decision
rather than a silent gap, which is the right instinct: an unrecorded
divergence from your own rule is exactly the kind of thing
documentation-standard.md exists to prevent.
Chosen: docs/architecture.md, docs/security.md, and
docs/credits.md do not apply here and are not planned. CLAUDE.md and
CHANGELOG.md do apply and are open gaps, tracked in
STATE.md, not exemptions.
Why: the first three assume a system with running components, trust
boundaries, and dependencies to declare. This repo is prose plus two git
hooks. architecture.md would describe two files calling each other.
security.md would restate security-posture.md with no project-specific
instance to add. credits.md would be a near-empty table, since the whole
point of the survey method (decision-in-progress, see the provenance
section of the README) is that the standards are derived from patterns
already observed, not built on adopted dependencies. CLAUDE.md and
CHANGELOG.md have no such argument: this repo has AI-assisted commits
that would benefit from a working agreement, and it has released versions
worth a changelog once tagging starts.
What it cost: the required-file list in documentation-standard.md
now reads as universal when three of its nine entries are conditional. That
was already implicit for CONTRIBUTING.md and VISION.md, which the same
document already marks as conditional; this makes explicit that
“required” was never meant to be read as “every file, every repo.”
What would justify revisiting: if conformIT ever adopts a real
dependency (a linter, a CI action, a package this repo requires rather
than one it’s documenting), docs/credits.md becomes real and this
decision narrows to cover only architecture.md and security.md.
11. The commit-msg hook’s non-imperative check was missing two of three shapes
Section titled “11. The commit-msg hook’s non-imperative check was missing two of three shapes”Found by diffing an adopting project’s independently-extended fork of this same hook against the template it started from (novak PR #29 and #30), rather than by anyone auditing the template directly.
What was wrong: the template only matched past tense (“added”) and gerunds (“adding”), and only for five verbs. Third-person present forms (“adds,” “fixes,” “removes,” “creates”) passed silently, because they were never in the list at all. novak’s own hook, forked from an earlier version of this template, already had the third-person forms; the audit in PR #29 found the template lacked the capitalisation and gerund checks novak’s hook had gained since, and in porting those back (PR #30) surfaced that the direction ran both ways: novak’s fork was ahead on third-person forms before this project ever asked about them.
Chosen: extended the word list to cover all three shapes, plus two
verbs (create, refactor) that weren’t in either version but are common
enough to matter, since refactor is also a commit type and easy to type
as the description’s first word by habit.
Why a bug like this survived: the hook was tested against a regression matrix at the time it was written (11 cases, later 14), and every case passed. None of the cases exercised third-person present tense, because the person writing the tests was also the person who wrote the word list, and both omissions were the same blind spot. An external fork that grew independently didn’t share it.
What it cost: nothing to fix. The finding itself is the interesting part: a hardcoded word list is the kind of check that looks complete when you write it and stays that way until an independent implementation shows you what it missed. Worth remembering the next time this hook’s list looks finished.
What would justify revisiting: if the word list keeps growing verb by verb, it may be worth switching to a general “does this look like a third-person-singular or gerund verb” pattern instead of an enumerated list, at the cost of more false positives on words that happen to end in “s” or “ing” without being verbs at all.
12. A recurring, centralized audit, scoped to a declared list of public repos
Section titled “12. A recurring, centralized audit, scoped to a declared list of public repos”The maintainer asked for a recurring GitHub Actions audit of the projects adopting this standard, with a readable pass/fail report. This resolves part of the open question in STATE.md about whether conformIT installs into projects or stays a reference: for auditing specifically, the answer is reference. Nothing is installed into any target; conformIT clones each one fresh, checks it from outside, and throws the clone away.
Chosen:
- A declared list (
registry/targets.yaml), not auto-discovery of everything under an account. Auto-discovery would need to guess which repos are actually meant to follow this standard and would silently change scope every time a new repo appeared. - Public repos only. A private target needs a deploy key or a PAT with read access, which this workflow doesn’t have and doesn’t ask for. Not a technical limit, a deliberate one: adding cross-repo credentials to a scheduled workflow is a real security-posture decision on its own (rule 4, identity and scope), not a side effect of wanting a report.
- Output goes to the GitHub Actions job summary only. No commit, no issue. Chosen over both alternatives specifically because the maintainer flagged wanting the report to exclude anything private or secret; a job summary that’s regenerated every run and never persisted to git or to an issue thread is the smallest surface for something to leak into by accident. The checks themselves only ever print filenames, line numbers, and short labels, never file contents, for the same reason: some of what’s audited is a repository this project doesn’t own, and the report about it is more public than the repository itself needs to be aware of.
- The job always exits successfully, regardless of findings. This is a report, not a gate, consistent with decision #2 (audit reports, never rewrites, never blocks). A red status badge would invite treating a finding as a build failure to fix under pressure rather than a fact to read.
scripts/conform.sh auditdoes triple duty: a local path, anowner/reposhorthand (clones it), or--all(reads the registry). One command and one check implementation (scripts/lib/audit-checks.sh) for all three, rather than a separate CI-only script duplicating the same logic, which is the same reuse-before-you-add argument as rules-of-engagement rule 7 applied to this project’s own tooling.
What it cost:
- The em-dash scan in
scripts/lib/audit-checks.shduplicates the fence/inline-code/allow-marker exclusion logic already intemplates/.githooks/pre-commit, rather than sharing it. Deliberate: the pre-commit hook is meant to be dropped into a repo as one self-contained file, and the audit runs from conformIT’s own checkout against a clone it doesn’t control, so neither side can assume the other’s files are present to source from. The two copies must be kept in sync by hand, which is a real, ongoing cost, and was already visible during testing: the check briefly leaked full CI temp-directory paths into its own report until caught and fixed in the same session (see the file-path handling in_conformit_scan_em_dash’s caller). - The README status and LLM-disclosure checks are regex heuristics, not
a real reading of the text. Run against the five real targets during
development,
almadon/novak-konzolandalmadon/consigliereboth failed the LLM-disclosure check although both are AI-assisted projects; whether that’s the standard correctly catching an undisclosed project or the heuristic missing phrasing it should have caught wasn’t distinguished, and reading the actual READMEs is the only way to tell. Treat a FAIL from these two checks as “go look,” not as a confirmed violation. Resolved the same day, in the session that added decision #13: that claim was wrong, not just cautious. This environment does have network access; the real commit was confirmed withactions/checkout@v4in the workflow is a floating major-version tag, markedVERIFYbecause this session had no way to confirm a current, correct SHA without network access.gh api repos/actions/checkout/git/refs/tags/v4and pinned. Kept here rather than deleted, per rules-of-engagement.md rule 4, since a wrong assumption about tool access is worth not repeating on the next one.- The commit-style check counts conformance over the last 50 commits,
which penalizes a repo for history that predates this standard
entirely.
flashctrl/flashDKscored 14/40 in testing for exactly this reason: it’s a real, working project with its own prior convention, not evidence it’s failing to adopt anything. The report doesn’t distinguish “never adopted this” from “adopted it recently, older history remains,” and can’t from the outside.
What would justify revisiting: a private repo needing coverage (would need the deploy-key question answered directly, not defaulted around); the heuristic false-fail rate turning out high enough that the two disclosure checks do more harm than good as an automated signal, in which case they’d become documentation-only guidance rather than a checked item.
13. Sensitive-content scanning, with one deliberate exception to report-only
Section titled “13. Sensitive-content scanning, with one deliberate exception to report-only”The maintainer asked for the audit to flag leaked secrets, personal email addresses (excluding git-author ones), and private-service URLs, and to warn collaborators/org members to rotate anything found.
Chosen:
- Secrets: gitleaks (MIT) when
it’s on
PATH, since a maintained rule set beats hand-rolled regex for something this consequential; a heuristic fallback (well-known key formats only: AWS access keys, PEM private-key headers, GitHub/Slack/ Google/Stripe token prefixes) when it isn’t, reported as reduced coverage rather than presented as equivalent. CI installs a pinned, checksum-verified copy; seedocs/credits.md, created by this decision. - Emails: every tracked file scanned for email-shaped strings; an
address already in this repo’s own git author/committer history is
exempted (already public by the nature of a public git repo, per the
maintainer’s own framing), as are
noreply@addresses and RFC 2606 example domains. - Private URLs: RFC 1918 ranges and common internal-DNS suffixes
(
.internal,.corp,.lan,.ts.net), excluding loopback addresses and the RFC 5737 documentation ranges, both of which are expected in ordinary docs and not a leak. - A new severity tier, CRIT, used only for secrets. PASS/WARN/FAIL
from decision #12 all stay report-only; a CRIT finding makes
scripts/conform.sh auditexit 2, and makes the scheduled workflow job itself fail, breaking the “always green” rule #12 established. Deliberate: a red status badge on a scheduled run is one of the only mechanisms this design has for demanding attention beyond the summary text, and a live credential is exactly the class of finding worth interrupting someone for. Emails and private URLs stay at FAIL, not CRIT: real disclosure risks, but not ones with an active “rotate now” response the way a credential has. - The rotate-and-notify instruction is in the report text itself, not just in this document: any CRIT finding prints “rotate it immediately and notify every collaborator or org member with access,” inline, since that’s the whole point of flagging it at all.
- Scans the whole tracked tree (
git ls-files), not justdocs/andREADME.mdthe way the em-dash check does. A leaked key is at least as likely in source or config as in prose.
What it cost:
- Only the current working tree is scanned, not git history. A secret
removed from HEAD in a later commit but still present in an earlier
one is a real, separate risk this doesn’t catch, and can’t from a
shallow
--depth 50clone even if it tried. Worth stating plainly rather than implying broader coverage than exists: if HEAD is clean, that is not the same claim as “this repo has never leaked anything.” docs/decisions.md#10 exempteddocs/credits.mdfor this repo on the premise that conformIT adopts no real dependencies. gitleaks is now one, which is exactly the condition #10 named as ending the exemption.docs/credits.mdnow exists, narrowing #10 todocs/architecture.mdanddocs/security.mdonly, precisely as #10 predicted.- The gitleaks install step in the workflow is a second pinned external
artifact (the first being
actions/checkout), each a maintenance surface: both need re-verification on any future version bump, by someone who can actually download and checksum the new release, not by editing the pinned values on trust. - Local runs of
scripts/conform.sh auditnever install anything onto the operator’s own machine, including gitleaks: silently downloading and running a new binary on a user’s Mac as a side effect of an audit command crosses a line CI installing it into an ephemeral, throwaway runner does not. This means local audits without gitleaks pre-installed get the weaker heuristic path, asymmetric with what CI sees for the same repo. - All three checks are heuristic to some degree, email and URL detection entirely so. A regex match is not a semantic read; treat a FAIL as “go look,” and a clean scan as “nothing obvious found,” never as a compliance certificate. Stated directly in security-posture.md rule 9, which this decision also added.
- Confirmed, not hypothetical: running this against
flashctrl/flashDKflagged10.0.10.21in an example file’s doc comment as a private address. Checked the actual source: it’s a placeholder LAN IP in a usage example telling a user to point the demo at their own device, not a disclosed real address. The private-URL check has no way to tell “example IP a reader is meant to replace” apart from “an address that describes real infrastructure,” and this is exactly the false-positive shape that gap produces. Left as a FAIL rather than special-cased, since narrowing the pattern to dodge this one case risks missing a real one shaped the same way; noted here so a human reads the hit rather than trusting the label. - A related, narrower false positive was fixed, not just documented:
this same check flagged its own bullet point above, since
docs/decisions.mdquotes10.0.10.21inside a discussion of the finding. The email, private-URL, and secret-heuristic scanners never had the fenced-code/inline-code/allow-marker exclusions_conformit_scan_em_dashalready had, so any markdown file legitimately illustrating a pattern always tripped its own check. Fixed by adding_conformit_prose_or_raw, the same exclusion logic applied to a shared helper the three scanners now pipe through, for.mdfiles only. This does not, and isn’t meant to, help the flashDK case above: that hit is in a.rsdoc comment, and there’s no “this is just an example” convention in source code the way there is in prose for this check to key off. Found and fixed in the same session as the rest of this decision, before anything was committed, by running the tool against its own output rather than by inspection, the same way the two bugs during initial testing (the trap and the leaked temp path, both documented in the commit history around decision #12) were found.
What would justify revisiting: a real false-positive or false-negative rate observed from actual use, once the workflow has run enough times to have one, and the flashDK example above is already one data point toward that; a private repo needing this coverage, which would need the gitleaks-install-locally question answered on purpose rather than avoided; git-history scanning, if working-tree-only coverage turns out to miss findings people actually cared about.
14. A copyable README scaffold, not just a described structure
Section titled “14. A copyable README scaffold, not just a described structure”The maintainer asked for standardized scaffolding for a repo’s README content and style: name, description, function, use case(s), development status with a no-warranty disclaimer, LLM disclosure.
Chosen: templates/docs/README.md, a
fill-in-the-blank file with bracketed placeholders and inline instructions,
rather than only describing the structure in prose. documentation- standard.md gained a new “What a README opens with” section (name,
one-line description, function, use cases) ahead of the existing
disclosure section, which itself gained a warranty-disclaimer requirement
alongside status and LLM use. The audit gained one more heuristic check:
a use-case section heading, at WARN rather than FAIL, since detecting a
genuinely good one-line description mechanically isn’t reliable enough to
fail a repo over.
Why a template file, not just prose: design-principles.md rule 4 argues for keeping the interesting decision in one obvious, copyable place rather than a description someone reconstructs each time. A prose description of a README’s shape is exactly the kind of thing that drifts in the retelling; a file with placeholders doesn’t.
What it cost: the name/description/function/use-case requirements aren’t checked as rigorously as status/warranty/LLM-use, since “is this a good description” isn’t something a regex can judge. Presence of a use- case heading is checked; the quality of what’s under it isn’t and can’t be, by this kind of tool.
What would justify revisiting: if conform.sh init gets built, it
should place this file directly rather than leaving it for a human to
copy by hand; until then, copying it manually is the whole mechanism.
15. AGENTS.md over CLAUDE.md, and Assisted-by over Co-Authored-By
Section titled “15. AGENTS.md over CLAUDE.md, and Assisted-by over Co-Authored-By”Prompted by the maintainer asking whether external standards exist for AI-assisted work, and then asking to adopt two of the findings.
Chosen, part one: AGENTS.md is the required agent-instructions
file (documentation-standard.md’s table), not CLAUDE.md. CLAUDE.md
becomes a one-line @AGENTS.md import, Anthropic’s own documented
pattern, per templates/AGENTS.md and templates/CLAUDE.md.
Why: AGENTS.md is a real, converged, tool-
agnostic standard: over 60,000 adopting projects, 30+ supporting agents,
stewarded by the Linux Foundation’s Agentic AI Foundation since December
2025. Writing a Claude-specific file as this project’s required standard
would mean every other agent (Codex, Copilot, Cursor, Gemini CLI, Aider)
reads nothing, which contradicts decision #9’s whole point: one standard
for whoever does the work, not a standard for one vendor’s tool. Claude
Code itself doesn’t read AGENTS.md natively as of this writing
(anthropics/claude-code#6235),
so a bare AGENTS.md alone would leave Claude Code sessions in this
repo without it; the one-line CLAUDE.md import closes that gap without
maintaining two copies of the same content.
What it cost: every prior reference to CLAUDE.md as the required
file, across documentation-standard.md, the audit checker, STATE.md,
and README.md, needed updating in the same change; a partial rename
would have left the standard internally inconsistent, exactly the
failure mode decision #12’s “credits.md never got its footnote” already
demonstrated once. The audit gained one more check: a CLAUDE.md with
real content and no sibling AGENTS.md is flagged, since that’s the
most likely way a Claude Code user misses this convention entirely
(Claude Code works fine reading CLAUDE.md directly, so nothing forces
the tool-agnostic file into existence on its own).
Chosen, part two: AI-authored commits carry Assisted-by: AGENT_NAME:MODEL_VERSION, not Co-Authored-By:. Full format and
reasoning in
commit-and-history.md.
Why: the Linux kernel’s own documentation
specifies this format, and Fedora, Rocky Linux, OpenTelemetry, the
Apache Software Foundation, LLVM, and QEMU have converged on the same or
a near-identical trailer independently. Co-Authored-By: is GitHub’s
convention for a human collaborator; using it for a tool blurs a
distinction that matters most exactly where it’s blurred, which is
provenance and DCO certification. Converging on the same trailer other
projects use is also what makes git log --grep '^Assisted-by:'
meaningful across projects, not just within one.
What it cost: every commit in this project’s own history before this
decision used Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>.
Not rewritten; rewriting history for a trailer format isn’t worth the
disruption, and decision #2’s own argument against retroactive migration
applies here too. Commits from this point forward carry both trailers in
this specific repository, not by choice: the Claude Code harness this
project has been built with requires a Co-Authored-By: trailer on
every commit it makes, a constraint on the tool, not a project decision.
Assisted-by: is added alongside it, and a project not built inside a
harness with that requirement should use only Assisted-by:, per
commit-and-history.md.
What would justify revisiting: if AGENTS.md loses adoption to a
successor the way .cursorrules and other tool-specific files have
already been superseded by AGENTS.md itself; if a coding-agent harness
starts requiring its own conflicting trailer the way this project’s
current one requires Co-Authored-By:, in which case the “both
trailers” accommodation would need to generalize past a single special
case.
16. A private reporting repo, split by audience, not just relocated
Section titled “16. A private reporting repo, split by audience, not just relocated”Prompted by the maintainer asking whether reports should go to a private “meta” repo instead of conformIT’s own public job summary.
Chosen: almadon/conformIT-reporting, private, gets the full
per-finding detail (one file per target, overwritten each run so its own
git history is the trend record). conformIT’s own public job summary
keeps only the summary table: pass/warn/fail/crit counts, no per-finding
samples. scripts/conform.sh audit --all gained a --detail-dir <dir>
flag to produce this split; without it, behaviour is unchanged (detail
and summary both to stdout, the useful shape for a human running this
locally).
Why a split, not just a relocation: moving the exact same combined report to a private repo would fix exposure for repos in the registry, but conformIT’s own public job summary would stay a place a sample could leak from, for any future check that isn’t as careful as the current ones. Splitting by audience closes that structurally rather than relying on every check remembering to redact.
Found while building this, fixed in the same change: the email check was the one place that hadn’t learned this lesson yet. It printed the actual discovered address as its “sample,” unlike the secrets check (file:line:rule, never the matched value) and the private-URL check (file:line only). Fixed to match: redacted to file:line, regardless of which report it ends up in. This was a live gap in the public job summary this whole time, not a hypothetical one the private repo happened to also fix.
The credential: a fine-grained GitHub PAT, scoped to
almadon/conformIT-reporting only, contents: write, nothing else,
stored as CONFORMIT_REPORTING_TOKEN in conformIT’s repo secrets. The
maintainer is adding this themselves rather than it being minted by an
agent session; the publish step checks for it (via a job-level env var,
since GitHub’s own docs
confirm secrets can’t be referenced directly in a step’s if:, caught
by checking the docs rather than assumed) and is skipped, not failed,
until it exists.
What it cost: a second credentialed surface (the first being the
gitleaks download in decision #13), reviewed against
security-posture.md rule 2: one credential, this
integration only, write access to nothing but this one repo. The
reporting repo itself has none of conformIT’s own required-file set
(AGENTS.md, docs/decisions.md, and so on): it’s entirely machine-
written output with no human-authored content to speak to, the same
“data, not documentation” exemption documentation-standard.md already
gives prompts//registry/-shaped content, applied to a whole repo
instead of a directory within one. Its own README says so, so a visitor
doesn’t wonder why it doesn’t follow conformIT’s own rules.
Verified the same day, once the credential existed: triggered the
workflow by hand (gh workflow run) rather than waiting for Monday. Full
green run including the publish step; almadon/conformIT-reporting got
a real commit with all six report files and a correctly regenerated
README index; the secrets check used the real gitleaks engine in CI,
not the local heuristic fallback, confirming the pinned install works on
GitHub’s actual infrastructure and not just in a local reproduction; the
HAVE_REPORTING_TOKEN job-level env var evaluated to true in the job
logs, confirming the fix made after catching the wrong if: secrets.X
draft against GitHub’s own docs. Before this, verified: the
--detail-dir split’s content shapes, tested against all six live
targets; the redacted email check, against a synthetic fixture; the
reporting repo’s own initial commit and push, done by hand rather than
through the workflow.
One non-blocking finding from the real run’s own annotations: GitHub
flagged the pinned actions/checkout SHA as targeting the deprecated
Node 20 runtime, auto-forced onto Node 24 as a compatibility shim for
now. Nothing failed. Bumped the same day, once asked: v4 to v7
(v7.0.1, latest release at the time). Checked before pinning, not
assumed from the version number, that action.yml at that commit
actually declares using: node24. Also checked the intervening release
notes (v5 through v7) for anything that would break this workflow’s
plain, input-less checkout: the only behavioural change (v7 blocking
fork-PR checkout for pull_request_target/workflow_run) doesn’t apply
to a schedule/workflow_dispatch-triggered job. Two majors in one
jump rather than stepping through v5 and v6 individually, since nothing
in between was itself worth pinning to on its own. Triggered a real run
immediately after to check the annotation actually disappeared rather
than trusting the version bump alone: it did, annotations_count: 0 on
the resulting check run, checked directly against the API rather than
just reading the log for the absence of a warning.
Found by running conformIT’s own audit against its own working tree
right after writing the new workflow step, fixed in the same change:
the email check flagged actions@users.noreply.github.com, the bot
identity this same workflow step sets for its own commits, since the
existing noreply@* exclusion only matched a literal prefix and GitHub’s
own noreply convention puts the marker in the domain
(*@users.noreply.github.com), not the local part. Fixed by adding
*@*.noreply.github.com to the exclusion list. Worth noting because it’s
the second time in one feature that a check flagged conformIT’s own
output back at itself (the first was decisions.md quoting its own
example IP, in decision #13). Dogfooding immediately keeps finding
these, which is the argument for continuing to do it rather than
trusting a check because it looks reasonable on paper.
What would justify revisiting: if --detail-dir’s output ever needs
to differ from the plain stdout shape beyond “same content, different
destination,” at which point a single shared code path stops being the
right design.
17. A reusable workflow, not a GitHub App, so any org can adopt this for itself
Section titled “17. A reusable workflow, not a GitHub App, so any org can adopt this for itself”The maintainer asked how to make the audit/reporting setup portable to other organizations (flashCtrl named as the example), and specifically whether it should be a GitHub App.
Chosen: .github/workflows/reusable-audit.yml, on: workflow_call,
parameterized by targets (optional inline list), reporting_repo
(required), and reporting_token (optional secret, publish step skips
without it). conformIT’s own audit.yml becomes a thin caller of it,
same-repo relative reference, no ref needed. An external org calls it by
owner/repo@<pinned-ref> from their own thin wrapper workflow, with
their own registry, their own reporting repo, their own credential.
scripts/conform.sh audit --all gained --targets-file <path> to make
this possible; the argument parser for --all was rewritten as a proper
flag loop to accommodate it alongside --detail-dir in any combination.
Why not a GitHub App: an App earns its cost when one identity needs write access into many different orgs’ repos at once, installed and revoked per-org through GitHub’s own UI. That’s not this. In the distributed model the maintainer described, each org runs its own copy, in its own Actions, with its own credential; conformIT never holds flashCtrl’s token, and flashCtrl never holds anyone else’s. Adding a GitHub App here would mean hosting something (or at minimum, holding an App private key somewhere to mint installation tokens), and would concentrate exactly the kind of cross-org credential surface security-posture.md rule 2 already argues against, worse than today’s design, not better. A GitHub App becomes the right tool only if the model changes to genuinely centralized, one-pipeline-many-orgs auditing, which is a different product built on a different trust relationship, not an incremental step from this one.
Two real bugs caught by checking documentation before writing code, not by running it and finding out:
- A bare
actions/checkoutinside a called reusable workflow checks out the caller’s repo by default, not the repo the reusable workflow itself lives in. Confirmed against GitHub’s own docs before writing the checkout step; an earlier instinct (skip verifying, assume default checkout means “checkout yourself”) would have shipped a workflow that silently checked out whatever the caller happened to have, for external callers specifically, the one case where being wrong actually breaks something. Fixed withjob.workflow_repository/job.workflow_sha, GitHub’s documented answer for exactly this. inputs.targetsandsecrets.reporting_tokenare passed throughenv:in every step that uses them, never interpolated directly into arun:block. A${{ inputs.targets }}spliced straight into shell text is a real injection surface for an external caller’s own input, not a hypothetical one; routing it through an environment variable means a crafted value is text a variable holds, not text the shell parses.
What it cost: every external adopter now depends on conformIT
itself as pinned infrastructure, the same way conformIT depends on
actions/checkout and gitleaks. If conformIT’s reusable workflow
changes in a breaking way, an adopter pinned to an old tag is protected;
an adopter on @main is not, and nothing here can enforce which one
they choose. The targets input, when used, means an external org’s
list lives inline in their own workflow YAML rather than in a
separately versioned file the way registry/targets.yaml is for
conformIT itself; a real, accepted asymmetry between the two calling
patterns, not an oversight.
This applies to additive, non-breaking changes too, not just breaking
ones, and it showed up almost immediately: decision #18 (the semgrep
SAST check) landed after v2 was already cut and referenced by
flashDK’s PR, with no tag bump alongside it. A pin doesn’t just protect
against breakage; it also silently withholds every new check added
after it, whether or not the new check would have broken anything. Cut
v3 and bumped every reference (the template, this README, flashDK’s
PR) once this was noticed, but noticed only because the maintainer
asked directly whether existing deployments needed anything, not
because tagging a new feature is currently forced or checked. There is
no automation yet ensuring a feature commit gets a version bump; that’s
a real, currently-manual discipline this project asks of itself and of
every downstream reference to it.
What would justify revisiting: if a genuinely centralized use case
shows up later (see “why not a GitHub App” above); if an adopter with a
long target list finds the inline-string targets input awkward enough
to want a file-based alternative, at which point a second input mode
(a path checked out from the caller’s own repo, which needs its own
checkout step and was deliberately not built now to avoid the
ambiguity that already had to be resolved once for conformIT’s own
checkout) would be worth the added complexity.
Addendum: forking, checked against double-work first
Section titled “Addendum: forking, checked against double-work first”The maintainer asked directly whether adding fork-based adoption on top
of the reusable-workflow model was redundant with it. It isn’t: the two
serve different depths of adoption. Referencing almadon/conformIT
directly gets you the standards as-is, unmodified, upgraded by bumping a
pin. Forking gets you your own copy of docs/ to diverge from
deliberately, which is the only way to adopt the prose half of
conformIT at all, not just the audit tooling; there is no reusable-
workflow equivalent for “give me my own copy of your philosophy to
extend.”
What changed to support it: one hardcoded reference. Every
functional value in reusable-audit.yml was already an input or a
job.* context value, not literal text, because it was built
parameterized from the start (this decision, above). The one exception
was the “generated by” credit line in the published report README,
which said almadon/conformIT as a literal string; a fork’s own reports
would have credited upstream instead of themselves. Fixed to read
job.workflow_repository, the same context already used for the
checkout step, so it resolves correctly regardless of which copy is
running.
What this confirms, stated plainly since it’s easy to miss: building the reusable workflow properly parameterized the first time (no shortcuts, no “we’ll generalize it later”) is what made this a five-line fix instead of a redesign. The cost of that discipline was paid already, in decision #17’s own body above; this addendum is the payoff showing up one question later.
18. Semgrep for the audit’s SAST check, CodeQL as a separate opt-in template
Section titled “18. Semgrep for the audit’s SAST check, CodeQL as a separate opt-in template”The maintainer asked whether “actively scrutinizing the codebase,” not just matching known advisories, was achievable through an existing library.
Chosen: semgrep (LGPL-2.1),
integrated into scripts/lib/audit-checks.sh the same way as gitleaks:
prefer it on PATH, skip the check (not a false pass) when it isn’t
there. Two curated open rulesets, p/security-audit and
p/owasp-top-ten, not --config=auto (registry-driven, nudges toward
an account login in newer versions). CodeQL
is offered as a separate template
(templates/.github/workflows/codeql.yml) for an adopter’s own CI, not
folded into the audit tool.
Why semgrep for the audit and not CodeQL: every other check in this file scans text, line by line, with no build step, uniformly across any language, which is what makes “clone shallowly, scan, discard” work as a model at all. Genuine vulnerability scrutiny doesn’t share that property. CodeQL does real dataflow analysis, tracing whether untrusted input reaches a dangerous sink, not pattern matching, which is why it’s the stronger tool; the cost is that it needs to know how to build the target, and that configuration is inherently per-repo, not something a generic “clone anyone’s repo” audit can supply. Semgrep’s rules mostly work directly against source text via AST matching, no compile step, which is the one property that lets it fit conformIT’s existing architecture instead of needing its own.
Two things confirmed by actually running it against a real fixture, not assumed from the tool’s own marketing:
- It works: a synthetic
subprocess.call(..., shell=True)command- injection pattern was correctly caught, with a real rule ID and line number, no code content in the report (consistent with every other check here). - It’s real but partial coverage, in the same test: a string- concatenated SQL query in the same fixture, run through the same two rulesets, was not caught. Recorded in the code comment directly above the check, not left implicit: a clean result means “nothing these specific rules catch,” not “no vulnerabilities.”
A distinct severity choice: any semgrep finding maps to FAIL, not CRIT. CRIT is reserved for secrets specifically, per decision #13’s own reasoning (an active, rotate-now response distinct from every other finding). A static-analysis finding is real but doesn’t have that same “already compromised, act now” shape; treating it the same as a leaked key would blur a distinction decision #13 deliberately drew.
A distinct honesty choice: semgrep’s absence maps to WARN, not PASS. Every other check in this file means “looked, found nothing” when it passes. Reporting PASS for a check that didn’t run would say something false, and there’s no honest heuristic fallback for “contains a SQL injection” the way the secrets check has one for “looks like an AWS key” (decision #13); absence here is a real gap, not a graceful degradation, and the report says so.
What it cost: semgrep distributes through PyPI with a real
dependency tree, not a single downloadable binary the way gitleaks is.
Fully hash-pinning it (pip install --require-hashes) needs every
transitive dependency hash-pinned too, real, ongoing lockfile
maintenance disproportionate to what it buys here. Pinned the version
instead, without a checksum, and said so plainly in docs/credits.md
rather than presenting it as equivalent rigor to gitleaks’s verified
download. A 5-minute timeout bounds a pathological target rather than
letting one repo hang the whole run, an operational cost the other
checks don’t need since they’re all fast, single-pass text scans.
Verified in real CI the same day: triggered the workflow by hand
rather than waiting for the schedule. pip install semgrep==1.175.0
succeeded on the real runner, the check ran, and correctly reported
PASS on conformIT’s own codebase, confirmed by reading the actual
published report rather than trusting the green checkmark alone.
What would justify revisiting: a false-negative or false-positive rate from real use that argues for a different ruleset or a different tool; an adopter wanting CodeQL results folded into the same report as the rest of the audit, which isn’t possible without conformIT generically configuring per-language builds, itself a much larger undertaking than this decision took on.
19. Portability is a design principle, cited against this project’s own lived examples
Section titled “19. Portability is a design principle, cited against this project’s own lived examples”The maintainer proposed: modularity and portability across ecosystems, environments, and operating systems should be the default for a project, unless it’s deliberately scoped to one platform.
Chosen: design-principles.md rule 11.
Why with this specific evidence: the rule cites two things this project already did, not hypotheticals. Its own scripts and hooks target bash 3.2 rather than whatever the maintainer’s machine runs, which is why every hook already works identically on macOS and a Linux CI runner. And decision #17’s reusable workflow was built with every functional value as an input rather than hardcoded to one org, which is what turned the fork-portability question, asked three sessions later, into a five-line fix instead of a redesign. Citing your own project’s paid-for discipline back at itself, at the moment someone asks whether it was worth it, is more convincing than a rule that only points at other repos.
Why it doesn’t contradict rule 9 (“single-homed until proven otherwise”): they’re different axes. Rule 9 says don’t build operational scale before you need a second node. This rule says don’t hardcode assumptions that make later portability cost a rewrite instead of a parameter. A project can and should be single-homed and portable: the reusable workflow never scaled to multiple orgs operationally, it just didn’t assume there’d only ever be one.
What it cost: nothing new; the cost was already paid and recorded in the decisions this rule cites. The rule itself costs future design time on every project that adopts it, stated in its own “Cost” line rather than left implicit.
What would justify revisiting: if a future decision shows the opposite lesson, portability designed in up front that never paid off and cost real time against a deadline; nothing like that has happened here yet.
20. Session logs (chats/), gitignored by default, checked by the audit
Section titled “20. Session logs (chats/), gitignored by default, checked by the audit”The maintainer proposed a standard, prompted by a discussion elsewhere
this session couldn’t locate: AI coding tools should keep a continuous,
human-readable log of significant sessions at
chats/{tool}/YYYY-MM-DD-{project}-{topic}.md, gitignored by default.
Asked directly to also wire it into the audit, the same as every other
standard here.
Chosen: the path shape and purpose recorded in
documentation-standard.md (“Session
logs”), the behavioral rule in
rules-of-engagement.md rule 10 and both
AGENTS.md files (root and template), the exclusion itself in
.gitignore (both conformIT’s own, newly created, and
templates/.gitignore, also new), and a real audit check
(_conformit_scan_chats_tracked in scripts/lib/audit-checks.sh).
Why markdown, and why a directory per tool: a tool-native transcript format (JSONL, or whatever else) is optimized for that tool reading it back, not for a human or a different tool’s next session doing so. A project using more than one coding tool gets one subdirectory per tool rather than a merged log, since two tools’ own conventions for what a session even is don’t necessarily line up.
Why the audit checks git ls-files, not just “does a .gitignore
exist”: a .gitignore rule added after content was already committed
doesn’t retroactively untrack it. Checking for the ignore rule’s
presence would pass a repo that has one and also has committed session
logs from before it existed, which is exactly the case worth catching.
git ls-files chats/ asks git directly what’s actually tracked,
sidestepping the question of whether an ignore rule exists at all.
Why filenames are reported plainly here, unlike the other sensitive-
content checks: naming a path that’s already tracked in the repo
isn’t a new disclosure the way echoing a discovered email address or a
secret’s value would be (decision #13, #16). The finding’s whole point
is telling you which files to git rm --cached, and redacting that
would make the report less useful for no privacy gain, since the path
is already visible in the repo’s own history to anyone who looks.
What it cost: conformIT didn’t have a root .gitignore at all
before this; the gap existed independently of this decision and was
found while implementing it, not caused by it. This project’s own
existing content was checked and has never had a chats/ directory, so
nothing needed retroactive cleanup here.
What I could not verify: where the original conversation proposing this happened. Searched exhaustively (eleven query variants across other Claude Code session transcripts, a full session listing, a check of conformIT’s own git history for anything already merged) and found nothing. The tool used for that search only covers Claude Code sessions, not claude.ai’s own conversation history, which may be where it actually happened. Implemented from the maintainer’s restated description rather than a recovered record, and said so at the time rather than presenting the search as more conclusive than it was.
Verified in real CI the same day, tag v4: triggered the workflow
by hand against conformIT’s own repo, which has no chats/ directory.
The report correctly carried zero mentions of it, confirming the
“silent when not applicable” design holds in a real run and not just in
the local synthetic-fixture tests (absent, present-and-ignored,
present-and-committed) run earlier the same session.
What would justify revisiting: a second tool’s own session-export
convention turning out to be incompatible with landing inside
chats/{tool}/ as plain markdown, in which case the format
requirement, not the directory shape, would need to bend.
21. Moved to SerenIT-org, and the reporting repo became a template plus an org-owned copy
Section titled “21. Moved to SerenIT-org, and the reporting repo became a template plus an org-owned copy”The maintainer moved conformIT, Consigliere and its fleet template from
the almadon account to the SerenIT-org organization (2026-10-06), and
renamed the default branch of the moved repos to main. conformIT’s own
audit workflow and its adopter template both name repositories, so the
move touches CI directly, not just prose.
Chosen: every live reference now points at SerenIT-org:
README.md, registry/targets.yaml (SerenIT-org/conformIT and
SerenIT-org/Consigliere; the almadon/novak* targets did not move and
are unchanged), .github/workflows/audit.yml, the comments in
reusable-audit.yml, and templates/.github/workflows/conform-audit.yml
(whose uses: line is the one adopters copy). Earlier entries in this
file keep almadon/... on purpose: they record what was true when they
were written.
The reporting repo: the maintainer’s recollection was that it should
be a public template other adopters copy into private repos. It was not
an automated step: the reusable workflow has always required the caller
to create it by hand (it says so in its own input description), and
almadon/conformIT-reporting holds real findings, so making that repo
public, or turning it into the template, would defeat decision #16. So
instead: SerenIT-org/conformIT-reporting-template is a new public
template repo with nothing but a README explaining the setup, an MIT
licence matching conformIT’s, and an empty reports/; and
SerenIT-org/conformIT-reporting is a private repo created from it for
this org’s own audit. almadon/conformIT-reporting is untouched.
What it cost: one manual step this change cannot do. The fine-grained
token in CONFORMIT_REPORTING_TOKEN was scoped to the old reporting repo,
and a token’s scope does not follow a repo to a new owner. A new token,
scoped to SerenIT-org/conformIT-reporting only with Contents: Read and write, has to replace it (and the organization has to allow fine-grained
tokens), or the publish step fails. Also: callers pinned to
almadon/conformIT/.github/workflows/reusable-audit.yml@v4 depend on
GitHub redirecting uses: references after a transfer, which I did not
verify and would not rely on. A search of the almadon, SerenIT-org
and tmeuze accounts found no such callers other than conformIT itself.
VERIFY: the redirect behaviour for uses: after a transfer.
Rejected: leaving reporting_repo pointing at the old private repo
(a cross-organization write with a token that outlives the account it was
scoped for) and transferring that repo as is (it carries the old
findings history into the new org).
What would justify revisiting: if reports from several orgs ever need one shared destination, the per-org private repo split is the thing to reconsider; nothing suggests that yet.
Addendum (2026-10-07): the move broke the one deployed caller, and the search that said it wouldn’t was incomplete
Section titled “Addendum (2026-10-07): the move broke the one deployed caller, and the search that said it wouldn’t was incomplete”Checking flashctrl/flashDK, the only caller of conformIT outside this
repo, found that the section above was wrong in three ways.
The caller search missed it. It covered almadon, SerenIT-org and
tmeuze, not flashctrl, the org flashDK lives in. The reason is
structural: nothing in this repo lists who calls the reusable workflow, so
“search the accounts I remember” was the only method available, and it
only finds what it remembers to look in. The sweep repeated this time
covered all four accounts and found exactly one external caller. It is
still a search of the accounts reachable from here, not an inventory. The
known callers are now listed in STATE.md, which is a note rather than a
fix.
The VERIFY is resolved: GitHub does not redirect uses: after a
transfer. gh repo view almadon/conformIT returns the new location, and
v1 through v4 all exist at SerenIT-org/conformIT with v4 still
pointing at the commit it did before the transfer. Dispatching flashDK’s
workflow with uses: almadon/conformIT/.github/workflows/reusable-audit.yml@v1
nonetheless fails to parse: workflow was not found. The repository URL
redirects; the Actions uses: resolution does not. Any caller of a
transferred reusable workflow has to be edited, and until it is, it fails
at parse time rather than degrading. flashDK’s next scheduled run
(2026-10-12) would have failed before running anything.
The earlier claim that flashDK’s pin was kept current was wrong. The
v3 and v4 addenda say flashDK’s PR was bumped. The bumps were pushed to the
feature branch of PR #11 after that PR had merged (2026-08-28 17:22 UTC,
before the first bump), so they never reached main. flashDK’s main has
been on @v1 throughout: no semgrep check, no fork-portability fix, no
chats/ check. Nobody noticed because the pinned version kept working.
The lesson in decision #17’s addendum, that a pin silently withholds
additions, applied to the one caller that was supposed to be proof it
had been handled. What went wrong is mundane and checkable: “I pushed a
commit to the PR’s branch” is not “the change is on main”, and I
reported the first as the second.
Unrelated to the move, found while diagnosing it: flashDK’s scheduled
publish has failed since 2026-09-28 with
fatal: Authentication failed for 'https://github.com/flashctrl/flashDK-reporting.git/'
and Invalid username or token. The last good publish was 2026-09-21,
roughly a month after the token was created. That wording (as opposed to a
403 permission error) means GitHub does not recognise the token at all:
expired or revoked, not mis-scoped. Expiry is the likely cause but is an
inference; the token’s own metadata is not visible from here. The run on
2026-10-05 failed separately, because GitHub never acquired a hosted
runner for the job (an infrastructure fault, nothing to fix). Two weeks of
failed scheduled runs went unactioned, so failing loudly by itself did not
get anyone to look.
What was done: flashDK#16
changes the uses: owner to SerenIT-org and the pin to @v4, one line.
Dispatched against its branch before merging: checkout of the reusable
workflow, both tool installs, and the audit step all succeeded; the publish
step failed with the same authentication error, which isolates the token as
the only remaining fault. Not merged: it changes the default branch of a
public repository, so it waits for the maintainer.
What it cost, and the open item: the same token lifetime applies to
CONFORMIT_REPORTING_TOKEN for SerenIT-org/conformIT-reporting, which
was just created. Fine-grained tokens expire, and a workflow that fails
loudly every week is easy to stop looking at. Choosing the expiry
deliberately, and writing the renewal date somewhere that gets read, is
the mitigation available; the adopter template does not currently say so.
What would justify revisiting: a second external caller appearing,
which would make a real inventory (a file in this repo, rather than a
paragraph in STATE.md) worth building.
22. Moved again, to placidIT, and Consigliere is no longer part of the same move
Section titled “22. Moved again, to placidIT, and Consigliere is no longer part of the same move”One day after decision #21, SerenIT-org was renamed placidIT, and
conformIT now lives at placidIT/conformIT. Separately, the maintainer’s
position (relayed by another Claude session working for them, not typed
into this one) is that conformIT and the placidIT suite are different
projects with different goals from Consigliere, which now lives at
almadon/Consigliere. Decision #21 had described Consigliere as having
moved together with conformIT; that stopped being true.
Chosen: every live reference now names placidIT: README.md, both
workflows (including the uses: owner in the adopter template),
templates/.github/workflows/conform-audit.yml’s --template hint, and
registry/targets.yaml. The one exception is the Consigliere target,
which becomes almadon/Consigliere rather than placidIT/Consigliere,
since it is not part of this org. The local GitHub remote is now
git@github.com:placidIT/conformIT.git. Decisions #21 and its addendum are
left as written, because they record what was true when they were written.
Checked before pointing at anything, rather than taken on the message’s
word: placidIT/conformIT (public), placidIT/conformIT-reporting
(private), placidIT/conformIT-reporting-template (public, flagged as a
template) and almadon/Consigliere all exist. v1 through v4 are present
at placidIT/conformIT, v4 still points at commit 9537f41, and main
there is the same commit as this checkout’s HEAD. SerenIT-org/conformIT
still resolves in the API, but only as a redirect to the new location.
The lesson from #21’s addendum applies a second time, to a caller that
already exists. A uses: reference to a reusable workflow does not
follow a repository redirect, so any caller written against
SerenIT-org/conformIT breaks exactly as the one written against
almadon/conformIT did. flashctrl/flashDK’s open fix
(flashDK#16) was repointed
from SerenIT-org to placidIT before it merged, and a run dispatched
from its branch resolved placidIT/conformIT@v4 and passed through the
audit step. It still fails at publish on the expired-token fault described
in #21’s addendum, which this does not touch. The two renames in two days
are also the argument for the inventory #21’s addendum called a note
rather than a fix: the next move will be caught by whoever remembers to
look, unless callers are recorded somewhere checkable.
What it cost, and what changes in the manual step: the token in
CONFORMIT_REPORTING_TOKEN has to be scoped to
placidIT/conformIT-reporting, not SerenIT-org/conformIT-reporting as
#21 said, and the placidIT organization must allow fine-grained tokens.
Nothing here can create or install it. The reporting repos the audit
published to under almadon and SerenIT-org are not touched.
What I could not verify: that conformIT and Consigliere have different
goals, or the reasons for the rename. Both come from the relayed message
and nothing in this repository confirms or contradicts them; they affect
only which owner Consigliere’s audit target names. I also did not check
whether the SerenIT-org reporting repos redirect to their placidIT
equivalents, because nothing now points at them.
What would justify revisiting: another move, in which case the cost
is again every pinned uses: line, and the inventory becomes worth
building instead of describing.
23. Dependency and supply-chain checks, and a registry that does not name private repos
Section titled “23. Dependency and supply-chain checks, and a registry that does not name private repos”Another Claude session, relaying the maintainer, reported that a manual sweep had found gaps conformIT should cover so it is not done by hand again: vulnerable and outdated npm, Python and Rust dependencies, outdated GitHub and Forgejo Actions references, stale Docker base images, and deprecation warnings. It also listed the repositories to audit, including private Forgejo repos, and four bugfix forks that should not be audited. The versions it quoted as latest (checkout v7, setup-python v7, setup-node v7, docker login v4, metadata v6, build-push v7) were checked against the registries and match.
Chosen, the checks (scripts/lib/dep-checks.sh and
scripts/lib/py/depcheck.py):
- Known vulnerabilities for npm, PyPI and crates.io, plus the other
ecosystems
osv-scannerreads, from one pinned, checksum-verified binary rather thannpm audit,pip-auditandcargo-audit. Tested against a fixture of deliberately old dependencies before trusting it: it found known-bad versions in all three ecosystems and resolved transitive Python dependencies from a plainrequirements.txt. It collapses aliases of one advisory into a group, so the counts are distinct advisories, not the larger raw number a naive listing gives. - Lockfile hygiene: a manifest with no lockfile, or unpinned
requirements, is reported on its own. This is not a nicety. The same
fixture held a
pyproject.tomlwith no lockfile, andosv-scannerskipped it silently, so without this check an unlocked project would look clean. - Outdated direct dependencies (npm via
package-lock.json, PyPI via pinned requirements, crates.io viaCargo.lock), reported as breaking-version behind: a new major, or a new minor for0.xcrates. Being a patch behind is counted but not alarming. - Deprecated npm packages recorded in lockfiles, and Actions that run on a deprecated runtime (node12/16/20, a list kept as a named constant with the date it was checked).
- Actions references in
.github/,.forgejo/and.gitea/workflows: a major version behind, floating on a branch, or SHA-pinned with no# vXcomment so staleness cannot be judged. Latest versions are looked up on the host the action actually comes from, so Forgejo workflows resolve againstcode.forgejo.org. - End-of-life base images and runtimes from Dockerfiles, compose
files and
python-version/node-versionkeys, using endoflife.date, plus images that float on:latestor no tag.
Severity. Known vulnerabilities and anything past end of life are FAIL. Being behind, floating refs, deprecated runtimes and incomplete lookups are WARN. None of it is CRIT: that tier stays reserved for a leaked secret, per decision #13, because a vulnerable version has no “rotate now” response.
Why osv-scanner and not the three native tools. Recorded in
docs/credits.md: one verified binary against three toolchains, formats
and advisory databases. The native tools are deeper inside one ecosystem
(cargo-deny also checks licences and bans); that depth is the cost, and
it is the reason to revisit if OSV’s coverage of one ecosystem turns out
thin.
The registry, and a rule 9 problem in the request. The request asked
for the private Forgejo repos to be added to registry/targets.yaml. That
file is committed to a public repository and read by a workflow whose job
summary is public, and the Forgejo host answers Only signed in user is allowed to call APIs to anonymous requests. Writing its hostname and its
private repo names into this repo would publish exactly what
security-posture.md rule 9 says not to, and CI could
not reach them anyway. So the public registry holds public repos only
(five were added: the fleet template, anjunatree, and three Home
Assistant integrations), and private or internal repos go in
registry/targets.local.yaml, which is gitignored, with a committed
registry/targets.local.example.yaml as the template. Six GitHub repos
found in the maintainer’s local checkouts are private, so they belong there
too. To make that
usable, a target can now be owner/repo, host.example/owner/repo, a full
clone URL (ssh included), or a path to a local checkout, which is cloned
so only committed content is audited. The four bugfix forks are not
listed, and the policy is written in the registry header so a later “add
every ha-* repo” does not quietly bring them back.
A bug in earlier work, found by writing the sibling code. The gitleaks
and semgrep wrappers returned nothing when the tool crashed, and their
callers read “nothing” as “clean”, so a crashed scanner reported PASS.
Reproduced with a fake binary that always exits 2, then fixed: a tool
failure is now an explicit marker, gitleaks falls back to the heuristic
scan and says so, and semgrep reports a WARN that the check did not
complete. The same pass added a timeout shim, because stock macOS has no
timeout and the old call would have failed there and hit the same path.
Decision #18 and #13’s statements that those checks “report absence as WARN
rather than PASS” were true for absence and false for failure.
What it cost. Each audited repo now takes noticeably longer, because
the outdated, Actions and end-of-life checks make live requests; a whole
registry run is a few minutes rather than one. Several third-party
services are now in the path (the npm, PyPI and crates.io registries,
endoflife.date, each Actions host, api.osv.dev), and a lookup that fails
degrades to “result incomplete” rather than a pass. depcheck.py is
Python, so python3 is now a real dependency of these checks (Python
3.11 or newer for Cargo, which is reported when missing). The Actions
lookup uses the calling repository’s own read-only job token, only to reach
the authenticated rate limit.
What it does not cover, said plainly.
- Outdated and deprecated are computed for direct dependencies only, from
npm
package-lock.json, pinned PyPI requirements andCargo.lock. Yarn, pnpm, Poetry, uv and the other ecosystems get the vulnerability check but not “outdated”. Lookups are capped at 100 per ecosystem per repo. - End of life covers official images for a fixed list of products, not arbitrary images, and does not judge how old a pinned patch version is.
- A repo’s
pyproject.tomlor unpinned requirements cannot be checked for vulnerabilities without resolving them, which would mean executing the target’s build tooling. Reported as a gap instead. - Only the current tree is read, not history, the same limit as decision #13.
Verified: the helper against fixtures for each check, including old
Actions refs on both GitHub and Forgejo, a floating ref, a SHA pin with and
without a version comment, an EOL image and runtime, and floating images;
osv-scanner against known-vulnerable lockfiles; the whole audit end to
end through conform.sh; all the target forms; and the new checks against
five real repositories from the list, which produced real findings in
every one that has dependencies (in aggregate: known vulnerabilities in
three of the five, outdated or deprecated Actions in three, and a floating
ref in one, after dtolnay/rust-toolchain was exempted as a deliberate
selector). The specific packages are deliberately not recorded here;
they are in the run output given to the maintainer.
Not verified: a real CI run (nothing is pushed), including the
linux_amd64 osv-scanner checksum step, which has only been read from
the published sums, not executed; any run against the private Forgejo
host, which has not been attempted and needs your credentials; and the
deprecated-runtime list beyond what GitHub had announced when it was
written.
What would justify revisiting: OSV missing advisories a native tool catches; the run time becoming a reason to skip the checks; or a second person wanting the private-target file shared, which would need a better home than one gitignored file.
Addendum to #22 (2026-10-12): Consigliere’s relationship changed in the retelling, its location did not
Section titled “Addendum to #22 (2026-10-12): Consigliere’s relationship changed in the retelling, its location did not”Decision #22 recorded, from a relayed message, that conformIT and the placidIT suite are “different projects with different goals” from Consigliere. Five days later the same relay said the opposite: Consigliere and conformIT are both part of the placidIT suite, related but separate. Neither statement can be checked from this repository, and the first is withdrawn here as unreliable rather than corrected to the second.
What can be checked is where the repository is. On 2026-10-12 GitHub
reports its canonical name as almadon/Consigliere. The placidIT
organization contains only conformIT, conformIT-reporting and
conformIT-reporting-template. placidIT/Consigliere and
SerenIT-org/Consigliere both answer, but only as redirects to the
almadon repository. So registry/targets.yaml keeps
almadon/Consigliere: a target should name the real owner, not a name that
works until someone looks closely. If Consigliere is meant to move into
placidIT, that is a transfer the maintainer makes, after which the
registry entry changes to match. A clone would survive the old name through
the redirect, but uses: references would not (decision #21’s addendum), so
this is worth getting right when it happens rather than discovering later.
24. Two rules proposed by the Consigliere session: known-good fallback and stated ownership
Section titled “24. Two rules proposed by the Consigliere session: known-good fallback and stated ownership”The Consigliere session, relaying the maintainer’s project, proposed two additions to the standard, and the maintainer approved drafting them. Drafted, for review, not yet adopted by any audit.
Chosen. design-principles.md #12: an automated
change to a running service validates, keeps a copy, applies, passes a
health gate, and restores itself on failure, with crash loops defined and
cleared by the fallback itself. documentation-standard.md
gains a conditional docs/ownership.md (a table of what each managed thing
is owned by, how, and why) and a module-README contract block, with a
template at templates/docs/ownership.md.
Rejected. Fix-forward only and manual-only rollback, for principle 12. Leaving ownership implicit in the code, for the second.
Cost. Principle 12 adds machinery around every apply, and a rollback can reinstate an older config that a security fix had replaced. The ownership file is another document to keep honest.
Not done, on purpose: audit checks. The proposal suggested checking for
a “Rollback” section and for docs/ownership.md. Neither is implemented.
A heading match is trivially satisfied by an empty section, and the audit
has no reliable way to tell that a project “has running components”. Adding
a check that warns on every existing project before the rules have been used
once would be noise. Revisit once a project has written both and shown what
a meaningful check would look for.
Provenance, said plainly. The motivating incident (an otelcol-contrib
crash loop on a Proxmox host, 2026-10-22) is as reported by the other
session. The Consigliere session also stated that it only partly conforms to
principle 12 (validate-before-replace exists; automatic restore after a
crash loop does not) and that role READMEs are not yet on the common
contract. conformIT’s audit has not been run on Consigliere, so neither
claim is checked here, and nothing records Consigliere as conforming.
What would justify revisiting. The health gate causing flapping in practice; the ownership table going stale in the first project that uses it; or an audit check that can be written without becoming a keyword match.
25. Moved for good, to almadon
Section titled “25. Moved for good, to almadon”conformIT moved from placidIT to almadon (2026-10-26, relayed from the
maintainer by the coordinating session and checked against GitHub before
acting). Decisions #21 and #22 stay as written: they record the two
earlier moves, and this one does not rewrite them.
Chosen. Every live reference now names almadon: README.md,
registry/targets.yaml (almadon/conformIT, with almadon/Consigliere
unchanged), .github/workflows/audit.yml (reporting_repo: almadon/conformIT-reporting), the reusable-audit.yml comments, the
uses: and --template lines in templates/.github/workflows/conform-audit.yml,
and the user-agent string in scripts/lib/py/depcheck.py. The local
directory is ~/Workspaces/Apps/almadon/conformIT and the GitHub remote
is git@github.com:almadon/conformIT.git.
Checked on GitHub, not assumed. almadon/conformIT and
almadon/conformIT-reporting-template are public and carry v1 to v4.
placidIT/conformIT redirects to the new home. almadon/conformIT-reporting
is private and holds the real report history through 2026-09-28.
placidIT/conformIT-reporting was not transferred: it is a fresh copy with
one report, and because the almadon one already existed it is redundant.
That repo is the maintainer’s to delete; this decision does not.
What the move was already costing. The scheduled audit failed on
2026-10-05, 10-12 and 10-19. For 10-19 the log was read: the failing step
is “Publish full detail to the private reporting repo”, with 403 Write access to repository not granted against placidIT/conformIT-reporting,
which the workflow on main still named. The audit itself completed; only
the publish step failed. The 10-12 and 10-05 logs were not read, and 10-05
predates the SerenIT move, so its cause may differ. Nothing reached almadon/conformIT-reporting after
2026-09-28, so there is a gap in the report history.
Checklist, with who does what and what was verified.
- Token, maintainer. Recreate
CONFORMIT_REPORTING_TOKENas a fine-grained PAT with resource owneralmadon, scoped toalmadon/conformIT-reportingonly,Contents: Read and write. Save it as an Actions secret onalmadon/conformITand on each caller repo. A secret namedCONFORMIT_REPORTING_TOKENalready exists onalmadon/conformIT(last updated 2026-08-27); whether its scope is right for the almadon repo was not verified and cannot be from here. Replace it if the next run returns 403. - Schedule. Both workflows report
activeand the schedule was firing as late as 2026-10-19, so GitHub had not paused it. A later pause for inactivity is possible after 60 days without repository activity, which this commit ends. - Callers, each repo’s owner.
uses: almadon/conformIT/...@v4. OldplacidIT/references keep working only through the redirect, and that has failed before (decision #21’s addendum), so change them. flashDK is being updated by its own session; this repo has not verified that. - Run once after the token is in place, to confirm the publish step and put a report back in the history.
Cost. A third org change in under three weeks, each of which broke something outside this repository. The lesson in #21 holds: the redirect is a courtesy, not a plan.
What would justify revisiting. Another move. If that happens, the
registry, uses: lines and reporting repo should be parameters of one
place, which today they are not.
26. A release-age cooldown for dependencies, Actions and images
Section titled “26. A release-age cooldown for dependencies, Actions and images”Requested by the Projects Coordinator and stated as approved by the user.
The trigger: the burnand.shop Forgejo build failed because the runner
runner-rmrg on the host Sibeles was running a three-month-old cached
node:22-bookworm (Node 22.23.1) while Astro 7 needs 22.23.4 or later.
Nothing ever refreshed the image. That is the stale half of the problem;
the opposite half is adopting a release the minute it appears, which is how
hijacked packages reach people. The policy handles both.
Policy (as relayed; the owners of the runners and fleet decide it).
- A new release waits 7 days before it is adopted, 14 days for a major version. This covers npm and Python packages, GitHub and Forgejo Actions, and base images.
- Security releases are exempt. Node 22.23.4 (2026-10-20) was one.
On GitHub this is automatic (Dependabot’s cooldown does not apply to
security updates). On Forgejo it is not: Renovate’s built-in
vulnerability alerts need the host platform’s alert API, which Forgejo
does not have. The substitute,
osvVulnerabilityAlerts, is experimental and covers direct dependencies only, so a fix to a transitive package or a base image will not arrive as an exempt PR. A Forgejo repo therefore either enablesosvVulnerabilityAlertsand still reviews transitive and image fixes by hand (npm auditin the loop, urgent bumps made outside the cooldown), or documents a manual security-review cadence. - Runner images are refreshed on a schedule, not by hand. After the cooldown, images are pinned by digest and the updater bumps the digest.
Chosen, in conformIT (cooldown in scripts/lib/py/depcheck.py, run
with the other dependency checks). It reads configuration only and makes no
network calls, and every finding is a WARN, not a FAIL: this is a new
policy with no existing base of conforming projects, so failing builds on it
on day one would punish projects for a rule they did not have. It flags:
- no Dependabot or Renovate config on a repo that has dependencies;
- a Dependabot entry with no
cooldown, adefault-daysunder 7, or a major-version wait under 14, and an ecosystem in use (npm, Python, Cargo, Actions, Docker) with no Dependabot entry at all; - a Forgejo or Gitea repo with no Renovate config, since Dependabot does
not run there, and a Renovate config with no
minimumReleaseAgeof 7 days or more, or none of 14 or more for major versions (approximate: it looks for any such value in the file, not for the rule that applies it); - Renovate with
vulnerabilityAlertsdisabled, which would make security releases wait out the cooldown too; - a Forgejo or Gitea repo with Renovate that has neither
osvVulnerabilityAlerts: truenor a documented “manual security review” (searched for indocs/,README.mdandSECURITY.md). Either one passes. Note what that means: OSV alerts alone still miss transitive and image fixes, so passing this check shows a security path exists, not that it is complete; - a repo using pnpm with no
minimumReleaseAge, or npm with nomin-release-agein.npmrc, so the developer’s or CI’s own install also waits; - a base image with no
@sha256:digest (Dockerfiles and compose files). The existing end-of-life check already reports images floating on:latest.
Rejected. Flagging “releases newer than N days” in the audit itself: it cannot tell a security release from a feature release in most ecosystems, and adopting a fresh release is not by itself wrong. The cooldown belongs in the updater and the installer, where it can actually hold a release back, so the audit checks that it is configured.
Verified.
- The check against eight fixture repos covering each branch above, and
against real repos: conformIT, flashDK, Consigliere,
anjunatreeandha-propsenseeach report a gap. conformIT has no updater config either, so this change applies to itself and conformIT is not conforming. - npm 11.20.0 recognises
min-release-ageandmin-release-age-exclude, both off by default (npm config get).
VERIFY, from web search results only.
- npm:
min-release-agewas added in npm 11.10 (the only version confirmed here is 11.20.0). Sources disagreed on the option’s exact name, hence the local check above. Units are days. - pnpm:
minimumReleaseAge(in minutes) arrived in 10.16, with an exclude list; reportedly on by default at 1440 minutes from pnpm 11. - Dependabot:
cooldowntakesdefault-daysandsemver-major-days,semver-minor-days,semver-patch-days(1 to 90), and does not apply to security updates. One page says an omitteddefault-daysmeans a 3-day cooldown; another says the semver keys fall back todefault-days. This check requiresdefault-daysto be set explicitly. - Renovate digest updates (item 3 of the policy). A search result
describes an advisory (CVE-2026-88884) saying that before Renovate
44.3.1, digest updates were not subject to
minimumReleaseAge. Pinning images by digest and letting Renovate bump the digest is exactly that path. Whoever runs Renovate for the Forgejo repos should confirm its version before relying on the cooldown for image digests. - Forgejo security exemption. Framework-rose’s
deploy/dependency-updates.md(commitfd243ba, local only, read here but not independently tested) and a search both say OSV alerts are experimental and direct-dependency-only. The Renovate documentation forosvVulnerabilityAlertsand Forgejo’s platform support were not read directly. One source saysvulnerabilityAlerts.minimumReleaseAge: nullis already the default, so setting it may be redundant. - Untested on the runner, per framework-rose: the regex manager that
lets Renovate read the runner label in
deploy/runner/config.yml(its key ismanagerFilePatternson recent Renovate andfileMatchon older versions), and running Renovate as a scheduled Forgejo Actions job. Treat both as unverified until run on the runner. The label-digest pin indeploy/forgejo-runner.mdis described there as planned, not adopted.
Not covered, said plainly.
- Runner image age. The failure that started this lived in a cached
image on a runner host, which no repository file shows. The audit cannot
see it. The fix is the scheduled pull and restart owned by the Consigliere
session on Sibeles (
/opt/forgejo/runner/rmrg/config.yml, labelnode:docker://node:22-bookworm), and the runner documentation by framework-rose. Neither was inspected here. - Whether Dependabot security updates are switched on is a repository setting, not a file.
- How old any particular dependency actually is. Only the policy being configured is checked, not whether it was obeyed.
Onboarding checklist, for each repo that adopts it.
- GitHub repo: add
.github/dependabot.ymlwith acooldownblock per ecosystem and enable Dependabot security updates in the repo settings. - Forgejo repo: add
renovate.jsonwithminimumReleaseAgeand keep vulnerability alerts on. Renovate needs a Forgejo token for a bot account and, to avoid rate limits looking up GitHub-hosted Actions and changelogs, a GitHub token (VERIFY which scopes). Those are the maintainer’s to create; nothing here creates or stores them. - npm projects:
min-release-age=7in.npmrc; pnpm projects:minimumReleaseAge: 10080inpnpm-workspace.yaml. - Pin base images by digest once the tag has aged past the cooldown.
Cost. Slower access to fixes that are not flagged as security fixes, and a pinned digest is a reviewed change on every bump, which is the point but is more PRs. Warnings on every existing project until each adopts it.
What would justify revisiting. The cooldown delaying a fix that mattered and was not marked a security release; Renovate’s digest handling turning out to bypass the age; or a way to see runner image age from a repository, which would let the audit cover the incident that prompted it.
27. Eight proposed design principles from the Consigliere session, not adopted
Section titled “27. Eight proposed design principles from the Consigliere session, not adopted”The Consigliere session proposed principles 13 to 20 at the maintainer’s
request. They are recorded here as proposals, and design-principles.md is
unchanged. Principles are defaults every project is held to, several of
these are narrow, and nobody has reviewed them yet; adopting them is a
separate step.
Checked against the public Consigliere repo (dc35fac, 2026-10-28).
hosts/bootstrap/reconcile.sh and a per-host fleet-reconcile.timer
exist. RECONCILE_FULL_EVERY_SECS is in reconcile.sh.
RECONCILE_PRECHECK is in its docs/decisions.md, and RECONCILE_PROFILE
in its docs/cli-reference.md. Nice=, CPUWeight and IOSchedulingClass
are set in the baseline role. CHANGEME assertions exist in the
wazuh_agent, restic_server and certwarden_agent roles. The repo is MIT.
Not checked, so taken as reported: the Homarr role specifically, the
Muximux and Grafana behaviour (principle 18), the 76 second, roughly 80 task
measurement (16), the three CPU-minute figure (17), and the dropped commits
from a rebase --skip loop (20). No rebase --skip appears in the source,
which is expected for an incident, so nothing here corroborates it.
The proposals, with my triage.
| # | Proposal | Recommendation |
|---|---|---|
| 13 | Convergence belongs to the host: each host pulls and applies its own declaration | Adopt, conditional on more than one host and no need for an ordered rollout. Its source is one project. |
| 14 | Skip repeat work, but bound the skip (forced full run after a maximum age, manual force, a record when skipped) | Adopt, merged with 15 and 2 as one reconciler principle |
| 15 | Run the expensive check pass only when the declaration changed; never infer “nothing to apply” from a clean check alone | Adopt in that same principle. The proposer says it is not yet measured end to end, and that should stay in the text. |
| 16 | Measure the loop before optimising it, and ship a profile switch | Do not adopt as a principle. It is a practice with one measurement behind it. At most a sentence under the reconciler principle. |
| 17 | A background control loop must not compete with the workload it controls | Adopt, narrow. Cost: longer runs on a busy host. |
| 18 | Manage a floor, not a ceiling, where an app has its own UI | Adopt together with docs/ownership.md from #24 (in a8f9a35, pushed), which it depends on. |
| 19 | A dormant change fails loudly until its precondition is met | Adopt. The CHANGEME assertions are real. |
| 20 | Never script around a history rewrite (no rebase --skip retry loops) |
Not a design principle. It belongs with the history rules in commit-and-history.md and AGENTS.md rules 4 and 6. |
Merging 14, 15 and part of 16 into principle 2 would leave five new principles, not eight, and would renumber them, so the numbers 13 to 20 in the proposal should not be quoted as final.
Still true of all of them: each is a default, not a law, and each needs its cost stated in the principle itself, as #4 and #5 require. The proposals carry costs; the edit that adopts them must keep those.
Audit checks: none, for the reason in #24. A heading match is trivially satisfied, and the audit cannot tell what a project reconciles.
A scanner finding reported alongside. The Consigliere session says its
audit has two failures that are scanner false positives: git@github.com:
clone URLs read as email addresses, and example tailnet placeholders read as
private hostnames. The first is confirmed: conformIT’s own example file
tripped the same check (ssh://git@git.example.invalid/..., reworded in the
cooldown work). The second was not reproduced. Neither is fixed; changing
the scanner’s patterns touches docs/security-posture.md rule 9 and wants
its own decision.
What would justify revisiting. A second project using the reconciler pattern, which would test whether 13 to 15 generalise beyond Consigliere.
28. A standard README order, a visual style, and an audit check for both
Section titled “28. A standard README order, a visual style, and an audit check for both”Requested by the Projects Coordinator, relaying the maintainer: README, docs and UIs across the HA (HACS) projects, Consigliere and Novak should be clean, easy to follow and written in prose that sounds like a person, with mostly the same order of contents, some colour, and a logo or graphic. The examples named were Consigliere’s architecture diagram and its Cmdr interface. conformIT is the reference.
What was missing. The README template had What this does, Use cases, Getting started, Documentation and Licence, no fixed place for usage, configuration, architecture or development, no picture, and no convention for colour or diagrams. The audit checked that a README existed and what it disclosed, not its shape.
Chosen.
- A fixed section order, in
documentation-standard.mdunder “README order” and in the rewrittentemplates/docs/README.md: What it does, Use cases, Getting started, Usage, Configuration, How it works, Documentation, Development, Licence. Usage, Configuration and How it works may be dropped when empty. How it works may also come right after Use cases, because Consigliere’s README does exactly that and is the reference; the first version of the check failed that README until this was allowed. docs/visual-style.md: one picture under the status block, a diagram style taken from Consigliere’slayers.svg(numbered bands, white cards, six colour families as fill and stroke pairs, CSS variables with a dark mode, the system font, accessible title and description), and a generic starting file,templates/docs/images/overview.svg.scripts/lib/py/docscheck.py, run with the other checks: WARN on a missing What it does, Getting started or Licence, an out-of-order heading, no picture above the first section, and relative links in the README ordocs/that point at nothing. Headings match by meaning (“Install” counts as Getting started). Em dashes were already checked. All WARN, not FAIL, for the same reason as #26: a new rule with no conforming base.- Forks are exempt.
ha-homebox,memoket-ha,openwebui-importerandniimprintare forks kept to carry a fix, and their READMEs are not ours to restyle. They are already left out of the registry (#23). A fork that is audited directly can carry<!-- conformit: exempt fork of OWNER/REPO -->in its README and the structure check skips it.
Verified. The check against Consigliere’s README (the reference, which passes), against fixtures for a clean README, a bad one and an exempt fork, and against conformIT itself. The diagram template parses as XML and renders in the preview pane in light mode.
Not verified. The dark-mode rendering of the template (it uses the same
variables as Consigliere’s file, which I did not render in dark mode either).
Consigliere’s Cmdr interface was not seen, so visual-style.md says so and
derives nothing from it. Nothing was checked against the HA or Novak
projects’ READMEs.
Proposals from the project sessions. The coordinator asked for the proposals of ha-niimbridge, ha-propsense, ha-unity, ha-letpot, Consigliere (fork 3 and ctrlZen) and Novak Konzol to be folded in. Three have arrived: ha-propsense, the Consigliere session’s Cmdr notes, and Novak Konzol. The others had not when this was written, and nothing stands in for them. ha-propsense raised four things:
- Commit trailers. The standard says
Assisted-by:replacesCo-Authored-By:, but Claude Code appends its ownCo-Authored-By:. Taken:commit-and-history.mdnow says both may appear, the tool’s line is read as “this tool wrote it”, it is not removed by rewriting history, and a project may ask the tool to omit it without that being guaranteed. The report says a project instruction does not override the harness; this session’s own harness text says a user’s instruction does take precedence. These disagree, so it is recorded as VERIFY per tool. - UI copy. Taken: a short
docs/ui-copy.md(plain words, say what to do next, paused is not broken, one term per concept). It generalises one project’s example and has not been tried elsewhere. - The em dash command. Taken: the check is now written with
$(printf '\xe2\x80\x94')inwriting-style.md, this repo’sAGENTS.mdandtemplates/AGENTS.md, so the file holding the command does not contain the dash it forbids. Confirmed to work under bash. - Images in HACS. Taken as guidance in
visual-style.mdand a comment in the README template: outside GitHub, use an absoluteraw.githubusercontent.comURL. That HACS renders it, and keeps an SVG’s dark mode, is VERIFY.
The Cmdr notes (Consigliere, ctrlZen) are folded into visual-style.md
under Interfaces and “Documentation of a module”: page order, a one-accent
colour system, type, components, empty and error states, and the README
pattern. They are secondhand. I measured the contrast ratios myself (the
notes marked them VERIFY) and recorded that the light palette’s unknown
fails even 3:1 and several light status colours fall just under 4.5 as text.
The Cmdr README the notes describe was not where I looked: the file I found
at consigliere/_docs-framework/hosts/roles/cmdr/README.md is 55 lines with
three sections, so it may be the old version or a different checkout. Not
verified.
Novak Konzol raised four things, all taken: a README for a deprecated or
moved repo (templates/docs/README-deprecated.md, recognised by the check,
which wants a link onward); a statement of where diagrams live and how they
theme (docs/images/*.svg, CSS variables, a dark block); keeping file and
environment-variable names out of what an end user reads (in ui-copy.md);
and one status blockquote holding status, warranty and LLM use, which I
chose over separate paragraphs because the Consigliere and Novak READMEs
already agree on it.
A later message from Consigliere (fork 3) summarised the order it settled
on across three repos, which matches this standard (title, bold tagline,
status blockquote, centred diagram, What it does, Use cases, Getting started
straight after, then project sections, Documentation as a Read and For table,
Contributing, License). Taken from it: the Read and For table header, errors
that end with a next step, a rendered check for diagrams, and guidance for
private repositories (README says “private, not licensed for reuse”; a
LICENSE file says the same; a template repo needs a real licence, which is
the maintainer’s to choose). Its diagram description lists five tints;
Consigliere’s own layers.svg defines a sixth, red, which I kept.
conformIT does not conform to its own new check. Its README has no What it does or Getting started section and no picture at the top. Fixing that means rewriting the reference README and drawing a diagram, which is the maintainer’s call and not done here.
Cost. Another set of warnings on every project until each adopts the order, and a README order that suits most projects awkwardly fits a few. The exemption marker and the freedom to drop empty sections are the relief valves. What would justify revisiting. The order fighting a real project’s content; or the heading match, which is by meaning and so can be fooled, producing false passes.
29. Wizards ask first, then ask permission
Section titled “29. Wizards ask first, then ask permission”The maintainer’s rule, relayed by the Consigliere session, is now
principle 13 in design-principles.md: a setup wizard collects its
answers and changes nothing, shows what it will do and waits for an
explicit yes (a flag when non-interactive, never a default yes), does not
re-ask for an action already approved, and uses secrets once without
storing or echoing them. See the principle for the source and what was
checked in Consigliere’s bootstrap scripts.
Numbering. The principle took the number 13 because it was the next free one. Decision #27 proposes other principles and labelled them 13 to 20, and said those numbers were not final. When those are adopted they renumber after this one.
No audit check, again. The proposal asked for one where a mechanical
check is possible. The only available check is looking for a prompt or an
approval flag in files named bootstrap, install or setup, and that is
satisfied by the word Proceed in a comment, the objection recorded in
#24. Rule 4 is partly covered by the existing secret scanner. Rules 1 to 3
are about order of operations, which a grep cannot see.
Cost. One more confirmation in an installer. What would justify revisiting. A project shipping a wizard that applies without asking, which would show what a real check should look for.
30. What is fixed in an interface is usability and accessibility, not the theme
Section titled “30. What is fixed in an interface is usability and accessibility, not the theme”The maintainer’s direction, after reading #28: theming and colour schemes are not hard rules. What the framework fixes is consistency in the usability and accessibility options, and the Anjunabeats catalog explorer (AnjunaTree) was named as the one with insight on this.
Chosen. A new docs/accessibility.md states the principle (follow the
system, let the user override, remember the override), the options every UI
offers (text size, high contrast, reduce motion, larger marks, colour
scheme) and the floor under any theme (keyboard, focus ring, 44px targets,
colour never alone, measured contrast, resizable text, real structure). The
palettes in visual-style.md, including Cmdr’s and the diagram families,
are now labelled examples, and the diagram colour meanings are a default.
Themes are free, on the condition that a set of identity colours is checked
as a set and the result recorded, which is design principle 10.
What I read, and what I did not do. I read AnjunaTree’s repository
(afterglowfc/anjunatree, fa45e36, 2026-11-16): the settings model
(four text sizes, highContrast, reduceMotion defaulting to the system
preference, largeMarks), the data-contrast and data-motion CSS, the
focus-visible rule, 44px controls, and the theme validator figures in
src/themes.ts. I did not read the 5,748-message Anjunabeats session in
full, only its latest messages, which were about playback and an npm audit
fix and held nothing on accessibility, so anything that session knows beyond
the repository is not here. I did not run the app, test it with a screen
reader, or check any figure it reports.
A gap found in the reference. AnjunaTree offers High contrast as a
toggle and does not read prefers-contrast or forced-colors. The standard
recommends honouring them and says it is a recommendation, not a practice
taken from a project.
No audit check, again, with one candidate. Offering a setting is a keyword match. What can be checked mechanically is contrast, so the useful future check is running a palette validator against a project’s own colours, as AnjunaTree already does. Not built.
Cost. Every project with a UI owes its users the same options, which is work, and the work is worth most to the people who need it. What would justify revisiting. A project where one of the options cannot apply and the “record the gap” route proves too soft; or the Anjunabeats session holding fixed requirements the repository does not show.
31. An accessibility audit check, a required text size control, and viewport testing
Section titled “31. An accessibility audit check, a required text size control, and viewport testing”The maintainer’s direction, as I was stacking the earlier changes for review: the audit check, text size controls, and viewport testing should be part of the standards as well. #30 had said no audit check, because “offers a text size control” is a keyword match (#24). This supersedes that part of #30. The reason for the change is that the maintainer asked, and that a check which prompts the question is better than none, provided the standard says plainly what it cannot see.
Chosen.
docs/accessibility.md: text size is a required option and the type is built in relative units so it works; the page keeps working at 200% zoom and reflows at 320 CSS pixels (WCAG 1.4.4 and 1.4.10); pinch zoom is never disabled. A new “Test at different viewports” section sets four widths (320, 390, 768, 1280), the largest text size, 200% zoom, light and dark, and landscape, with what must hold at each. A closing section lists what the audit checks.docscheck.py ui: for a repo with markup or components, WARN when it finds no viewport tag, pinch zoom disabled,<html>withoutlang,<img>withoutalt, animation with no reduced-motion handling, a removed focus outline with no replacement, no text size control, no automated viewport test, or no accessibility statement. A repo with no screen prints nothing, so conformIT itself is unaffected.
Verified. Against a clean fixture (passes), a fixture with every problem (eight warnings), a non-UI repo (silent), and AnjunaTree, which passes all of it except automated viewport tests, matching what I found in its repository. Not verified: other real UI projects (Consigliere’s Cmdr, the Novak UI, the Home Assistant integrations), so false positives on real code are unknown.
What it cannot do. It reads source and tests nothing. The text size and viewport checks match keywords, and the focus and motion checks match patterns, so a project that does the right thing under an unexpected name will be warned, and one that merely contains the words may not be. It does not measure contrast, check a screen reader, or render anything. The check exists to prompt the question and the standard asks the project to answer in its documentation.
Cost. More warnings on every UI project until each adds a viewport test and a statement. Possible false positives, tolerated because they are WARN and have an answer: say it in the docs. What would justify revisiting. The false-positive rate on real projects being high enough that people stop reading the warnings; or a contrast validator that could be run here, which would be a better check than any of these.
32. The em dash rule covers prose and comments, not code
Section titled “32. The em dash rule covers prose and comments, not code”The maintainer clarified that the em dash rule applies to user documentation, READMEs and comments, the things a human reads, and that it must not affect actual code.
What was wrong. The audit itself was already right: its check scans only
README.md and docs/*.md. The overreach was in how the rule was stated and
applied. writing-style.md called the rule “hard” without saying where it
applies, and this repo’s own build command grepped scripts/ and .github/,
which are code, so a dash in a string, a regex or a workflow would have failed
a check meant for sentences. I also ran that broad grep myself several times
this session while verifying changes. None of it found anything, so no code
was edited because of it, but the wording invited it.
Chosen. writing-style.md now has a “Where it applies” section: the rule
covers documentation, READMEs and comments; it does not cover string
literals, regular expressions, data and config files, test fixtures,
generated output or vendored files, and a style check is never a reason to
change how code behaves. The check command in writing-style.md, this repo’s
AGENTS.md and templates/AGENTS.md now uses --include='*.md' so it reads
Markdown only. Tested with both the ugrep this shell uses and macOS’s
/usr/bin/grep: both skip scripts and SVG and report only Markdown.
ui-copy.md and visual-style.md were reworded to match.
Comments are covered by the style but not checked. Telling a comment from code takes a parser per language, and a pattern that guessed would sooner or later flag real code, the thing the maintainer asked not to happen. A reviewer catches a dash in a comment. If a mechanical check for comments is wanted, it would need to be per language and opt-in.
One reading to confirm. User-facing strings inside an app (button labels,
error messages) are human-read but live in code. I treated them as covered
by ui-copy.md, which now says to avoid em dashes there as a style
preference that is not checked, not as a rule. If the maintainer wants UI text
fully exempt, that line comes out.
Cost. A dash in a code comment is no longer caught by any tool. What would justify revisiting. Dashes turning up in comments often enough to matter, which would argue for the opt-in per-language check.
33. First adoption reports: exceptions, gaps and a parser bug
Section titled “33. First adoption reports: exceptions, gaps and a parser bug”Two projects ran the new checks: ha-niimbridge, and Consigliere’s Cmdr (an interim report; its README restructure, diagram and viewport tests are not done). The Projects Coordinator passed on one of the same findings.
A bug in my cooldown check. _dep_days matched default-days and
semver-major-days only at the start of a line, so a compliant inline
mapping, cooldown: {default-days: 7, semver-major-days: 14}, was reported
as unset. Both reports were right. I reproduced it with eight fixtures before
changing anything: quoted and multi-line mappings failed too, and a second
bug showed up, where a commented-out cooldown: counted as present. Fixed by
stripping comments and accepting a key at the start of a line or after { or
,. All eight now behave, and on Consigliere’s real file (021490c) the
false warning is gone while its two true ones remain. My earlier fixtures for
#26 used block style only, which is why this shipped. A whole entry written in
flow style (- {package-ecosystem: npm, ...}) is still not read. The check
parses text rather than YAML, to keep the helper standard-library only.
From ha-niimbridge.
- Floating refs that a project’s documentation requires
(
hacs/action@main,home-assistant/actions/hassfest@master; a search found both in the documented examples). Not allowlisted. A floating ref adopts whatever was published a minute ago, which is what #26 exists to slow down. Instead a line may carry# conformit:allow-floating <reason>, which records a deliberate exception where a reviewer sees it. The check does not judge the reason. The search also noted that some projects pin the HACS action to a tag, which is better where it works. manifest.jsonrequirements. Home Assistant integrations declare Python dependencies there. Dependabot does not read them (as reported; VERIFY). Renovate’s documentation describes a Home Assistant manifest manager; that it matchescustom_components/paths in a given repo is VERIFY. The cooldown check now warns when such requirements exist with no Renovate config.- “No Dependabot config” for a file that existed. The file was untracked.
The audit reads tracked files by design, so this stays, and the usage text
now says to
git addfirst. - Extra README sections and short conditional files: both allowed, now
stated in
documentation-standard.md. - HACS image rendering is still VERIFY.
From the Cmdr report.
- The audit reads only the root README, so a role README gets no structure check. Now stated, with what a module README should open with. That settles the apparent clash between “opens with the contract block” and the root README order.
- “Add the cooldown config for the host” in my dispatch meant the git host (GitHub or Forgejo), not the machine a runner is on. Runner image refresh is a separate item (#26).
- Its other warnings (no text size control, no viewport test, no accessibility statement) it reports as true.
- Not fixed: two scanner FAILs it calls false positives. Clone URLs such
as
git@github.com:you/fleet.gitread as email addresses, and placeholder*.example.ts.netURLs read as private hosts. It checked six of the hits; the rest are VERIFY. The email case is now reported by two projects and happened here too (#27). These are FAILs, so they cost more than the warnings above. Changing what the sensitive-content scanners ignore falls undersecurity-posture.mdrule 9 and wants the maintainer’s decision: an over-broad exemption would hide a real address or host.
Cost. The exception marker can be used to silence a warning that should have been fixed. What would justify revisiting. Markers appearing without real reasons; or a third parser bug, which would argue for a real YAML parser despite the dependency.
34. Correction: Dependabot cannot wait longer for major versions of Actions or images
Section titled “34. Correction: Dependabot cannot wait longer for major versions of Actions or images”I was wrong, and the error went out to other projects. #26’s check
required a 14-day wait for major versions on every Dependabot entry,
semver-major-days: 14 in practice, and my dispatch to the project sessions
told them to configure default-days: 7, semver-major-days: 14. Dependabot
accepts default-days for every ecosystem but the semver-*-days keys only
for some. The support table in GitHub’s Dependabot options reference, read
from the github/docs source on 2026-11-25, marks them not supported for
GitHub Actions, Docker, Docker Compose, Terraform, Bazel, Devcontainers, git
submodules, Helm, Nix flakes, OpenTofu, pre-commit and vcpkg. npm, pip, uv
and Cargo support them. Several public repositories report that Dependabot’s
validator rejects the key where unsupported; if so, the whole file fails and
updates stop silently. That consequence is reported, not reproduced here.
I marked parts of #26 VERIFY but not this, because I never asked whether the
keys applied to every ecosystem. It surfaced while checking another point.
The same read settles one #26 VERIFY: with no default-days, Dependabot
applies a 3-day cooldown, and cooldown never applies to security updates.
Chosen. For the ecosystems that lack the keys, the check requires only
default-days of 7 or more, and warns if a semver-*-days key is present so
it gets removed. Ecosystems that support the keys still need 14 days for
majors. This leaves a real gap in the policy: Dependabot cannot make only
major Action or image updates wait 14 days. Two ways to cover it, neither
chosen for projects here: set default-days: 14 on those entries, which
delays patches too; or keep 7 and have whoever reviews hold a major for
another week. Renovate can express the rule through packageRules. Which to
use is a policy question for the maintainer.
What affected projects must do. Remove semver-*-days from
github-actions, docker and docker-compose entries, then check the
repository’s Dependabot page (under Insights, Dependency graph) for a config
error. Consigliere’s file at 021490c has the key on its github-actions
and docker entries. I found no Dependabot run or pull request there, which
does not show whether it was rejected or has not run (VERIFY).
Cost. The standard is weaker for Actions and images than it claimed. What would justify revisiting. GitHub adding the keys for more ecosystems; the table is dated for that reason.
35. Placeholder addresses pass the scanners, and a hidden-line bug is fixed
Section titled “35. Placeholder addresses pass the scanners, and a hidden-line bug is fixed”Two projects reported the email and private-address checks failing on placeholders (also seen here, #27). The maintainer approved narrow exemptions and asked that URLs and addresses be made generic.
Chosen. The email check now also ignores addresses under reserved
documentation domains (subdomains of example.com, .org, .net, and
.example, .invalid, .test) and the exact addresses git@ at
github.com, gitlab.com, bitbucket.org, codeberg.org and
code.forgejo.org. The private-address check ignores a hostname with a label
that is exactly example. security-posture.md tells projects which generic
values to use. The secret scanners are unchanged.
A bug found while reading the code. The private-address check removed
exempt addresses by dropping the whole line, so a real private address on the
same line as a documentation address or 127.0.0.1 was not reported. It
now removes only the exempt token. A repo that passed before may fail now,
correctly.
Verified with a fixture of invented addresses, running the scanners before
and after: the placeholders stopped being flagged; a private-forge clone URL,
a personal address, another user at github.com, a look-alike domain,
notexample.ts.net and an ordinary tailnet host are still flagged; and the
mixed line the old code missed is now flagged. Consigliere’s own hits were not
re-checked, and it opened only some of them.
Not done: downgrading private addresses for private repositories. It was recommended, and the maintainer asked for it to be explained before deciding. A private fleet repo that exists to list addresses still fails this check.
Cost. Someone could publish a real host under an example label and it
would pass. That takes naming it that way on purpose. What would justify
revisiting. Any real address found to have passed through one of these.