/hexaemeron:hypomnemafrom Hexaemeron
Decides what gets written down and where it lives: decision records for expensive-to-reverse choices, why-comments, runbooks, READMEs, and alert pointers. Use when a decision is made, an interface changes, an alert needs a target, or the same explanation has been given twice.
Ships in Hexaemeron. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
From hypomnema, the note written so the reason survives the person who had it. Code records what was built. This records why, and what was turned down.
Hypomnema owns what gets recorded and where it goes.
Protasis decides what a study must answer before the build. Hypomnema takes the later question: which expensive-to-reverse decision, interface reason, runbook, README, or alert pointer must survive and which existing home owns it. During Fiat's prose phase it runs before Scribe applies Imprimatur and Vulgate. Fiat keeps the mask order, pull-request text, and receipt.
A Synkrisis finding may give a maintainer a reason to write or point to a record. It does not choose the durable home; Hypomnema's ordinary placement judgement still owns that decision.
Its version, held frontier, next job, and maturity state live in EVOLUTION.md.
Current state. The ordinary walk checks recognised record and runbook
pointers and shapes, including stable adr/<slug> identities. An explicit
study mode binds one selected Protasis candidate through a closed design bridge
to exactly one numbered ADR, shape-valid numberless draft, or governed-skill
ledger. A stable selector resolves to one canonical ADR draft or final. It refuses a duplicate the study declares; it does not discover the
same decision standing in a second established home when the study declares
one.
Look before writing. An existing convention beats every default below, and a second scheme alongside the first helps nobody.
Check for decision records already in the tree, the numbering and naming they use, the headings they carry, and any tooling that generates them. Where the evidence conflicts, say so rather than quietly picking one.
Three conventions already run in this marketplace and its applications. Each
governed skill records its own decisions in an EVOLUTION.md ledger, so a
decision about one skill belongs there and not in a second document. The
marketplace's cross-cutting decisions live under docs/decisions/ as numbered
records in the shape below, ADR-001 onward. The application generates its
changelog from conventional commits through release-please, so the commit
message is the changelog entry, and hand-editing the generated file loses at
the next release.
A decision earns a record when undoing it later would cost real work: a framework or a dependency that spreads, a data model, a trust boundary, an interface others build against, a storage format that outlives its writer.
Where no convention exists, put them in docs/decisions/. In this repository,
new records begin under docs/decisions/drafts/ with a stable lowercase ASCII
slug and receive their number only in the final integration composition. Keep
this authoring shape.
# Decision: <the decision, stated as a decision>
## Status
Accepted, 2026-08-18. Superseded by ADR-00N once it stops being true.
## Context
What forced a choice, and what was already true.
## Decision
What was chosen, in one sentence.
## Alternatives
Each one considered, what it offered, and why it lost.
## Consequences
What this makes easy, what it makes hard, and what it commits us to.
Name that file <slug>.md, where the slug is lowercase ASCII kebab-case and
at most 96 bytes. Cite it as adr/<slug> in Markdown and supported source
comments before and after assignment. One slug names exactly one draft or
final record; numbered records inherited from the base may share a slug only
while their original paths, modes and bytes remain intact. A draft never takes
one they hold. A Markdown file directly under
docs/decisions/ that is neither is tolerated only while it is inherited
unchanged from the base; the product may not add or change one. Existing ADR-NNN-<slug>.md records and ADR-NNN references
remain valid and are not rewritten to adopt the stable form.
An absent canonical docs/decisions/drafts/<slug>.md bridge or relative Markdown link resolves through the stable identity only when exactly one ordinary numbered final remains. A present literal path keeps its existing reading. Unsafe, ambiguous, missing or unstable candidates refuse; historical study and ledger bytes stay unchanged. The ordinary walk confines this compatibility lookup to its current repository root.
The merge composer, not the author, assigns a draft's number. Let B be the
full immutable commit still named by the active integration-base ref and P
the full product commit containing the drafts. The bounded helper plans the
mapping from native Git objects, applies it to a clean worktree at P, and
replays the canonical report:
python3 "$PLUGIN_ROOT/skills/hypomnema/scripts/decision_assignments.py" plan \
--repo . --base "$B" --base-ref refs/remotes/origin/main --product "$P" \
--report .hexaemeron/decision-assignments.json
python3 "$PLUGIN_ROOT/skills/hypomnema/scripts/decision_assignments.py" apply \
--repo . --report .hexaemeron/decision-assignments.json
python3 "$PLUGIN_ROOT/skills/hypomnema/scripts/decision_assignments.py" replay \
--repo . --report .hexaemeron/decision-assignments.json
The planner takes the greatest three-digit number in B, ignores every hole
below it, sorts at most 32 draft slugs by ASCII bytes, and assigns consecutive
numbers. It derives ADR-NNN-<slug>.md from the validated slug, substitutes
only the exact first # Decision: <title> heading, and preserves mode and all
remaining bytes. Its canonical fiat-decision-assignments/v1 report binds the
exact base, base ref, product, result tree, blobs, ordered mapping, object
format, and fixed ceilings.
An inherited numbered record may remain exact or gain an appended amendment.
Its path and mode must stay exact, and every base byte must remain the product
blob's prefix. Both changed blobs pass through the existing bounded native
reader. The assignment leaves the amended product bytes intact in the result
tree. This checks preservation, not the amendment's meaning or approval.
Deletion, relocation, truncation, rewriting or a mode change still refuses
with inherited-record-drift.
Every Git command disables replacement objects, inherited GIT_* repointing,
prompts, lazy fetches, and user or system configuration. A shallow repository,
wrong object type, moved base ref, unrelated product, inherited record drift,
changed, removed or relocated inherited draft, new numbered record in the product, hostile
path or slug, duplicate identity or number, oversized input, exhausted
three-digit namespace, dirty or wrong worktree, report drift, or partial
mutation refuses with one bounded code. Plan and replay change no repository
tree. Apply validates every source and destination before its first rename and
restores every source if an I/O operation fails.
A draft already present in the base participates in the same sorted assignment
only when its path, mode and blob remain exact in the unnumbered product.
Changed or missing inherited drafts refuse with inherited-draft-drift.
This permits repairing a base that shipped a draft without permitting an
assignment to rewrite that inherited decision.
The alternatives section is the part that pays. A record saying only what was chosen tells a reader nothing they cannot get from the code; the value is in the options that lost and the reason they lost.
Records are not deleted when they stop being true. Write a new one, mark the old superseded, and leave the history where somebody can follow it.
A shipped study is a ready-made source: it names a chosen design and the
alternatives that lost, which is exactly the material above. Before the step
that ships a study is receipted, that choice becomes a standing record or
points at one -- an ADR under docs/decisions/ when the choice cuts across
the repository, the skill's EVOLUTION.md row when it belongs to one
governed skill. The study itself is a run artefact, not a record: the next
reader finds the code and the ledgers, and the option that lost survives only
where a record holds it. Pointing is enough; writing the same decision into
two homes is the drift the conventions above refuse.
A comment restating the line above it goes stale and was never worth reading. A comment carrying the reason stays true for as long as the reason does.
# Nothing: the next line says this
counter += 1
# Something: the window resets at the boundary rather than on a timer,
# so a burst at the edge cannot buy a second allowance
if now - window_start > WINDOW:
counter, window_start = 0, now
Write down a trap where somebody will hit it: an ordering that matters, a call that must happen before another, an argument that looks optional and is not. Point at the decision record when one exists.
Leave no commented-out code, since history already has it, and no note promising work you could do now.
docs/decisions/.EVOLUTION.md, which is
the ledger the versioning contract already checks.docs/runbooks/, one file
per alert, named for the alert so the link in the alert can find it. Three
answers make a runbook: ## What fired, ## First check and
## Who to wake, each with a non-empty answer.Something others call says what it takes, what it returns, and what it raises, next to the signature rather than in a separate document that drifts. One example beats a paragraph. Where an interface crosses a process boundary, the schema is the documentation and prose describes only what the schema cannot.
Six rules here are settled by a parser: whether the things a record points at
exist, whether a decision record carries the template's shape, whether a
source comment's record reference resolves, whether each Markdown file below a
runbooks directory carries the three runbook answers, whether each
adr/<slug> identity is valid and uniquely placed, and whether a caller-named
study binds its declared decision to the selected candidate in an already
checked Protasis design-evidence record and to one established standing record,
including the numberless draft used before integration assigns an ADR number.
Run the ordinary walk over the documents a step touched, and require exit 0.
python3 "$PLUGIN_ROOT/skills/hypomnema/scripts/hypomnema.py" docs plugins
For a step that ships a study, run the explicit bridge check as well:
python3 "$PLUGIN_ROOT/skills/hypomnema/scripts/hypomnema.py" \
--study <repository-relative-study> \
--design-evidence <repository-relative-design-evidence.json> \
--repo-root <repository-root>
It reports a relative link that resolves to nothing, a superseding pointer
naming a record that is absent, a Markdown or block-YAML runbook: pointer
naming a local target that is not there,
a decision record under a decisions directory missing its dated status or
one of the template's five sections, and a source comment citing a record
that does not exist. H008 reports a malformed, misplaced, duplicated,
non-ASCII, traversal, control-character, or oversized stable identity, and
H009 reports a valid adr/<slug> reference with no indexed draft or final.
Stable identifiers remain live inside Markdown code spans because studies,
runbooks, audits, issues, and commit prose quote them in that form; the exact
grammar placeholder adr/<slug> is not a live reference. H007 also reports each absent or empty What fired,
First check or Who to wake answer in a Markdown file below a directory
named runbooks; headings and bodies inside fenced examples do not count. A
record pointing at something absent is worse than no record, because it reads
as though the reason exists and was checked. The walk reads # comments in
Python and shell and // comments with /* */ blocks in Solidity, JavaScript
and TypeScript, leaving string literals and URLs alone; in source files the
pragma is the bare hypomnema: allow <why> after a comment marker. Test
fixtures are skipped on a directory walk, since a specimen documenting a
fault is not a record.
Study mode reports H008 unless exactly one closed design-bridge fence carries
the three ordered rows schema, decision and record. The schema is
hypomnema-design-bridge/v1; the decision equals the selected candidate in the
strictly decoded protasis-design-evidence/v1 selection envelope; and the
record is one portable repository-relative path. Protasis remains the only
owner of the complete candidate, criterion and result-matrix semantics, so a
valid checked record may retain pending conformance cells after design lock.
Hypomnema bounds those arrays and consumes only the schema, closed candidate
set and selected-candidate membership needed for this join.
The target is an ordinary non-symlink file read stably below the supplied root.
It is an ADR-numbered Markdown file below a decisions directory, a directly
nested docs/decisions/drafts/<slug>.md carrying the valid stable slug, draft
heading, five record sections and dated status, or an EVOLUTION.md beside a
SKILL.md whose governed name matches its directory under a plugin skills
tree. A stable adr/<slug> selector resolves only one exact canonical draft or
three-digit numbered final; zero, duplicate, unsafe or changing candidates
refuse. H008 also refuses absent, repeated, malformed or unclosed blocks, a
selection mismatch, absolute, escaping, backslash or control-bearing paths, a
wrong, malformed or dangling home, oversized inputs, duplicate JSON keys,
excessive JSON depth, special files and a file that changes while it is read.
The ordinary walk never infers a bridge, so historical studies and H000 through
H007 retain their existing scope.
The YAML H003 pass reads generic runbook: keys outside comments and block
scalars, resolves relative Markdown targets from the YAML file's directory and
does not classify alerts or require annotations.
In Markdown, a runbook: keyword inside an inline code span is a quoted
specimen and H003 passes over it. A record that shows what a pointer looked
like is not promising that the target exists, and an append-only document
cannot be given a pragma after the fact. The keyword's own position settles
it, so a bare runbook: followed by a backticked path is still read and still
resolved. Spans pair per line by backtick-run length; an unmatched run stays
literal text, a backtick escaped by an odd number of backslashes opens
nothing, and a span that opens on one line and closes on the next is not read
as a span, so a pointer on that line stays checked.
The Markdown keyword begins at the start of a line or after a character other
than a word character or hyphen. List items, dotted annotations.runbook:
forms and sentence-initial keywords stay live. Word suffixes such as
myrunbook: and hyphenated tokens such as sub-runbook: are not pointers.
H001 gives a relative link inside an inline code span the same reading: a quoted link is a mention and earns no finding, while a link outside a span, after an unmatched backtick run or across a line break is still resolved.
The bundled third-party skills are skipped, since they document files they
generate in the target repository rather than files that live here. Pass
--include-vendored to check them anyway.
Deliberate walk exceptions state a reason: <!-- hypomnema: allow <why> -->, on the
line or the one above it. For H007, only a reasoned pragma on the file's first
line or the relevant heading suppresses the finding. Deciding what deserves a
record stays judgement. A pragma cannot manufacture or suppress an H008 bridge.
Report the count, then name every item that failed.
Lead with what was recorded and where it went. Name each decision this step made and the file that now holds its reason.
Separate the decided from the still open. A choice made with its alternatives written down is settled. One made because nobody objected is open, whatever the diff suggests, and saying which is which is the whole point of the record.
End with one action: the decision still needing a record, the convention conflict somebody has to resolve, or the runbook an alert is waiting on.
adr/<slug> references, absent and empty required runbook answers in the selected first-party documents, or invalid explicit design bridge in a named study-mode run. A stable bridge selector must resolve to exactly one canonical ADR draft or final. A draft named by study mode is directly under docs/decisions/drafts/ and has a valid stable slug, draft heading, five record sections and dated status.runbook: keyword or relative link inside an inline code span is not a recognised pointer so a clean result says nothing about a target quoted as a specimen, word-suffix and hyphenated runbook: tokens are not recognised keywords, and the lint does not prove that records or operational answers are correct, complete or current.fiat-decision-assignments/v1 report is the deterministic max(exact base)+1 transform for every validated draft in the exact product commit while the named integration-base ref still names that base. Inherited numbered records retain their paths, modes and original bytes; appended amendments survive unchanged in the result tree.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/elenchusWork a failure you already have down to its cause, then guard it: stop the line, preserve the evidence, reproduce, localise, reduce to a minimal case, fix the cause rather than the symptom, and leave behind a test that fails without the fix. Use when a test fails, a build breaks, a fuzz campaign returns a counterexample, behaviour stops matching expectations, or something that worked has stopped. Do not use it to hunt for findings nobody has observed yet, which belongs to solidity-auditor and x-ray, and do not use it to speed up something that already works, which belongs to metron./ephorosDecide what a step must emit so its behaviour is visible afterwards: the on-call questions first, then structured events, bounded metrics, correlation across the whole path, and alerts on what someone actually feels. Use when adding logging, metrics, tracing or alerting, when shipping anything that runs unattended, or when an incident could not be explained from what was recorded. Do not use it to instrument a failure you are chasing right now, which belongs to elenchus, and do not use it to measure something slow, which belongs to metron./fiatRun the one-shot delivery loop: study, runbook, then per-step implement/audit/prose/push until a working prototype exists. Use only when a Wildcat contributor explicitly asks to start, run, resume, or report a Hexaemeron or Fiat delivery, including /hexaemeron:fiat forms. Do not infer activation from a similar task.
npx claudepluginhub wildcat-finance/skills --plugin hexaemeronOther plugins' skills for the same job