mati 0.1.2

An enforcement layer for codebase knowledge: confirmed gotchas gate what AI agents read and edit at the hook level. Not a passive memory store.
Documentation
1
2
3
4
5
6
7
8
/// session-end.sh — session harvest on exit (M-09-F).
///
/// SessionEnd — calls harvest to write permanent session summary.
pub const SCRIPT: &str = r#"#!/usr/bin/env bash
# mati session-end hook — session harvest (M-09-F)
HOOKS_DIR="$(cd "$(dirname "$0")" && pwd)" && export PATH="$HOOKS_DIR:$PATH"
mati session-harvest 2>/dev/null || true
"#;