Skip to main content

kapi context log

kapi log

List what has been proposed, corrected and decided about this project's context, newest first.

Each line carries an operation's id, when it happened, who did it, what it was about and where it stands: a candidate nobody has decided on, a confirmed rule in force, or one that was discarded or reverted.

The id is what the other verbs take. Narrow the list with --status to see what is waiting for a decision, or with --session to see what one agent run did. "--session this" is that run reading back its own work.

Commandcontext log
Try it

Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.

kapi context log
Flags
FlagTypeDefaultDescription
--actorstringonly one actor, by name or by kind
--limitint0keep the most recent N (0 keeps them all)
--project, -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--sessionstringonly what one agent session recorded, or "this" for the session this run records under
--sincestringonly what happened after a date (2006-01-02) or instant
--statusstringonly operations at one status: candidate, confirmed, discarded or reverted
--subjectsboolfalseonly what was proposed, leaving out the decisions about it
More examples
kapi context log --status candidate
kapi context log --session 0ab4e399 --json
kapi context log --session this
kapi context log --actor agent --since 2026-09-01

← Back to the Command Reference