0001 - Use a read-only session context hook

August 12, 2026 ยท View on GitHub

Status: accepted Date: 2026-06-03 Deciders: maintainers

Context

AI coding sessions often start without the recent product and architecture history. Re-reading the full repository is expensive and inconsistent.

Decision

Use a read-only session-start hook to print the docs map and newest changelog entry.

Consequences

ResultImpact
Better default contextAgents start with current docs and recent shipped work
Bash dependencyUsers should review the hook before installing
Low token costThe hook prints only compact indexes and truncated history

Update Log

DateChangeRef
2026-06-03Accepted the read-only session context decision.docflow-init