Hooks write to the seat Node
Capture is configured on the machine and uses the seat's access token. Git capture runs only in an Approved Capture Root. The SessionEnd hook sends a short session note to the configured Node.
Git pre-push hook
The hook snapshots pushed commits in an approved root and sends them to the Node. A missing or unmatched root skips capture.
SessionEnd hook
The client distills a short note from the session transcript and posts it to the Node. It does not share a Shared Session Trace.
- Capture roots are selected during `citadel setup` or `citadel onboard`.
- Hooks send writes through the configured HTTPS Node endpoint.
- Hook failures do not block a git push or session close. A receipt can report an unconfirmed send.
Promotion is a separate decision
A capture stays on its Node unless a governed process creates a separate copy in Central. Seat capture cannot route a write directly to Central.
Review candidate
The promotion policy checks for secrets, capture-root tags, source references, and whether content is relevant and safe to share.
Choose the route
Eligible organization work can be copied to Central. A new project can wait for approval. Other material stays on the Node.
The copy keeps its origin
Promotion adds a governed copy. The original remains in the seat's Node, and the Central record carries promotion metadata.
Shared traces follow another rule
A person can volunteer a trace through citadel_share_session. Shared traces stay reference-only and do not enter Central promotion.
Review the capture and promotion policy and the teammate setup guide.
Need to run Citadel? See self-hosting setup.