/agent-almanac:record-negative-evidencefrom agent-almanac
Records what an agent did not do (deferred, refused, or never-noticed actions) as disposition records, distinguishing absences from crashes or silent refusals. Covers non-event classification, disposition-record schema, second-observer verification, expected-intent diffing, append-only rechecks, and proportional cost.
Ships in agent-almanac. 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.
Most logging and verification practices record what an agent did. This skill records what it did not do. A skipped, refused, or deferred action is not empty space: downstream it is indistinguishable from a crash, a job that was never scheduled, or a policy that refused in silence, and people fill the gap with whichever story is convenient. A disposition record makes the non-event explicit (what was considered, what stopped it, who owns the next look), and a second observer keeps that record from being the skipping agent's alibi. It is the mirror image of the completion receipt in verify-agent-output, and both use the same check outcomes.
Sort every non-event into one of three classes before writing anything. The class decides which fields the record needs and what happens next.
expected by a source, but nothing was recorded at all -> never_observed
a condition is not met, and it clears by itself -> deferred
a gate fired that only a rule or authorization reopens -> refused
class | Means | Required fields | Next action |
|---|---|---|---|
deferred | Evaluated; a condition is not met but is expected to clear by itself | owner, recheck_trigger, last_safe_observation, expiry | The owner rechecks when the trigger fires, before expiry |
refused | Evaluated; a gate fired that only a changed rule or a fresh authorization reopens | capability, caller, rule_that_fired | None by the actor; a changed rule or a fresh authorization reopens it |
never_observed | Expected work produced neither an action nor a record | expected_intent_source, window, owner | Find out why the actor never saw it; the gap fails closed |
The split is whether the stopping condition clears by itself (a stale input, a rate window, a dependency still starting): then deferred, even when a gate named it. Both classes may name rule_that_fired; a refusal must, because without it a deliberate refusal cannot be told apart from a timeout. A deferral needs an owner because a recheck trigger nobody owns becomes a ritual timestamp. A never_observed record cannot be written by the actor at all, since an agent cannot report what it never noticed; Step 4 produces it.
Expected: Each non-event has exactly one class, and the class's required fields are known before the record is written.
On failure: If you cannot tell whether the condition clears by itself, write deferred and name the rule_that_fired: its owner's recheck finds out, and if the gate turns out to need a changed rule, the recheck records refused (Step 5). If it fits no class, it is not a non-event; the action happened, and its record belongs to verify-agent-output.
Write the record at decision time, not afterwards. A record reconstructed later carries what the agent now believes, not what it saw.
disposition:
id: "disp-0715-digest"
class: deferred # deferred | refused | never_observed
tier: low # low | consequential (Step 6)
candidate_action: "post the morning digest to the ops channel"
preconditions_observed: # the values the decision read
digest_age_sec: 41200
authority_available: ["chat:post"]
constraint_invoked: "digest older than STALE_AFTER_SEC (36000)"
rule_that_fired: "freshness_guard"
owner: "heartbeat-operator"
recheck_trigger: "next digest refresh"
last_safe_observation: "2026-08-18T05:30:00Z"
expiry: "2026-08-19T07:00:00Z"
observer: "heartbeat-agent" # who wrote this record
check:
outcome: not_checked
checked_by: null
at: null
evidence: null
preconditions_observed keeps the values the decision read, so a later reader sees what the world looked like and not only the verdict.last_safe_observation names the last observation that makes a recheck meaningful. Without it, a recheck can replay the old "no" against the same stale world.observer names who wrote the record. The record's own check holds what its writer could check at decision time, so an actor's record carries not_checked; a later check is appended as a record of its own (Step 3), never written into this one.Expected: One record per non-event, written when the decision was made, carrying its class's required fields and naming who wrote it.
On failure: If the decision point has nowhere to write a record, add a place before shipping the gate. A gate that can refuse without leaving a record is a silent branch.
A record written by the agent that skipped is self-testimony: it may well be accurate, but it is an alibi until evidence from outside its own account checks it. Treat it as an index into the evidence, not as the evidence.
Pair the actor's record with an observation the actor did not write: an admission-layer snapshot of what was offered, and a channel-level observation that no matching request was emitted in a named window (up to expiry where the record has one).
Have the source of that observation (the gate, a watchdog, an orchestrator), not the agent that skipped, append it as a check record pointing at the disposition, with one of the outcomes below. The disposition itself is never edited:
check_of: "disp-0730"
check: {outcome: verified, checked_by: "chat-gateway", at: "2026-08-18T07:30:04Z", evidence: "refusal log entry 07:30:02Z"}
A disposition's outcome is that of its latest appended check, or its own check while none has been appended.
Bound the claim to the observer's channel: "no matching request on channel C between T1 and T2", never "the action never happened".
Check outcomes. What a record claims and what checking that claim found are separate fields. The check is recorded with one of five outcomes, the same in verify-agent-output and record-negative-evidence:
outcome | Meaning |
|---|---|
verified | The check ran and found positive evidence for the claim |
failed | The check ran and found evidence that contradicts the claim |
unresolvable | The check ran but could not resolve what the record names (an id, a surface, a rule) |
absent | The check ran in the named place and found nothing |
not_checked | No check against a source outside the actor's own account has run |
check:
outcome: not_checked # verified | failed | unresolvable | absent | not_checked
checked_by: null # who ran the check
at: null # when it ran
evidence: null # the value or line the outcome rests on
What counts is where the evidence comes from, not who reads it: verified, failed, unresolvable, and absent rest on a source outside the actor's own account (the destination read back, a gate's log, a scheduler ledger), and what the actor reports about itself (its own log, memory, or summary) is not_checked. A verified needs something seen, so a confirmed absence is absent, never verified; for a removal, the destination's direct answer that this id is gone is that positive evidence: a 410 or a revocation entry, or a 404 from a read path that answers 404 only for missing ids, never for refused access. Never fold absent or not_checked into failed or verified: finding nothing contradicts nothing, and an unchecked claim has not passed.
These five values, kept apart from what a record claims, follow a list proposed in a comment on agent-almanac issue #649.
For a disposition record the outcomes read as follows. verified: within its channel, the observer saw positive evidence for the record, such as the gate's log entry for the rule that fired. failed: the observer contradicts the record (the action was emitted after all, or the named rule did not fire). unresolvable: the record names a rule, capability, or channel the observer cannot look up, so the record itself is defective. absent: the observer looked and found nothing. On a refusal or a deferral, that leaves the record resting on the actor's word alone, so escalate it by tier (Step 6); on a never_observed record, it is the finding itself (Step 4).
For a disposition the shared rule is stricter: the check is appended by someone other than the agent that skipped, even when that agent could read the same log, because an agent's account of why it did not act is the testimony this skill distrusts.
Expected: Every consequential disposition (Step 6) has a check appended by someone other than the agent that skipped, resting on evidence outside that agent's account, and its claim is worded as bounded to that evidence's channel.
On failure: If no source outside the actor exists for a kind of decision, say so when writing the record (outcome: not_checked, evidence: "no independent observer for this gate") and treat the missing observer as a gap to close. Never upgrade the outcome on the actor's word.
A never_observed record is the one the actor cannot write, so it comes from comparing what was expected with what was recorded. An independent expected-intent source (a scheduler ledger, a queue, a cron table, an ingress log) lists what should have been considered in a window. Every item it lists needs an action receipt, a disposition record, or a recheck (Step 5), each of which records what the run decided.
# expected.ids: ids the expected-intent source lists for the window, one per line
# recorded.ids: ids with an action receipt, a disposition, or a recheck in the same window
rm -f never_observed.ids # never leave a previous run's result behind a refusal
work_dir=$(mktemp -d) || exit 1
if [ ! -s expected.ids ]; then
echo "FAIL-CLOSED: no expected-intent data for the window; it is unobserved, not quiet" >&2
rm -rf "${work_dir:?}"
exit 1
fi
sort -u expected.ids > "${work_dir:?}/expected"
sort -u recorded.ids > "${work_dir:?}/recorded"
comm -23 "${work_dir:?}/expected" "${work_dir:?}/recorded" > never_observed.ids
echo "never_observed: $(wc -l < never_observed.ids) of $(wc -l < "${work_dir:?}/expected") expected"
rm -rf "${work_dir:?}"
For each id in never_observed.ids, the comparing job writes a never_observed record with itself as observer and as checked_by, outcome: absent, and the two lookups as evidence: the source listed the id for the window, and no receipt or disposition carries it. Here absent is the finding, and it fails closed: alert the record's owner now rather than waiting for a deadline. If the action turns up late, append a check record (Step 3's shape) with outcome: failed; the never_observed record itself stays as it was. A missing heartbeat is the same case for the whole loop: alert, and never read silence as "nothing to do".
Expected: Every item the expected-intent source lists for the window has an action receipt, a disposition record, or a recheck; the rest are written as never_observed. An empty or unreadable source stops the run instead of reporting zero gaps.
On failure: If no independent expected-intent source exists, the loop cannot notice its own blind spots. Say so wherever its results are reported, and add a source (even a plain ledger of scheduled runs) before reading "no records" as "no work".
A disposition is immutable. A recheck appends a new record that points at the original, so the reason a refusal was safe when it was made stays readable after the world has changed.
recheck:
id: "disp-0715-digest/recheck-1"
recheck_of: "disp-0715-digest"
at: "2026-08-18T11:02:00Z"
preconditions_observed:
digest_age_sec: 1800
result: acted # acted | deferred_again | refused | expired
action_receipt: "receipt-1102-digest"
Expected: The log only grows. Original dispositions are unchanged, and each recheck names the record it rechecks.
On failure: If the storage only supports update-in-place, write rechecks as new rows keyed by recheck_of and leave the original row alone. If even that is impossible, copy the original to an append-only side log before updating it.
Most skips are cheap, and witnessing each one independently would cost more than the skips do. Tier the record by what the skipped action could have done, and write the tier into it:
tier: consequential # low | consequential
| Tier | Typical skipped action | Record | Check |
|---|---|---|---|
| Low | Reversible, sub-cent, internal (a cache warm-up, a repeated read) | One append-only line, written by the actor | not_checked is acceptable |
| Consequential | Money, deletion, access, a public commitment, an obligation to a person | The full disposition record | A check appended by someone other than the actor, before expiry where the record has one |
A never_observed record is written by an independent observer by construction, so it always carries a check. On a consequential record, a check that stays absent or not_checked when its window closes goes to the record's owner, or for a refusal to the owner of the gate; on a low-tier record it stays in the log.
Expected: Each non-event has a record proportional to its tier: a low-tier skip costs one line, and a consequential one carries an independent check.
On failure: If you cannot tell which tier an action belongs to, treat it as consequential until someone with authority over the action classifies it.
A full morning of a heartbeat loop (a deferral, a refusal, a never-observed run found by the diff, and a recheck) is worked through in references/EXAMPLES.md.
deferred, refused, or never_observed, with that class's required fieldsobserver)refused records carry rule_that_fired; deferred records carry owner, recheck_trigger, last_safe_observation, and expiryoutcome: not_checked; checks are appended by someone other than the skipping agent, as records pointing at them (check_of)never_observed records come from diffing an independent expected-intent source, carry outcome: absent, and alert at once; an empty or missing source fails closednot_checked until someone other than that agent appends a check (Step 3), however reliable the agent usually is.absent, not failed, and escalate by tier.absent on a deferral means "unconfirmed"; on a never_observed record it means "confirmed miss". A dashboard or alert that groups by outcome alone mixes the two; group by class and outcome together.verify-agent-output — the mirror image: its completion receipt records an action that was taken, and both skills use the same check outcomesimplement-audit-trail — tamper-evident records of actions taken; disposition records extend the trail to actions not takenfail-early-pattern — makes failures loud; a skip is often the correct, safe outcome rather than a failure, which is why it needs a record of its owncircuit-breaker-pattern — a breaker that counts trailing failures needs the non-events recorded as well, or it cannot compute a streakconduct-post-mortem — dispositions written at skip time are evidence a later post-mortem can read instead of reconstructingWhat SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (pjt222/agent-almanac) — no native marketplace selected
npx claudepluginhub p/pjt222-agent-almanac377 skills in this plugin
/adapt-architectureExecute structural metamorphosis using strangler fig migration, chrysalis phases, and interface preservation. Covers transformation planning, parallel running, progressive cutover, rollback design, and post-metamorphosis stabilization for system architecture evolution. Use when assess-form has classified the system as READY for transformation, when migrating from monolith to microservices, when replacing a core subsystem while dependents continue operating, or when any architectural change must be gradual rather than big-bang.
/adapticMaster skill composing the 5-step synoptic cycle for panoramic synthesis across multiple domains. Orchestrates meditate, expand-awareness, observe, awareness, integrate-gestalt, and express-insight into a coherent process that produces unified understanding rather than sequential compromise. Use when a problem genuinely spans 3+ domains and the interactions between domains matter more than depth in any one, when sequential analysis feels like compromise rather than integration, or before major architectural decisions affecting multiple stakeholders.
/add-puzzle-typeScaffold a new puzzle type across all 10+ pipeline integration points in jigsawR. Creates the core puzzle module, wires it into the unified pipeline (generation, positioning, rendering, adjacency), adds ggpuzzle geom/stat layers, updates DESCRIPTION and config.yml, extends the Shiny app, and creates a comprehensive test suite. Use when adding a completely new puzzle type to the package or following the 10-point integration checklist to ensure nothing is missed end-to-end.
Other plugins' skills for the same job