Expand description
amont’s side of attest’s input fingerprints and canonical tree.
The format itself (the greensummit-inputs grammar, fingerprints, the
canonical tree, note keys, the opt-out, the completeness proof) belongs to
the greensummit library, attest’s one implementation of it (decisions
ADR-0037). What stays here is amont’s own knowledge on top of it: which
route its LOCAL gate stamps take, and the key those stamps are filed
under. The hook runs at the worktree top, so “the repository” is ..
Structs§
- Findings
- What
check_coveragefound. Empty means every required gate declares every tracked file. - Spec
- The committed declaration of which paths each gate reads.
Enums§
- Coverage
Error - Why the coverage question cannot be answered. A guard that cannot answer fails, unlike the verifier, whose contract is fail-open.
Constants§
- EXEMPT
- Paths no gate reads, exempt from the coverage check: the plans a change keeps rewriting. Everything else a repository tracks is either declared or the check fails.
Functions§
- check
- Do the required gates declare, completely, everything
treetracks? attest’s proof (greensummit check-inputsruns the same one). - conf_
says_ plan_ exempt_ off - Does this
amont.confsayset planExempt off? One tolerant reading, shared with amont andverify.sh: strip CR, trim blanks, split on blanks, and compare the three wordsset,planExemptandoffASCII case-insensitively. A line that is not exactly those three words (a trailing comment, another value) does not match; any match anywhere is off. - deprecated_
opt_ out - The line to print when HEAD opts out of the canonical tree through
set planExempt offinamont.confalone: still honoured, deprecated, and read by attest only until 2.0.0 (decisions ADR-0037).