closelisted
Install: claude install-skill wrg32786/aigent-os
# Session Close
> **Deprecated.** This skill is superseded by [[skills/context-capsule/SKILL.md|/context-capsule]] (docs/two-verb-lifecycle.md). New installs should reach for `/context-capsule`; this file stays for anyone still invoking `/close` by habit during the transition.
Run the aigent-OS end-of-session memory commit inline. The close must be idempotent: rerunning it after a partial failure must not duplicate ledger entries, capsules, or session summaries.
All operator-owned durable state lives under `vault/`. Framework indexes such as `memory/SKILL_LEDGER.md` remain outside the vault and are not session memory.
## Hardened compatibility contract
The active two-verb lifecycle does not run a second close ceremony, but manual
`/close` keeps the same shared postconditions as nightly:
- exact already-authored decision outcomes append only through
`daemons/nightly-decision-outcome.mjs`, with a unique decision/interval match
and compare-and-swap;
- bounded Session Log or Active Priorities trimming runs only through
`skills/context-hygiene/SKILL.md`, archives before removal, and must end in
`CONTEXT_HYGIENE PASS`;
- Dream synthesis follows `skills/dream/SKILL.md` and must end in
`DREAM_CONTRACT PASS`;
- cognitive changes follow `skills/cognitive-update/SKILL.md` and must end in
`COGNITIVE_CONTRACT PASS`;
- missing canonical input is failure, not "nothing to do";
- judgment-bearing measurement entries are staged through
`skills/nightly-ledger-capture/SKILL.m