[{"data":1,"prerenderedAt":5178,"buildId":5179},["ShallowReactive",2],{"docs-navigation":3,"docs\u002Fdocs\u002Freference\u002Fsessions":199,"docs\u002Fdocs\u002Freference\u002Fsessions-surround":5173},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","\u002Fdocs","docs",[9,13,35,129,154,159],{"title":10,"path":6,"stem":11,"icon":12},"Overview","docs\u002Findex","i-lucide-house",{"title":14,"icon":15,"path":16,"stem":17,"children":18,"page":34},"Quickstart","i-lucide-rocket","\u002Fdocs\u002Fquickstart","docs\u002F1.quickstart",[19,24,29],{"title":20,"path":21,"stem":22,"icon":23},"Local","\u002Fdocs\u002Fquickstart\u002Flocal","docs\u002F1.quickstart\u002F1.local","i-lucide-laptop",{"title":25,"path":26,"stem":27,"icon":28},"Self-hosted","\u002Fdocs\u002Fquickstart\u002Fself-hosted","docs\u002F1.quickstart\u002F2.self-hosted","i-lucide-server",{"title":30,"path":31,"stem":32,"icon":33},"Cloud","\u002Fdocs\u002Fquickstart\u002Fcloud","docs\u002F1.quickstart\u002F3.cloud","i-lucide-cloud",false,{"title":36,"path":37,"stem":38,"children":39,"icon":41},"Harnesses","\u002Fdocs\u002Fharnesses","docs\u002F2.harnesses\u002Findex",[40,42,47,51,55,59,63,67,71,76,80,84,89,93,97,101,105,109,113,117,121,125],{"title":36,"path":37,"stem":38,"icon":41},"i-lucide-plug",{"title":43,"path":44,"stem":45,"icon":46},"Claude Code","\u002Fdocs\u002Fharnesses\u002Fclaude-code","docs\u002F2.harnesses\u002F1.claude-code","i-lucide-terminal",{"title":48,"path":49,"stem":50,"icon":46},"Devin","\u002Fdocs\u002Fharnesses\u002Fdevin","docs\u002F2.harnesses\u002F10.devin",{"title":52,"path":53,"stem":54,"icon":46},"Kiro","\u002Fdocs\u002Fharnesses\u002Fkiro","docs\u002F2.harnesses\u002F11.kiro",{"title":56,"path":57,"stem":58,"icon":46},"Cline","\u002Fdocs\u002Fharnesses\u002Fcline","docs\u002F2.harnesses\u002F12.cline",{"title":60,"path":61,"stem":62,"icon":46},"Amp","\u002Fdocs\u002Fharnesses\u002Famp","docs\u002F2.harnesses\u002F13.amp",{"title":64,"path":65,"stem":66,"icon":46},"VS Code","\u002Fdocs\u002Fharnesses\u002Fvscode","docs\u002F2.harnesses\u002F14.vscode",{"title":68,"path":69,"stem":70,"icon":46},"Gemini CLI","\u002Fdocs\u002Fharnesses\u002Fgemini-cli","docs\u002F2.harnesses\u002F15.gemini-cli",{"title":72,"path":73,"stem":74,"icon":75},"OpenClaw","\u002Fdocs\u002Fharnesses\u002Fopenclaw","docs\u002F2.harnesses\u002F16.openclaw","i-lucide-puzzle",{"title":77,"path":78,"stem":79,"icon":75},"Hermes Agent","\u002Fdocs\u002Fharnesses\u002Fhermes","docs\u002F2.harnesses\u002F17.hermes",{"title":81,"path":82,"stem":83,"icon":75},"NanoClaw","\u002Fdocs\u002Fharnesses\u002Fnanoclaw","docs\u002F2.harnesses\u002F18.nanoclaw",{"title":85,"path":86,"stem":87,"icon":88},"skills.sh (`npx skills`)","\u002Fdocs\u002Fharnesses\u002Fskills-sh","docs\u002F2.harnesses\u002F19.skills-sh","i-lucide-store",{"title":90,"path":91,"stem":92,"icon":46},"Codex CLI","\u002Fdocs\u002Fharnesses\u002Fcodex","docs\u002F2.harnesses\u002F2.codex",{"title":94,"path":95,"stem":96,"icon":88},"Claude Code plugin marketplace","\u002Fdocs\u002Fharnesses\u002Fclaude-code-marketplace","docs\u002F2.harnesses\u002F20.claude-code-marketplace",{"title":98,"path":99,"stem":100,"icon":88},"Codex plugin marketplace","\u002Fdocs\u002Fharnesses\u002Fcodex-marketplace","docs\u002F2.harnesses\u002F21.codex-marketplace",{"title":102,"path":103,"stem":104,"icon":46},"Cursor","\u002Fdocs\u002Fharnesses\u002Fcursor","docs\u002F2.harnesses\u002F3.cursor",{"title":106,"path":107,"stem":108,"icon":46},"OpenCode V1","\u002Fdocs\u002Fharnesses\u002Fopencode-v1","docs\u002F2.harnesses\u002F4.opencode-v1",{"title":110,"path":111,"stem":112,"icon":46},"OpenCode 2","\u002Fdocs\u002Fharnesses\u002Fopencode-v2","docs\u002F2.harnesses\u002F5.opencode-v2",{"title":114,"path":115,"stem":116,"icon":46},"Oh My Pi (omp)","\u002Fdocs\u002Fharnesses\u002Fomp","docs\u002F2.harnesses\u002F6.omp",{"title":118,"path":119,"stem":120,"icon":46},"Pi","\u002Fdocs\u002Fharnesses\u002Fpi","docs\u002F2.harnesses\u002F7.pi",{"title":122,"path":123,"stem":124,"icon":46},"Copilot CLI","\u002Fdocs\u002Fharnesses\u002Fcopilot","docs\u002F2.harnesses\u002F8.copilot",{"title":126,"path":127,"stem":128,"icon":46},"Antigravity","\u002Fdocs\u002Fharnesses\u002Fantigravity","docs\u002F2.harnesses\u002F9.antigravity",{"title":130,"icon":131,"path":132,"stem":133,"children":134,"page":34},"Concepts","i-lucide-lightbulb","\u002Fdocs\u002Fconcepts","docs\u002F3.concepts",[135,140,145,149],{"title":136,"path":137,"stem":138,"icon":139},"Reports","\u002Fdocs\u002Fconcepts\u002Freports","docs\u002F3.concepts\u002F1.reports","i-lucide-file-text",{"title":141,"path":142,"stem":143,"icon":144},"Triage","\u002Fdocs\u002Fconcepts\u002Ftriage","docs\u002F3.concepts\u002F2.triage","i-lucide-list-checks",{"title":146,"path":147,"stem":148,"icon":41},"Model and harness independence","\u002Fdocs\u002Fconcepts\u002Fmodel-and-harness-independence","docs\u002F3.concepts\u002F3.model-and-harness-independence",{"title":150,"path":151,"stem":152,"icon":153},"Model keys","\u002Fdocs\u002Fconcepts\u002Fmodel-keys","docs\u002F3.concepts\u002F4.model-keys","i-lucide-key-round",{"title":155,"path":156,"stem":157,"icon":158},"Security","\u002Fdocs\u002Fsecurity","docs\u002F4.security","i-lucide-shield-check",{"title":160,"path":161,"stem":162,"children":163,"icon":165},"Reference","\u002Fdocs\u002Freference","docs\u002F5.reference\u002Findex",[164,166,171,176,179,184,189,194],{"title":160,"path":161,"stem":162,"icon":165},"i-lucide-book-open",{"title":167,"path":168,"stem":169,"icon":170},"API","\u002Fdocs\u002Freference\u002Fapi","docs\u002F5.reference\u002F1.api","i-lucide-braces",{"title":172,"path":173,"stem":174,"icon":175},"Operations","\u002Fdocs\u002Freference\u002Foperate","docs\u002F5.reference\u002F2.operate","i-lucide-settings",{"title":155,"path":177,"stem":178,"icon":158},"\u002Fdocs\u002Freference\u002Fsecurity","docs\u002F5.reference\u002F3.security",{"title":180,"path":181,"stem":182,"icon":183},"Session logs","\u002Fdocs\u002Freference\u002Fsessions","docs\u002F5.reference\u002F4.sessions","i-lucide-history",{"title":185,"path":186,"stem":187,"icon":188},"Releases","\u002Fdocs\u002Freference\u002Freleases","docs\u002F5.reference\u002F5.releases","i-lucide-tags",{"title":190,"path":191,"stem":192,"icon":193},"Client installation","\u002Fdocs\u002Freference\u002Fagent-install","docs\u002F5.reference\u002F6.agent-install","i-lucide-download",{"title":195,"path":196,"stem":197,"icon":198},"Stack installation","\u002Fdocs\u002Freference\u002Fagent-install-stack","docs\u002F5.reference\u002F7.agent-install-stack","i-lucide-container",{"id":200,"title":180,"body":201,"description":5166,"extension":5167,"meta":5168,"navigation":5169,"path":181,"seo":5170,"stem":182,"verified":5171,"__hash__":5172},"docs\u002Fdocs\u002F5.reference\u002F4.sessions.md",{"type":202,"value":203,"toc":5136},"minimark",[204,393,420,461,473,477,554,581,608,619,648,659,680,685,696,722,737,772,775,1066,1077,1094,1109,1120,1122,1189,1192,1213,1232,1261,1270,1272,1291,1325,1328,1503,1506,1598,1600,1698,1702,1779,1782,1870,1873,1893,1903,1924,1927,1946,1949,1953,2188,2238,2289,2292,2319,2322,2355,2457,2490,2511,2674,2677,2681,2684,2852,2896,2900,2929,2942,2946,2952,3018,3021,3304,3325,3328,3354,3403,3405,3539,3558,3621,3668,3671,3792,3795,4005,4009,4012,4107,4157,4186,4190,4193,4196,4200,4252,4279,4370,4410,4458,4462,4509,4523,4530,4540,4543,4546,4714,4747,4765,4768,4872,4878,4912,4942,5002,5006,5014,5129,5132],[205,206,211],"pre",{"className":207,"code":208,"language":209,"meta":210,"style":210},"language-bash shiki shiki-themes github-light github-light github-dark","agentfeedback sessions status                         # stores, counts per state, the saved selection\nagentfeedback sessions list --unprocessed             # new and changed sessions\nagentfeedback sessions digest --unprocessed --json    # bounded, scrubbed events; records the digest watermark\nagentfeedback sessions transcript claude-code:\u003Csession id> --json   # the whole session, condensed and scrubbed; read-only\nagentfeedback submit friction --stdin --context-from claude-code:\u003Csession id>#\u003Cspan> \u003C report.json\nagentfeedback sessions mark claude-code:\u003Csession id> --outcome filed --ref \u003Cuid>\n","bash","",[212,213,214,234,251,269,304,352],"code",{"__ignoreMap":210},[215,216,219,223,227,230],"span",{"class":217,"line":218},"line",1,[215,220,222],{"class":221},"snPdu","agentfeedback",[215,224,226],{"class":225},"sIIMD"," sessions",[215,228,229],{"class":225}," status",[215,231,233],{"class":232},"sCsY4","                         # stores, counts per state, the saved selection\n",[215,235,237,239,241,244,248],{"class":217,"line":236},2,[215,238,222],{"class":221},[215,240,226],{"class":225},[215,242,243],{"class":225}," list",[215,245,247],{"class":246},"sBjJW"," --unprocessed",[215,249,250],{"class":232},"             # new and changed sessions\n",[215,252,254,256,258,261,263,266],{"class":217,"line":253},3,[215,255,222],{"class":221},[215,257,226],{"class":225},[215,259,260],{"class":225}," digest",[215,262,247],{"class":246},[215,264,265],{"class":246}," --json",[215,267,268],{"class":232},"    # bounded, scrubbed events; records the digest watermark\n",[215,270,272,274,276,279,282,286,289,292,296,299,301],{"class":217,"line":271},4,[215,273,222],{"class":221},[215,275,226],{"class":225},[215,277,278],{"class":225}," transcript",[215,280,281],{"class":225}," claude-code:",[215,283,285],{"class":284},"s8jYJ","\u003C",[215,287,288],{"class":225},"session",[215,290,291],{"class":225}," i",[215,293,295],{"class":294},"sxrX7","d",[215,297,298],{"class":284},">",[215,300,265],{"class":246},[215,302,303],{"class":232},"   # the whole session, condensed and scrubbed; read-only\n",[215,305,307,309,312,315,318,321,323,325,327,329,331,333,336,338,341,344,346,349],{"class":217,"line":306},5,[215,308,222],{"class":221},[215,310,311],{"class":225}," submit",[215,313,314],{"class":225}," friction",[215,316,317],{"class":246}," --stdin",[215,319,320],{"class":246}," --context-from",[215,322,281],{"class":225},[215,324,285],{"class":284},[215,326,288],{"class":225},[215,328,291],{"class":225},[215,330,295],{"class":294},[215,332,298],{"class":284},[215,334,335],{"class":225},"#",[215,337,285],{"class":284},[215,339,340],{"class":225},"spa",[215,342,343],{"class":294},"n",[215,345,298],{"class":284},[215,347,348],{"class":284}," \u003C",[215,350,351],{"class":225}," report.json\n",[215,353,355,357,359,362,364,366,368,370,372,374,377,380,383,385,388,390],{"class":217,"line":354},6,[215,356,222],{"class":221},[215,358,226],{"class":225},[215,360,361],{"class":225}," mark",[215,363,281],{"class":225},[215,365,285],{"class":284},[215,367,288],{"class":225},[215,369,291],{"class":225},[215,371,295],{"class":294},[215,373,298],{"class":284},[215,375,376],{"class":246}," --outcome",[215,378,379],{"class":225}," filed",[215,381,382],{"class":246}," --ref",[215,384,348],{"class":284},[215,386,387],{"class":225},"ui",[215,389,295],{"class":294},[215,391,392],{"class":284},">\n",[394,395,396,399,400,403,404,409,410,414,415,419],"p",{},[212,397,398],{},"agentfeedback sessions"," reads the session logs a coding-agent harness keeps\non disk, on demand and read-only, so an agent can turn what went wrong in a\npast session into feedback. The policy of the config file's ",[212,401,402],{},"[collect]","\ntable is applied per session, by its recorded working directory, before the\nlog is opened. Digesting and marking store only watermarks, and a\n",[405,406,408],"a",{"href":407},"#transcript-format","transcript"," stores nothing; ",[405,411,413],{"href":412},"#push","Push","\nuploads eligible, scrubbed transcripts to a configured server whose\norganisation enables processing, manually or through the ",[405,416,418],{"href":417},"#automatic-sweep","automatic sweep",".",[394,421,422,423,426,427,430,431,434,435,438,439,442,443,447,448,451,452,455,456,460],{},"Session state always lives in the data-directory database\n(",[212,424,425],{},"${XDG_DATA_HOME:-~\u002F.local\u002Fshare}\u002Fagentfeedback\u002Fagentfeedback.db","), in local\nand in remote mode. ",[212,428,429],{},"sessions status"," also reads the configured server's\nsession policy, subject to its cache and backoff, and prints the org's\nprocessing status (",[212,432,433],{},"capture"," in JSON). Listing, digesting and marking do\ntheir own work locally; eligible CLI invocations can also trigger the sweep.\n",[212,436,437],{},"submit"," and ",[212,440,441],{},"sessions push"," send their respective content to the server.\nSee ",[405,444,446],{"href":445},"\u002Fdocs\u002Freference\u002Foperate#session-policy-settings","Session policy settings",".\nUse ",[212,449,450],{},"agentfeedback config"," or ",[212,453,454],{},"config set sessions.quiet 10m"," to change this\nmachine's quiet interval. The menu shows organisation policy and repository\nrestrictions read-only; changing a setting never grants capture permission.\nSee ",[405,457,459],{"href":458},"\u002Fdocs\u002Freference\u002Foperate#machine-settings","Machine settings"," for all editable keys.",[394,462,463,464,468,469,472],{},"Server authentication is separate from collection permission. The four\n",[405,465,467],{"href":466},"\u002Fdocs\u002Freference\u002Foperate#authenticate-a-client","onboarding sources"," (paste key, email\ndevice login, agent self-enrolment, stdin enrolment token) and explicit\n",[212,470,471],{},"agentfeedback login"," reauthentication do not enable capture or relax\nrepository restrictions. A changed key invalidates credential-scoped cached\npolicy; the server's current policy still governs uploads. Keep keys,\ntokens, device codes, verification URLs and claim URLs out of session logs.",[474,475,413],"h2",{"id":476},"push",[205,478,480],{"className":207,"code":479,"language":209,"meta":210,"style":210},"agentfeedback sessions push claude-code:\u003Csession-id> --json\nagentfeedback sessions push --due --limit 10 --json\nagentfeedback sessions push codex:\u003Csession-id> --since 2026-01-01T00:00:00Z --dry-run --json\n",[212,481,482,505,524],{"__ignoreMap":210},[215,483,484,486,488,491,493,495,498,500,502],{"class":217,"line":218},[215,485,222],{"class":221},[215,487,226],{"class":225},[215,489,490],{"class":225}," push",[215,492,281],{"class":225},[215,494,285],{"class":284},[215,496,497],{"class":225},"session-i",[215,499,295],{"class":294},[215,501,298],{"class":284},[215,503,504],{"class":246}," --json\n",[215,506,507,509,511,513,516,519,522],{"class":217,"line":236},[215,508,222],{"class":221},[215,510,226],{"class":225},[215,512,490],{"class":225},[215,514,515],{"class":246}," --due",[215,517,518],{"class":246}," --limit",[215,520,521],{"class":246}," 10",[215,523,504],{"class":246},[215,525,526,528,530,532,535,537,539,541,543,546,549,552],{"class":217,"line":253},[215,527,222],{"class":221},[215,529,226],{"class":225},[215,531,490],{"class":225},[215,533,534],{"class":225}," codex:",[215,536,285],{"class":284},[215,538,497],{"class":225},[215,540,295],{"class":294},[215,542,298],{"class":284},[215,544,545],{"class":246}," --since",[215,547,548],{"class":225}," 2026-01-01T00:00:00Z",[215,550,551],{"class":246}," --dry-run",[215,553,504],{"class":246},[394,555,556,557,560,561,564,565,568,569,572,573,576,577,580],{},"Push supports Claude Code (",[212,558,559],{},"claude-code-jsonl","), Codex (",[212,562,563],{},"codex-rollout","),\nomp (",[212,566,567],{},"omp-jsonl","), pi (",[212,570,571],{},"pi-jsonl","), OpenCode V1 and 2\n(",[212,574,575],{},"opencode-virtual-log",") and Cursor (",[212,578,579],{},"cursor-agent-transcript",", storage only).\nIt sends the whole complete-line revision, not the digest or only new entries.\nFor omp and pi, a persisted, increasing decimal revision is reserved per\nsession and destination\u002Fconsent scope. The complete-line fingerprint and byte\ncount identify an unchanged revision; appends, same-size rewrites and\ntruncations reserve a newer number, rather than reusing a byte count.\nRetries reuse the reservation across process restarts. Dry runs calculate\nbut do not persist a new reservation. Other formats use the decimal source\nbyte count. An unfinished last line is excluded; changes during capture\ndefer the upload.",[394,582,583,584,587,588,591,592,595,596,599,600,603,604,607],{},"The configured server must enable processing. Collection rules and every\nrecorded repository's ",[212,585,586],{},"[sessions] push = false"," veto apply before export.\nUnreadable, unsupported, unknown-project, disabled and denied sessions do\nnot upload. The last entry must be at or after this machine first observed\nenabled policy; ",[212,589,590],{},"--since"," explicitly replaces that cutoff. ",[212,593,594],{},"--due"," selects\nquiet sessions oldest-last-entry first, up to ",[212,597,598],{},"--limit"," (default\n",[212,601,602],{},"sessions.push_batch","); named references bypass quiet time, not safety checks.\nThe run respects ",[212,605,606],{},"sessions.push_budget"," and ten-second request timeouts.",[394,609,610,611,614,615,618],{},"All transcript text is scrubbed before hashing or splitting into parts of\nat most 4 MiB, at line boundaries where possible. JSON string values are\ndecoded for scrubbing, including escaped credentials; multiline private\nkeys are redacted across records. Capture processes records incrementally,\nretaining bounded scrubbed output rather than the whole raw transcript.\nIndividual records still require record-sized decoding buffers. The\nassembled canonical envelope must fit the server's size cap; there is no\nseparate raw-source size cap. Uploads resume acknowledged parts and complete\nas one ",[212,612,613],{},"kind: session"," submission. An unchanged successful revision is\n",[212,616,617],{},"replayed"," without sending parts again.",[394,620,621,622,625,626,625,628,631,632,635,636,639,640,643,644,647],{},"Outcomes are ",[212,623,624],{},"pushed",", ",[212,627,617],{},[212,629,630],{},"skipped"," with a reason, ",[212,633,634],{},"deferred",",\n",[212,637,638],{},"suspended",", or ",[212,641,642],{},"error",". Dry runs report ",[212,645,646],{},"dry-run",", revision, byte and part\ncounts, and at most 2 KiB of scrubbed preview; they discover policy but send\nno transcript. A named session that cannot be pushed makes the command exit",[649,650,651],"ol",{},[652,653,654,655,658],"li",{},"A 429 suspends the run and policy until retry is allowed; network and\nserver failures leave it for a later invocation. A begin conflict is\n",[212,656,657],{},"replay_mismatch"," and is not retried for that revision.",[394,660,661,664,665,668,669,672,673,676,677,679],{},[212,662,663],{},"sessions_pushed"," stores only upload metadata and outcomes, scoped to the\ndestination, organisation, credential and consent period, separately from\ndigest watermarks. ",[212,666,667],{},"session_manifests"," retains the initial scrubbed upload\nmetadata and partition size while an upload is pending, so retries do not\nchange identity when repository facts or file timestamps change. Current\ncollection rules and repository vetoes still apply before each request.\nPending metadata is removed on completion, terminal rejection, a new\nrevision or a changed consent scope. Transcript text and previews are never\npersisted to the database, cache, log or spool. ",[212,670,671],{},"too_large"," is not retried for\nan unchanged fingerprint unless the source shrinks or the server's cap grows;\na changed fingerprint can be retried.\n",[212,674,675],{},"sessions list"," shows the pushed revision; ",[212,678,429],{}," shows pushed, pending and skipped counts\nand the last push time for the current scope.",[681,682,684],"h3",{"id":683},"automatic-sweep","Automatic sweep",[394,686,687,688,691,692,695],{},"In remote mode, existing turn-end hooks and eligible CLI invocations can\nlaunch a detached ",[212,689,690],{},"agentfeedback sessions push --due --json"," worker.\nThe trigger reads only cached policy matching the destination and credential;\nit makes no network request. Previously enabled consent can retry after a\ntransient policy error or an elapsed ",[212,693,694],{},"Retry-After",". A changed credential,\nauthorization failure, disabled or unsupported policy cannot revive consent.\nThe upload child always refreshes policy before uploading.",[394,697,698,699,438,702,704,705,708,709,625,711,438,714,717,718,721],{},"Commands that open a validated remote API client can trigger the sweep,\nincluding ",[212,700,701],{},"mcp",[212,703,387],{}," startup. Commands with no such client, and the\ndiagnostic ",[212,706,707],{},"doctor",", explicit ",[212,710,441],{},[212,712,713],{},"flush",[212,715,716],{},"ingest"," paths, do\nnot. Existing turn-end ",[212,719,720],{},"hook"," handling triggers after its bounded flush.\nNo new hook registrations, resident daemon or scheduler are installed.",[394,723,724,725,728,729,732,733,736],{},"A nonblocking ",[212,726,727],{},"push.lock",", inherited by the child, allows at most one sweep\nat a time. Triggers write an owner-only ",[212,730,731],{},"push.pending"," signal; repeated\ntriggers coalesce while that worker owns the lock. ",[212,734,735],{},"push.last-started","\ndelays a new worker's first pass until the launch quiet interval has elapsed,\nrather than dropping the trigger. Malformed or future start timestamps do\nnot impose a delay. No timestamp permits bypassing a still-running child's\nlock; after a crash, a later eligible trigger can launch a replacement.\nThe parent launches its own running executable, not a PATH lookup, and\ndoes not wait for the delay or uploads; the whole hook trigger shares the\nhook's deadline.",[394,738,739,740,438,742,744,745,748,749,752,753,755,756,759,760,763,764,767,768,771],{},"Each pass refreshes policy and applies the quiet-session selection,\n",[212,741,602],{},[212,743,606],{}," described above. If a pass\ndefers work (including a session that is not quiet or a batch\u002Fbudget limit),\nthe detached worker waits ",[212,746,747],{},"sessions.quiet"," and rechecks without needing\nanother CLI invocation. A suspension waits until its retry deadline.\nIt exits when no deferred work or coalesced trigger remains, or a pass fails.\nThis is delayed, bounded-per-pass work, not a resident daemon; a busy source\ncan keep the worker waiting across passes. Consent and repository restrictions\nare rechecked, not widened by a pending trigger.\nThe cache's owner-only ",[212,750,751],{},"push.last-run.json"," records start and finish times,\npushed, replayed, skipped, deferred and error counts, and any suspension\ndeadline. ",[212,754,707],{}," prints it as ",[212,757,758],{},"last push","; both ",[212,761,762],{},"doctor --json"," and\n",[212,765,766],{},"sessions status --json"," expose it as ",[212,769,770],{},"last_push",". It contains no transcript\ntext, credentials or session identifiers.",[474,773,36],{"id":774},"harnesses",[776,777,778,797],"table",{},[779,780,781],"thead",{},[782,783,784,788,791,794],"tr",{},[785,786,787],"th",{},"Harness",[785,789,790],{},"Reader",[785,792,793],{},"Store (moved by)",[785,795,796],{},"Working directory, checked before the session is opened",[798,799,800,833,868,903,939,971,995,1042],"tbody",{},[782,801,802,808,812,826],{},[803,804,805],"td",{},[212,806,807],{},"claude-code",[803,809,810],{},[212,811,559],{},[803,813,814,817,818,821,822,825],{},[212,815,816],{},"\u003Cconfig dir>\u002Fprojects\u002F\u003Cencoded launch directory>\u002F\u003Csession id>.jsonl"," (",[212,819,820],{},"$CLAUDE_CONFIG_DIR",", else ",[212,823,824],{},"~\u002F.claude",")",[803,827,828,829,832],{},"the encoded project directory name, before; each entry's ",[212,830,831],{},"cwd",", after",[782,834,835,840,844,858],{},[803,836,837],{},[212,838,839],{},"codex",[803,841,842],{},[212,843,563],{},[803,845,846,438,849,817,852,821,855,825],{},[212,847,848],{},"\u003Ccodex home>\u002Fsessions\u002FYYYY\u002FMM\u002FDD\u002Frollout-*.jsonl",[212,850,851],{},"\u003Ccodex home>\u002Farchived_sessions\u002Frollout-*.jsonl",[212,853,854],{},"$CODEX_HOME",[212,856,857],{},"~\u002F.codex",[803,859,860,861,864,865,832],{},"the ",[212,862,863],{},"session_meta"," first line, read alone, before; ",[212,866,867],{},"turn_context",[782,869,870,875,880,891],{},[803,871,872],{},[212,873,874],{},"copilot",[803,876,877],{},[212,878,879],{},"copilot-events",[803,881,882,817,885,821,888,825],{},[212,883,884],{},"\u003Ccopilot home>\u002Fsession-state\u002F\u003Csession id>\u002Fevents.jsonl",[212,886,887],{},"$COPILOT_HOME",[212,889,890],{},"~\u002F.copilot",[803,892,893,896,897,438,900,832],{},[212,894,895],{},"workspace.yaml"," beside the log, before; ",[212,898,899],{},"session.start",[212,901,902],{},"session.context_changed",[782,904,905,910,915,926],{},[803,906,907],{},[212,908,909],{},"gemini-cli",[803,911,912],{},[212,913,914],{},"gemini-cli-jsonl",[803,916,917,817,920,821,923,825],{},[212,918,919],{},"\u003Cgemini dir>\u002Ftmp\u002F\u003Cproject>\u002Fchats\u002Fsession-*.jsonl",[212,921,922],{},"$GEMINI_CLI_HOME\u002F.gemini",[212,924,925],{},"~\u002F.gemini",[803,927,928,931,932,935,936,832],{},[212,929,930],{},"\u003Cproject>\u002F.project_root",", before; the metadata line's ",[212,933,934],{},"directories",", which the log records only for sub-agents and ",[212,937,938],{},"\u002Fdir add",[782,940,941,946,950,962],{},[803,942,943],{},[212,944,945],{},"omp",[803,947,948],{},[212,949,567],{},[803,951,952,955,956,821,959,825],{},[212,953,954],{},"\u003Cagent dir>\u002Fsessions\u002F\u003Cproject>\u002F*.jsonl"," (hook-recorded root, else Linux ",[212,957,958],{},"$XDG_DATA_HOME\u002Fomp",[212,960,961],{},"~\u002F.omp\u002Fagent",[803,963,964,965,438,967,970],{},"the bounded session header's ",[212,966,831],{},[212,968,969],{},"additionalDirectories",", read alone before the body",[782,972,973,978,982,990],{},[803,974,975],{},[212,976,977],{},"pi",[803,979,980],{},[212,981,571],{},[803,983,984,986,987,825],{},[212,985,954],{}," (hook-recorded root, else ",[212,988,989],{},"~\u002F.pi\u002Fagent",[803,991,992,993,970],{},"the bounded version-3 session header's ",[212,994,831],{},[782,996,997,1002,1007,1032],{},[803,998,999],{},[212,1000,1001],{},"opencode-v1",[803,1003,1004],{},[212,1005,1006],{},"opencode-sqlite",[803,1008,1009,1012,1013,1016,1017,438,1020,1023,1024,817,1026,821,1029,825],{},[212,1010,1011],{},"$OPENCODE_DB"," (a relative one under ",[212,1014,1015],{},"\u003Cdata home>\u002Fopencode","), else ",[212,1018,1019],{},"opencode.db",[212,1021,1022],{},"opencode-*.db"," in ",[212,1025,1015],{},[212,1027,1028],{},"$XDG_DATA_HOME",[212,1030,1031],{},"~\u002F.local\u002Fshare",[803,1033,1034,1035,1038,1039,832],{},"the session row's ",[212,1036,1037],{},"directory",", before; each assistant message's ",[212,1040,1041],{},"path.cwd",[782,1043,1044,1049,1054,1061],{},[803,1045,1046],{},[212,1047,1048],{},"opencode-v2",[803,1050,1051],{},[212,1052,1053],{},"opencode-v2-sqlite",[803,1055,1056,1057,1060],{},"the same databases, read only when they have a ",[212,1058,1059],{},"session_v2"," table",[803,1062,1034,1063,1065],{},[212,1064,1037],{},", before",[394,1067,1068,1069,1072,1073,1076],{},"OpenCode V1 session references use ",[212,1070,1071],{},"opencode-v1:\u003Cid>",". The input alias\n",[212,1074,1075],{},"opencode:\u003Cid>"," resolves and marks the same session. Existing local session\nstate migrates to the canonical name without resetting processed progress;\nsaved harness selections accept the alias too. The store paths, SQLite\nreader format, detector version and finding idempotency keys remain unchanged:\nretrying a previously filed span still uses its original key.",[394,1078,1079,1080,1082,1083,1085,1086,1088,1089,1091,1092,419],{},"OpenCode 2 (checked with 2.2.6) stores sessions in a different schema in the\nsame database files, and migrates a V1 database in place: it adds its own\nrows with the same session ids and keeps V1's tables. A database with a\n",[212,1081,1059],{}," table is therefore read only by ",[212,1084,1048],{},"; the V1 reader\nskips it, so a session is never listed under both names. Sessions migrated\nthis way are listed once, as ",[212,1087,1048],{},", and their V1 state does not\ncarry over: they read as new, so a scan files their findings again under new\nkeys and ",[212,1090,441],{}," uploads them again under ",[212,1093,1048],{},[394,1095,1096,1097,1100,1101,1104,1105,1108],{},"A directory variable that is not an absolute path is ignored. A store\ndirectory that cannot be listed, or a session file whose directory entry\ncannot be read, is named in the store's ",[212,1098,1099],{},"problems"," and its sessions are not\nlisted; a watermark row whose file it hides is ",[212,1102,1103],{},"unreadable",", not ",[212,1106,1107],{},"absent",". A\nrecorded working directory that is not an absolute path is ignored, as if not\nrecorded. Every reader takes a result's status from the harness's own record\nwhere there is one and otherwise from fixed texts of the harness, matched\nliterally, so a reworded denial or abort message in a new harness release is\nmissed: Claude Code and OpenCode read it as a plain error; Codex as ok\nunless an exit code says otherwise; Gemini CLI as an error, or as\ninterrupted on a cancelled call; Copilot CLI takes denials and aborts from\nrecords, not texts.",[394,1110,1111,1112,1115,1116,1119],{},"A session is named by its ref, ",[212,1113,1114],{},"\u003Charness>:\u003Csession id>","; an event of a\ndigest adds ",[212,1117,1118],{},"#\u003Cspan>",", the reader's id of the log entry that carries it\n(per reader below).",[681,1121,43],{"id":807},[1123,1124,1125,1135,1154,1179],"ul",{},[652,1126,1127,1128,1131,1132,419],{},"Span: the entry's ",[212,1129,1130],{},"uuid","; a tool call's span is that of the assistant\nentry carrying its ",[212,1133,1134],{},"tool_use",[652,1136,1137,1138,1141,1142,1145,1146,1149,1150,1153],{},"Prompt: a ",[212,1139,1140],{},"user"," entry with text that is not ",[212,1143,1144],{},"isMeta"," and carries no\n",[212,1147,1148],{},"tool_result","; one starting ",[212,1151,1152],{},"[Request interrupted by user"," is an interrupt.",[652,1155,1156,1157,1160,1161,451,1164,1167,1168,1171,1172,1174,1175,1178],{},"Results: ",[212,1158,1159],{},"is_error"," makes a result fail; it is denied when it contains\n",[212,1162,1163],{},"The user doesn't want to proceed with this tool use",[212,1165,1166],{},"has been denied",", interrupted when ",[212,1169,1170],{},"toolUseResult.interrupted"," is true or it\ncontains ",[212,1173,1152],{},". The log records no exit code: the\ndigest reads it from an ",[212,1176,1177],{},"Exit code N"," first line.",[652,1180,1181,1182,1185,1186,419],{},"Not read: subdirectories of a project directory, sub-agent transcripts\namong them. The encoding turns every byte outside ",[212,1183,1184],{},"[A-Za-z0-9]"," into ",[212,1187,1188],{},"-",[681,1190,114],{"id":1191},"oh-my-pi-omp",[394,1193,1194,1197,1198,1104,1200,1202,1203,1212],{},[212,1195,1196],{},"omp:\u003Cheader id>"," identifies the harness, independently of its model\u002Fprovider:\nCodex running inside omp is still ",[212,1199,945],{},[212,1201,839],{},". Discovery reads the\nheader, not the filename, for identity. The reader supports version-1 through\nversion-3 JSONL journals, including a leading fixed-width title slot.\nMissing versions use omp's legacy version-1 interpretation. Its format evidence is\nthe ",[405,1204,1208,1209],{"href":1205,"rel":1206},"https:\u002F\u002Fgithub.com\u002Fcan1357\u002Foh-my-pi\u002Ftree\u002Ff2ee6ba9b3e00b379c7c12b9d99ef6369fd08f3f\u002Fpackages\u002Fcoding-agent\u002Fsrc\u002Fsession",[1207],"nofollow","upstream source at ",[212,1210,1211],{},"f2ee6ba9",";\nverification uses synthetic fixtures, not private transcripts.",[394,1214,1215,1216,1219,1220,1223,1224,1227,1228,1231],{},"The default store is ",[212,1217,1218],{},"~\u002F.omp\u002Fagent\u002Fsessions","; on Linux, an absolute\n",[212,1221,1222],{},"XDG_DATA_HOME"," selects ",[212,1225,1226],{},"$XDG_DATA_HOME\u002Fomp\u002Fsessions",". Each native hook records\nits own absolute ",[212,1229,1230],{},"PI_CODING_AGENT_DIR"," session root for later discovery.\nThe shared variable alone does not assign a custom directory to both harnesses.\nWithout a hook record, only the harness's conventional agent directory is accepted.\nDiscovery does not follow custom-session breadcrumbs or descend into child\ntranscript directories. Subagent journals are not independent sessions in\nthe local inventory.",[1123,1233,1234,1245,1252,1255,1258],{},[652,1235,1236,1237,1240,1241,1244],{},"Prompts require explicit ",[212,1238,1239],{},"attribution: \"user\""," and must not be synthetic.\nFor user-attributed ",[212,1242,1243],{},"skill-prompt"," invocations, only the authored prompt\nfrom skill details is counted, not the expanded skill instructions.\nOther custom notices, injected instructions, continuation messages,\nagent-attributed messages and un-attributed legacy messages are not counted.\nZero prompts can mean missing attribution, not an absence of human work.",[652,1246,1247,1248,1251],{},"The reader includes retained journal branches, not only the active model\ncontext. Parent links and active-leaf markers do not filter historical work.\nCompaction and branch summaries are not new prompts; removed history cannot\nbe recovered. Entry ids provide ",[212,1249,1250],{},"--context-from"," spans; legacy entries\nwithout ids use byte offsets, which can change when the journal is rewritten.",[652,1253,1254],{},"Tool calls and results are paired by call id and journal ancestry. A replay\non another retained branch is a separate execution, attributed to its\nresult entry; a duplicate result on the same branch is refused.\nFailures and interruptions use structured harness records and recognized\nharness-generated interruption messages. A missing result is not evidence\nof success.",[652,1256,1257],{},"Complete journal revisions are fingerprinted: rewrites, including\nsame-size edits, invalidate processed progress. A changed revision is\ndigested in full rather than treating it as an append-only tail.\nStable span-based filing keys still deduplicate repeated findings.",[652,1259,1260],{},"Collection policy and repository vetoes apply before reading the body;\nheader metadata is revalidated when the body is opened. Symlinks and\nnonregular sources are refused. Digests retain the shared bounds and\nscrubbing, and local status\u002Fmarking use the shared session database.",[394,1262,1263,1264,1266,1267,1269],{},"Native ",[212,1265,567],{}," capture is available through ",[212,1268,441],{}," and the\nautomatic sweep under the same consent and collection rules as other\nsupported formats. Session attribution is not proof of which instructions\nwere historically installed; a study requiring that provenance must\nestablish it separately.",[681,1271,118],{"id":977},[394,1273,1274,1277,1278,1280,1281,1284,1285,639,1287,1290],{},[212,1275,1276],{},"pi:\u003Cheader id>"," identifies pi independently of omp and its model\u002Fprovider.\nThe ",[212,1279,571],{}," reader discovers version-3 journals under\n",[212,1282,1283],{},"~\u002F.pi\u002Fagent\u002Fsessions\u002F\u003Cproject>\u002F*.jsonl"," by default. Its hook records its own\nabsolute ",[212,1286,1230],{},[212,1288,1289],{},"PI_CODING_AGENT_SESSION_DIR"," when supplied;\nomp's hook record never overrides pi's root.\nIdentity and collection gating come from the bounded session header.\nSymlinks and nonregular sources are refused, and header metadata is\nrevalidated before the body is read. Parent-session paths are not followed.\nSupport is covered by synthetic native-schema fixtures, not a live pi session.",[1123,1292,1293,1296,1299,1318],{},[652,1294,1295],{},"User-role messages count as prompts; pi does not require omp's attribution\nfield. Thinking blocks, custom records and compaction records are not prompts.",[652,1297,1298],{},"Retained branches are read, not only the active context. Entry ids are\nspans; entries without ids use byte offsets. Rewrites invalidate digest\nprogress through the complete-line fingerprint.",[652,1300,1301,1302,1305,1306,1309,1310,1313,1314,1317],{},"Assistant ",[212,1303,1304],{},"toolCall"," blocks pair with ",[212,1307,1308],{},"toolResult"," messages by call id and\nancestry. Sibling-branch results count separately; duplicate results on one\nbranch and missing or duplicate call ids are refused. ",[212,1311,1312],{},"isError"," marks a\ntool error; an assistant's ",[212,1315,1316],{},"stopReason: \"aborted\""," marks interruption.\nomp-specific result-detail flags are not interpreted as pi interruptions.",[652,1319,1263,1320,1322,1323,419],{},[212,1321,571],{}," capture uses the same persisted ordered revisions,\nscrubbing, repository vetoes and server consent checks described in ",[405,1324,413],{"href":412},[681,1326,1327],{"id":839},"Codex",[1123,1329,1330,1356,1375,1445,1472],{},[652,1331,1332,1333,1336,1337,1340,1343,1344,1347,1348,1351,1352,1355],{},"Span: the call's ",[212,1334,1335],{},"call_id","; a prompt from an ",[212,1338,1339],{},"item_completed",[212,1341,1342],{},"UserMessage"," item, its item ",[212,1345,1346],{},"id","; any other entry ",[212,1349,1350],{},"L\u003Coffset>",", its line's\nbyte offset. A rewritten rollout changes ",[212,1353,1354],{},"L"," spans.",[652,1357,1358,1359,1362,1363,438,1366,1362,1368,1370,1371,1374],{},"Prompt: ",[212,1360,1361],{},"event_msg"," ",[212,1364,1365],{},"user_message",[212,1367,1339],{},[212,1369,1342],{},", never\n",[212,1372,1373],{},"response_item"," user messages, which also carry injected context.",[652,1376,1377,1378,1381,1382,1385,1386,625,1389,625,1392,451,1395,1398,1399,1401,1402,1405,1406,451,1409,1412,1413,1416,1417,1420,1421,817,1423,635,1426,1429,1430,451,1433,1436,1437,1440,1441,1444],{},"Results: the first output line of a call is its result. A legacy result\n(",[212,1379,1380],{},"function_call_output"," text) is classified from the text Codex writes,\nnever the command's output: the header lines before the first line that\nis exactly ",[212,1383,1384],{},"Output:",". An exit code of 0 there is ok. Otherwise ",[212,1387,1388],{},"exec command rejected by user",[212,1390,1391],{},"patch rejected by user",[212,1393,1394],{},"rejected by configuration",[212,1396,1397],{},"automatic approval review denied the action"," in the\nheader is denied (without an ",[212,1400,1384],{}," line, only when the text starts\nwith it), a line starting ",[212,1403,1404],{},"aborted by user"," interrupted, and a non-zero\nexit code in a ",[212,1407,1408],{},"Process exited with code N",[212,1410,1411],{},"Exit code: N"," header an\nerror. The oldest form (",[212,1414,1415],{},"{\"output\", \"metadata\"}",") is classified by its\n",[212,1418,1419],{},"metadata.exit_code"," alone. A later ",[212,1422,1339],{},[212,1424,1425],{},"failed",[212,1427,1428],{},"declined","), ",[212,1431,1432],{},"patch_apply_end",[212,1434,1435],{},"mcp_tool_call_end"," refines the status,\nand the exit code when it records one; one that changes the status moves\nthe call's result to its line, so an incremental digest reports it. A\n",[212,1438,1439],{},"turn_aborted"," with reason ",[212,1442,1443],{},"interrupted"," interrupts every call still\nwithout a result.",[652,1446,1447,1448,1450,1451,1453,1454,1457,1458,1461,1462,1465,1466,1468,1469,1471],{},"Metadata: the ",[212,1449,863],{}," first line is read alone, one byte at a\ntime, nothing past its newline, at most 1 MiB. When it is longer, is not\n",[212,1452,863],{}," or does not decode, and the policy has ",[212,1455,1456],{},"deny_paths"," or\n",[212,1459,1460],{},"opt_in_only",", the session is ",[212,1463,1464],{},"denied"," without being read (\"the session\nmetadata could not be read, so the policy could not be checked\"); without\nsuch a policy it is read and checked by its recorded working directories.\nThe read checks its first line again: a ",[212,1467,831],{}," other than the one the gate\nchecked makes the session ",[212,1470,1103],{}," (\"the session changed since its\npolicy was checked\").",[652,1473,1474,1475,1478,1479,1482,1483,1486,1487,1490,1491,438,1494,1497,1498,1500,1501,419],{},"Not read: a compressed rollout (",[212,1476,1477],{},".jsonl.zst",", listed ",[212,1480,1481],{},"unsupported-format","),\nand the ",[212,1484,1485],{},"history_base"," prefix of a paginated rollout, kept in another file.\nThe session id is the file name after ",[212,1488,1489],{},"rollout-\u003Ctime>-",", without the\nextension; a session id in both ",[212,1492,1493],{},"sessions",[212,1495,1496],{},"archived_sessions"," is\nlisted from ",[212,1499,1493],{},", the other named in ",[212,1502,1099],{},[681,1504,122],{"id":1505},"copilot-cli",[1123,1507,1508,1517,1526,1577],{},[652,1509,1510,1511,1513,1514,419],{},"Span: the event ",[212,1512,1346],{},"; a tool call's span is that of its\n",[212,1515,1516],{},"tool.execution_start",[652,1518,1358,1519,1522,1523,1525],{},[212,1520,1521],{},"user.message"," with source ",[212,1524,1140],{}," (or none) that is not an\nautopilot continuation.",[652,1527,1528,1529,1532,1533,451,1536,1538,1539,1542,1543,451,1545,1548,1549,1552,1553,1556,1557,1560,1561,1564,1565,1568,1569,1572,1573,1576],{},"Results: the first ",[212,1530,1531],{},"tool.execution_complete"," of a call: error code\n",[212,1534,1535],{},"rejected",[212,1537,1464],{}," is denied; success with no exit code or exit code 0\nis ok; anything else, success with a non-zero exit code included, is an\nerror. The exit code is ",[212,1540,1541],{},"shellExecution.exitCode",", else, for a shell call\n(tool ",[212,1544,209],{},[212,1546,1547],{},"powershell",", a start with ",[212,1550,1551],{},"shellToolInfo",", or a complete\nwith ",[212,1554,1555],{},"shellExecution","), the closing ",[212,1558,1559],{},"completed with exit code N"," line.\n",[212,1562,1563],{},"permission.completed"," with a ",[212,1566,1567],{},"denied-"," kind denies a call without a\nresult, with ",[212,1570,1571],{},"cancelled"," interrupts it; one after the result changes\nnothing. ",[212,1574,1575],{},"abort"," interrupts every call without a result.",[652,1578,1579,1580,1583,1584,1587,1588,1591,1592,1594,1595,1597],{},"Not read: events with an ",[212,1581,1582],{},"agentId"," (sub-agents), the ",[212,1585,1586],{},"session-store.db","\nindex and the legacy flat transcripts. Only a top-level ",[212,1589,1590],{},"cwd:"," scalar (or\nthe JSON member ",[212,1593,831],{},") of ",[212,1596,895],{}," is read, and only from a\nregular file of at most 64 KiB.",[681,1599,68],{"id":909},[1123,1601,1602,1608,1625,1669,1676],{},[652,1603,1604,1605,1607],{},"Span: the message ",[212,1606,1346],{},". A message written again under its id updates its\nentry in place: a rewrite of an already-digested message updates its text\nor model without reporting it again. A call's result is the first line\nthat records it in a terminal status.",[652,1609,1137,1610,1612,1613,1616,1617,1620,1621,1624],{},[212,1611,1140],{}," message with text, not only function responses, not\nstarting with ",[212,1614,1615],{},"\u003Csession_context>",", and not a slash command (a first word\nmatching ",[212,1618,1619],{},"\u002F[A-Za-z][A-Za-z0-9_-]*",", so ",[212,1622,1623],{},"\u002Fhome\u002Fu\u002Fx fix this"," is a prompt).",[652,1626,1627,1628,1630,1631,1633,1634,451,1637,1640,1641,1644,1645,625,1648,635,1651,625,1654,451,1657,1660,1661,1664,1665,1668],{},"Results: status ",[212,1629,642],{}," is an error, ",[212,1632,1571],{}," interrupted; ",[212,1635,1636],{},"[Operation Cancelled] Reason: User denied execution.",[212,1638,1639],{},"Tool execution denied by policy."," is denied. Gemini CLI records no exit code: a ",[212,1642,1643],{},"run_shell_command","\nresult whose trailer (the final lines starting ",[212,1646,1647],{},"Error: ",[212,1649,1650],{},"Exit Code: ",[212,1652,1653],{},"Signal: ",[212,1655,1656],{},"Background PIDs: ",[212,1658,1659],{},"Process Group PGID: ",") has an ",[212,1662,1663],{},"Exit Code: N"," line (N not 0) is an error with that exit code, one with a\n",[212,1666,1667],{},"Signal:"," line an error without; lines the command printed are not read.",[652,1670,1671,1672,1675],{},"Working directory: ",[212,1673,1674],{},".project_root"," is read only from a regular file of at\nmost 4 KiB, and not at all when collection is disabled.",[652,1677,1678,1679,1682,1683,1686,1687,1689,1690,1693,1694,1697],{},"Not read: ",[212,1680,1681],{},"chats\u002F\u003Cparent session id>\u002F"," subdirectories (sub-agents), and\n",[212,1684,1685],{},"session-*.json"," single-document sessions of releases before v0.39.0,\nlisted ",[212,1688,1481],{},". A ",[212,1691,1692],{},"$patch"," record is not applied, and\nmessages a ",[212,1695,1696],{},"$rewindTo"," removes are kept: they happened.",[681,1699,1701],{"id":1700},"opencode","OpenCode",[1123,1703,1704,1707,1710,1730,1749],{},[652,1705,1706],{},"Span: the message id of a prompt, the part id of a tool call.",[652,1708,1709],{},"Prompt: a user message's text parts that are neither synthetic nor\nignored; a user message counts once it has a part.",[652,1711,1712,1713,1716,1717,1720,1721,1723,1724,1726,1727,1153],{},"Results: a ",[212,1714,1715],{},"completed"," tool part is ok unless ",[212,1718,1719],{},"metadata.exit"," is a\nnon-zero integer (an error with that exit code), or null with the shell\ntool's abort note (interrupted) or timeout note (an error). An ",[212,1722,642],{}," part\nis interrupted when aborted, denied when the user or a rule refused it or a\nquestion was dismissed, else an error. A ",[212,1725,1719],{}," of 1.0 is exit\ncode 1. An assistant message ended by\n",[212,1728,1729],{},"MessageAbortedError",[652,1731,1732,1733,1736,1737,1740,1741,1743,1744,1746,1747,419],{},"Not read: child sessions (",[212,1734,1735],{},"parent_id"," set: sub-agents). A session is laid\nout as a virtual append-only log, one record per message then per part, so\noffsets, sizes and watermarks work as for a file. A record holds only the\nfields that are final once the row is complete, so OpenCode's later\nrewrites (a user message's summary, a tool part's compaction time) do not\nchange it. A user message without parts, an assistant message not\ncompleted, or a tool part not finished, ends it like a final line without\nits newline, and the session's mtime is its ",[212,1738,1739],{},"time_updated",". A session id\nin two databases is listed from the first, the other named in ",[212,1742,1099],{},".\nA session whose ",[212,1745,1037],{}," changed since it was listed is ",[212,1748,1103],{},[652,1750,1751,1752,1755,1756,1759,1760,1763,1764,451,1767,1769,1770,1772,1773,1775,1776,419],{},"Open: never written, and never opened ",[212,1753,1754],{},"mode=ro"," (SQLite opens and creates\nthe ",[212,1757,1758],{},"-shm"," file read-write even then): always ",[212,1761,1762],{},"immutable=1",", so no lock is\ntaken and no ",[212,1765,1766],{},"-wal",[212,1768,1758],{}," file is opened or created. The database file\nand its ",[212,1771,1766],{}," are checked (existence, size, mtime) before and after the\nread; a change discards the read and reads once more, and a second change\nmakes it ",[212,1774,1103],{}," (\"the database changed during the read\"). Rows still\nonly in OpenCode's write-ahead log are not seen until OpenCode checkpoints\nthem into the database file, at the latest when it exits; the session\nthen reads as ",[212,1777,1778],{},"appended",[681,1780,110],{"id":1781},"opencode-2",[1123,1783,1784,1813,1824,1829,1847,1865],{},[652,1785,1786,1787,625,1789,1792,1793,625,1795,625,1798,625,1801,1804,1805,1808,1809,1812],{},"Store: tables ",[212,1788,1059],{},[212,1790,1791],{},"session_message"," (one row per message, typed\n",[212,1794,1140],{},[212,1796,1797],{},"assistant",[212,1799,1800],{},"system",[212,1802,1803],{},"idle"," and others, ordered by ",[212,1806,1807],{},"seq",") and\n",[212,1810,1811],{},"session_part"," when present; opened, checked and retried as for V1.",[652,1814,1815,1816,1819,1820,1823],{},"Span: the message id of a prompt, ",[212,1817,1818],{},"\u003Cmessage id>\u002F\u003Cindex>"," of a tool call\nembedded in an assistant message, ",[212,1821,1822],{},"\u003Cmessage id>\u002F\u003Cordinal>"," of a part row.",[652,1825,1137,1826,1828],{},[212,1827,1140],{}," message with non-empty text.",[652,1830,1831,1832,1834,1835,1838,1839,1841,1842,1844,1845,1153],{},"Results: a tool is ",[212,1833,1715],{}," (ok, unless ",[212,1836,1837],{},"state.metadata.exit"," is a\nnon-zero integer: an error with that exit code) or ",[212,1840,642],{}," (an error; the\n2.2.6 samples show no abort or denial text to classify). An ",[212,1843,1803],{}," row with\noutcome ",[212,1846,1443],{},[652,1848,1849,1850,1853,1854,1857,1858,1861,1862,1864],{},"Layout: a virtual append-only log, one record per message then per part,\neach holding only fields final once complete; an assistant message without\n",[212,1851,1852],{},"time.completed",", or with a streaming or running tool, ends it.\nA file a tool returned is recorded without its inline ",[212,1855,1856],{},"data:"," content (its\ntype, name and MIME type stay). A session moved to another directory\n(",[212,1859,1860],{},"location-switched",") records both directories, and both are checked\nagainst the ",[212,1863,402],{}," rules.",[652,1866,1732,1867,1869],{},[212,1868,1735],{}," set).",[681,1871,102],{"id":1872},"cursor",[394,1874,1875,1876,625,1879,438,1882,1885,1886,1889,1890,1892],{},"Hook-indexed listing and capture are supported; semantic digests are not.\n",[212,1877,1878],{},"postToolUseFailure",[212,1880,1881],{},"stop",[212,1883,1884],{},"sessionEnd"," record the conversation id,\nabsolute transcript path beneath the home directory, workspace roots and\nreported cwd in the existing owner-only session counters cache (seven-day retention).\n",[212,1887,1888],{},"install cursor"," wires all three events; ",[212,1891,1884],{}," is fire-and-forget.\nNo transcript is opened by the hook.",[394,1894,1895,1896,1899,1900,1902],{},"Listing and push apply collection policy and repository upload vetoes to every\nrecorded workspace root and the reported cwd before opening the transcript.\nThe first root supplies the displayed project. Missing or invalid roots are\n",[212,1897,1898],{},"unknown-project","; symlinks (including ancestor components) and nonregular\nfiles are refused. A symlinked home or ancestor therefore prevents capture.\nOnly complete lines are captured, labelled ",[212,1901,579],{}," for\nboth IDE and CLI sessions. Transcript mtime supplies the capture timestamps;\ntool counts and model metadata are unavailable.\nAutomatic mixed-harness digests skip Cursor without opening its transcripts.\nAfter seven days without a hook update, cache pruning removes the transcript\npointer; the transcript remains untouched but is no longer discoverable until\nanother hook indexes it.",[394,1904,1905,1906,763,1911,1916,1917,625,1920,1923],{},"Verification is documentation-based, using the official\n",[405,1907,1910],{"href":1908,"rel":1909},"https:\u002F\u002Fcursor.com\u002Fdocs\u002Fhooks",[1207],"hooks contract",[405,1912,1915],{"href":1913,"rel":1914},"https:\u002F\u002Fcursor.com\u002Fdocs\u002Fcli\u002Fchangelog",[1207],"CLI changelog",", checked 2026-11-10,\nplus synthetic IDE and CLI fixtures. No installed Cursor version was\nlive-verified. The CLI changelog's Claude Code-compatible JSONL claim does\nnot establish digest compatibility; both surfaces remain storage-only.\nThe IDE format lacks tool results, timestamps, call ids and cwd. The\nundocumented SQLite\u002Fprotobuf stores (",[212,1918,1919],{},"store.db",[212,1921,1922],{},"state.vscdb",") are not read.",[681,1925,126],{"id":1926},"antigravity",[394,1928,1929,1930,1933,1934,1937,1938,1941,1942,1945],{},"Not read. ",[212,1931,1932],{},"transcript.jsonl"," under ",[212,1935,1936],{},"\u003Capp data dir>\u002Fbrain\u002F\u003Cconversation id>\u002F.system_generated\u002Flogs\u002F"," records steps with a status but no working\ndirectory or call ids; its directory differs per product surface, it is\nrewritten on compaction, and versions before agy 1.2.4 omit failed steps.\n",[212,1939,1940],{},"conversations\u002F*.pb"," are encrypted and the ",[212,1943,1944],{},"*.db"," files undocumented.",[394,1947,1948],{},"Devin: no documented local session store; not read (best effort).",[474,1950,1952],{"id":1951},"commands","Commands",[776,1954,1955,1968],{},[779,1956,1957],{},[782,1958,1959,1962,1965],{},[785,1960,1961],{},"Command",[785,1963,1964],{},"Flags",[785,1966,1967],{},"What",[798,1969,1970,2031,2052,2084,2104,2124,2137,2161],{},[782,1971,1972,1976,1994],{},[803,1973,1974],{},[212,1975,675],{},[803,1977,1978,625,1981,625,1984,625,1987,1990,1991],{},[212,1979,1980],{},"--harness H",[212,1982,1983],{},"--since T",[212,1985,1986],{},"--unprocessed",[212,1988,1989],{},"--project PATH"," (repeatable), ",[212,1992,1993],{},"--json",[803,1995,1996,1997,1999,2000,625,2003,625,2006,625,2009,2012,2013,2015,2016,438,2019,2022,2023,2026,2027,825],{},"every session with its state; ",[212,1998,590],{}," keeps sessions whose last entry is at or after T (RFC 3339 or ",[212,2001,2002],{},"30m",[212,2004,2005],{},"12h",[212,2007,2008],{},"7d",[212,2010,2011],{},"2w","); ",[212,2014,1986],{}," keeps ",[212,2017,2018],{},"new",[212,2020,2021],{},"changed","; ",[212,2024,2025],{},"--project"," keeps the sessions in PATH or beneath it (",[405,2028,2030],{"href":2029},"#projects","Projects",[782,2032,2033,2038,2045],{},[803,2034,2035],{},[212,2036,2037],{},"sessions digest \u003Charness:id>...",[803,2039,2040,625,2043],{},[212,2041,2042],{},"--allow-unknown-project",[212,2044,1993],{},[803,2046,2047,2048,2051],{},"the digest of the named sessions; a ",[212,2049,2050],{},"processed"," session named here is digested whole again",[782,2053,2054,2059,2070],{},[803,2055,2056],{},[212,2057,2058],{},"sessions digest --unprocessed",[803,2060,2061,625,2063,625,2066,625,2068],{},[212,2062,1980],{},[212,2064,2065],{},"--limit N",[212,2067,2042],{},[212,2069,1993],{},[803,2071,2072,2073,438,2075,2077,2078,2080,2081,2083],{},"the digest of the ",[212,2074,2018],{},[212,2076,2021],{}," sessions (and the ",[212,2079,1898],{}," ones with ",[212,2082,2042],{},"), oldest last entry first, at most N (0: no limit)",[782,2085,2086,2091,2097],{},[803,2087,2088],{},[212,2089,2090],{},"sessions transcript \u003Charness:id>...",[803,2092,2093,625,2095],{},[212,2094,2042],{},[212,2096,1993],{},[803,2098,2099,2100,2103],{},"the whole of each named session, condensed, scrubbed and capped (",[405,2101,2102],{"href":407},"Transcript format","); read-only: no database is opened, no watermark or state changes",[782,2105,2106,2111,2121],{},[803,2107,2108],{},[212,2109,2110],{},"sessions mark \u003Charness:id>...",[803,2112,2113,625,2116,1990,2119],{},[212,2114,2115],{},"--outcome filed|nothing|skipped",[212,2117,2118],{},"--ref UID",[212,2120,1993],{},[803,2122,2123],{},"records the outcome and the uids filed; all refs or none; a session not digested yet is refused, and so is a uid not in the submission uid form (an RFC 9562 UUID, 8-4-4-4-12 hex)",[782,2125,2126,2130,2134],{},[803,2127,2128],{},[212,2129,429],{},[803,2131,2132],{},[212,2133,1993],{},[803,2135,2136],{},"per harness: the store location and state, counts per session state; the saved selection",[782,2138,2139,2144,2154],{},[803,2140,2141],{},[212,2142,2143],{},"sessions status --set-selection",[803,2145,2146,1990,2148,625,2150,625,2152],{},[212,2147,1980],{},[212,2149,1983],{},[212,2151,2065],{},[212,2153,1993],{},[803,2155,2156,2157,2160],{},"saves the processor's selection (",[212,2158,2159],{},"since"," is kept as written), then prints the status",[782,2162,2163,2168,2177],{},[803,2164,2165],{},[212,2166,2167],{},"sessions skills",[803,2169,2170,1990,2172,625,2175],{},[212,2171,1989],{},[212,2173,2174],{},"--global",[212,2176,1993],{},[803,2178,2179,2180,2182,2183,2187],{},"the skills installed for the projects at PATH and, with ",[212,2181,2174],{},", the user-level ones of every harness (",[405,2184,2186],{"href":2185},"#skills","Skills","); one of the two is required",[394,2189,2190,2191,2193,2194,2197,2198,625,2201,2203,2204,625,2207,2210,2211,2213,2214,451,2216,2218,2219,2221,2222,2224,2225,2228,2229,438,2231,2233,2234,2237],{},"Without ",[212,2192,1993],{}," the output is a table (",[212,2195,2196],{},"list","), readable text with the\nnotice first (",[212,2199,2200],{},"digest",[212,2202,408],{},") or a summary (",[212,2205,2206],{},"status",[212,2208,2209],{},"mark","). ",[212,2212,675],{},"\nnames on stderr a store that is ",[212,2215,1103],{},[212,2217,1481],{},", and\neach of its ",[212,2220,1099],{},", always; an ",[212,2223,1107],{}," store only when ",[212,2226,2227],{},"--harness"," names\nits harness. ",[212,2230,2200],{},[212,2232,408],{}," exit 1\nwhen sessions were requested and none could be shown; their JSON then names\neach in ",[212,2235,2236],{},"errors",". A wrong command line exits 2.",[394,2239,2240,2243,2244,2247,2248,2251,2252,2254,2255,2257,2258,2260,2261,2264,2265,817,2268,1362,2271,1457,2274,2277,2278,2281,2282,2285,2286,2288],{},[212,2241,2242],{},"sessions list --json"," gives a session that was read and used a skill\n",[212,2245,2246],{},"skills_used",": ",[212,2249,2250],{},"[{name, span}]",", the first use of each skill in log order\n(the member is left out otherwise, and the table does not show it).\n",[212,2253,2167],{}," prints the table NAME, SCOPE, HARNESSES, PATH, its\n",[212,2256,1099],{}," on stderr; ",[212,2259,1993],{}," prints ",[212,2262,2263],{},"{skills, problems}",": per SKILL.md\n",[212,2266,2267],{},"{name, description, path, scope, harnesses}",[212,2269,2270],{},"scope",[212,2272,2273],{},"project",[212,2275,2276],{},"global","; a directory several harnesses read, such as ",[212,2279,2280],{},".agents\u002Fskills",", is\none entry naming them all), sorted by scope, name and path, and per SKILL.md\nor skill directory that could not be read ",[212,2283,2284],{},"{path, reason}",". A relative\n",[212,2287,2025],{}," is taken from the working directory.",[681,2290,2030],{"id":2291},"projects",[394,2293,2294,2295,2297,2298,2301,2302,2305,2306,2309,2310,2312,2313,2315,2316,2318],{},"A session is in a project when a directory it is known by is the project\ndirectory or lies beneath it, matched as ",[212,2296,402],{}," matches: each as\nwritten and with its symbolic links resolved, without case on macOS and\nWindows. The directories are the working directories the read recorded; for\na session refused before the read, the one checked before the open\n(",[405,2299,36],{"href":2300},"#harnesses",") and, for Claude Code, the encoded project\ndirectory name. That name has lost the path's separators, so a Claude Code\nsession refused before it is opened in a sibling such as ",[212,2303,2304],{},"\u002Fp\u002Ffoo-bar"," is\nlisted under ",[212,2307,2308],{},"--project \u002Fp\u002Ffoo"," too, with its refused state only and nothing\nread from it. The filter never changes a state: a ",[212,2311,1464],{}," session in the\nproject is listed ",[212,2314,1464],{},", with nothing read from it. An ",[212,2317,1107],{}," row\nrecords no directory and is in no project.",[474,2320,2186],{"id":2321},"skills",[394,2323,2324,2325,2328,2329,2332,2333,2336,2337,2339,2340,2342,2343,2345,2346,2348,2349,2351,2352,2354],{},"A harness reads skills from user-level directories (the ones ",[212,2326,2327],{},"install","\nwrites the skill to) and from project directories, each holding\n",[212,2330,2331],{},"\u003Cname>\u002FSKILL.md",", one level deep; a symbolically linked skill directory is\nfollowed. The project directories, relative to the project directory and\neach of its ancestors up to and including the nearest one that holds ",[212,2334,2335],{},".git","\n(the project directory alone when none does). The walk stops below the\nhome directory: neither home nor a directory above it is a project\ndirectory, so a ",[212,2338,2335],{}," in home does not turn the user-level skill\ndirectories into project ones, and ",[212,2341,2025],{}," on home lists no project\nskill. ",[212,2344,2167],{}," applies the ",[212,2347,402],{}," policy to each ",[212,2350,2025],{},"\npath first, as for a session's working directory: a disabled or denied\nproject is not read, and a ",[212,2353,1099],{}," entry names the reason:",[776,2356,2357,2366],{},[779,2358,2359],{},[782,2360,2361,2363],{},[785,2362,787],{},[785,2364,2365],{},"Project skill directories",[798,2367,2368,2379,2392,2407,2420,2440],{},[782,2369,2370,2374],{},[803,2371,2372],{},[212,2373,807],{},[803,2375,2376],{},[212,2377,2378],{},".claude\u002Fskills",[782,2380,2381,2385],{},[803,2382,2383],{},[212,2384,839],{},[803,2386,2387,625,2389],{},[212,2388,2280],{},[212,2390,2391],{},".codex\u002Fskills",[782,2393,2394,2398],{},[803,2395,2396],{},[212,2397,874],{},[803,2399,2400,625,2403,625,2405],{},[212,2401,2402],{},".github\u002Fskills",[212,2404,2280],{},[212,2406,2378],{},[782,2408,2409,2413],{},[803,2410,2411],{},[212,2412,909],{},[803,2414,2415,625,2418],{},[212,2416,2417],{},".gemini\u002Fskills",[212,2419,2280],{},[782,2421,2422,2428],{},[803,2423,2424,625,2426],{},[212,2425,1001],{},[212,2427,1048],{},[803,2429,2430,625,2433,625,2436,625,2438],{},[212,2431,2432],{},".opencode\u002Fskill",[212,2434,2435],{},".opencode\u002Fskills",[212,2437,2378],{},[212,2439,2280],{},[782,2441,2442,2446],{},[803,2443,2444],{},[212,2445,1872],{},[803,2447,2448,625,2451,625,2453,625,2455],{},[212,2449,2450],{},".cursor\u002Fskills",[212,2452,2280],{},[212,2454,2378],{},[212,2456,2391],{},[394,2458,2459,2460,2463,2464,2466,2467,438,2470,2473,2474,2476,2477,2479,2480,625,2482,635,2485,438,2487,2489],{},"Other harnesses have no project skill directories here: they were not\nverified. Only the front matter of a SKILL.md is read: the YAML between a\nfirst line ",[212,2461,2462],{},"---"," and the next line ",[212,2465,2462],{},", within the first 64 KiB, for\n",[212,2468,2469],{},"name",[212,2471,2472],{},"description",". A SKILL.md that is not a regular file (after\nsymbolic links) is never opened; it, and one without that block, with front\nmatter that is not YAML or without a ",[212,2475,2469],{},", is reported in ",[212,2478,1099],{},"; a\nsubdirectory without a SKILL.md is not a skill. ",[212,2481,2469],{},[212,2483,2484],{},"path",[212,2486,2472],{},[212,2488,1099],{}," are scrubbed.",[394,2491,2492,2494,2495,2497,2498,2500,2501,2503,2504,2506,2507,2510],{},[212,2493,2246],{}," (in ",[212,2496,2242],{}," and in each digested session)\nnames the skills a session used, from the harness's own record of a skill\nuse, kept only when a skill directory holds the skill: the user-level skills\nof every harness and the project skills of every working directory the\nsession records that the ",[212,2499,402],{}," policy allows. A use names its skill by its exact front-matter ",[212,2502,2469],{},", or, when\nthe log names a SKILL.md path, by the skill directory's base name; the\n",[212,2505,2469],{}," reported is the front-matter name. A plugin's skill\n(",[212,2508,2509],{},"plugin:skill",") is not in a skill directory and is not reported. Per reader:",[776,2512,2513,2525],{},[779,2514,2515],{},[782,2516,2517,2519,2522],{},[785,2518,790],{},[785,2520,2521],{},"Skill use",[785,2523,2524],{},"Not seen",[798,2526,2527,2558,2594,2612,2630,2647],{},[782,2528,2529,2533,2555],{},[803,2530,2531],{},[212,2532,559],{},[803,2534,2535,2536,2539,2540,2543,2544,2546,2547,2550,2551,2554],{},"a ",[212,2537,2538],{},"Skill"," tool call's ",[212,2541,2542],{},"input.skill","; a user text, not ",[212,2545,1144],{},", made of the slash-command tags (",[212,2548,2549],{},"\u003Ccommand-name>\u002FX\u003C\u002Fcommand-name>"," with or without ",[212,2552,2553],{},"\u003Ccommand-message>"," before it), when X is a skill",[803,2556,2557],{},"a skill whose body was read with another tool",[782,2559,2560,2564,2591],{},[803,2561,2562],{},[212,2563,563],{},[803,2565,860,2566,2569,2570,2573,2574,2576,2577,2580,2581,2022,2584,451,2587,2590],{},[212,2567,2568],{},"\u003Cskill>\u003Cname>X\u003C\u002Fname>"," user message Codex injects for a ",[212,2571,2572],{},"$X"," mention; a tool call whose command or ",[212,2575,2484],{}," argument names ",[212,2578,2579],{},"…\u002Fskills\u002F\u003CX>\u002FSKILL.md"," (or ",[212,2582,2583],{},"…\u002Fskill\u002F\u003CX>\u002FSKILL.md",[212,2585,2586],{},"\u002F",[212,2588,2589],{},"\\"," separators)",[803,2592,2593],{},"a skill Codex loaded without either; a shell command that edits a SKILL.md counts as a use",[782,2595,2596,2600,2609],{},[803,2597,2598],{},[212,2599,879],{},[803,2601,2535,2602,2605,2606],{},[212,2603,2604],{},"skill.invoked"," event's ",[212,2607,2608],{},"data.name",[803,2610,2611],{},"a sub-agent's skill use (sub-agent events are not read)",[782,2613,2614,2618,2628],{},[803,2615,2616],{},[212,2617,914],{},[803,2619,2620,2621,2539,2624,2627],{},"an ",[212,2622,2623],{},"activate_skill",[212,2625,2626],{},"args.name",", as last written, at the line that first wrote it",[803,2629],{},[782,2631,2632,2636,2645],{},[803,2633,2634],{},[212,2635,1006],{},[803,2637,2535,2638,2641,2642],{},[212,2639,2640],{},"skill"," tool part's ",[212,2643,2644],{},"input.name",[803,2646],{},[782,2648,2649,2653,2672],{},[803,2650,2651],{},[212,2652,1053],{},[803,2654,2535,2655,2539,2657,2660,2661,2663,2664,2666,2667,2669,2670],{},[212,2656,2640],{},[212,2658,2659],{},"input.id","; a ",[212,2662,1791],{}," row of type ",[212,2665,2640],{}," (a skill the user invoked), its ",[212,2668,2469],{},", else its ",[212,2671,2640],{},[803,2673],{},[394,2675,2676],{},"The SKILL.md path rule applies to Codex only: the other harnesses record\ntheir skill uses, and a path rule would count an agent editing a SKILL.md as\na use. Cursor sessions are storage-only and report no skill use.",[474,2678,2680],{"id":2679},"states","States",[394,2682,2683],{},"Precedence, first match wins:",[776,2685,2686,2696],{},[779,2687,2688],{},[782,2689,2690,2693],{},[785,2691,2692],{},"State",[785,2694,2695],{},"Meaning",[798,2697,2698,2730,2766,2779,2792,2803,2812,2821,2843],{},[782,2699,2700,2705],{},[803,2701,2702],{},[212,2703,2704],{},"disabled",[803,2706,2707,2710,2711,2714,2715,2717,2718,2720,2721,2723,2724,2726,2727,2729],{},[212,2708,2709],{},"[collect] disabled",", or a recorded working directory is switched off (also by its repository's ",[212,2712,2713],{},".agentfeedback.toml","). Readers with store metadata (Codex's first line, Copilot's ",[212,2716,895],{},", Gemini CLI's ",[212,2719,1674],{},", OpenCode's session row) apply the whole policy, the repository's ",[212,2722,2713],{}," included, to that directory before the session is opened; Claude Code opens the file unless the user's ",[212,2725,2709],{}," is set and finds a repository's ",[212,2728,2704],{}," after the read, from the recorded working directory",[782,2731,2732,2736],{},[803,2733,2734],{},[212,2735,1464],{},[803,2737,2738,2739,2741,2742,2744,2745,2748,2749,2751,2752,2754,2755,2758,2759,2762,2763,2765],{},"the working directory checked before the open (",[405,2740,36],{"href":2300},"), or a recorded one, lies within a ",[212,2743,1456],{}," entry, or outside every ",[212,2746,2747],{},"opt_in_paths"," entry with ",[212,2750,1460],{},"; each entry matches as written and with its symbolic links resolved, without case on macOS and Windows, and a filesystem root matches every directory; the file is not opened when the directory checked before the open matches. Claude Code's encoded name loses the path's separators, so its pre-open gate is exact for ",[212,2753,1456],{}," but may over-deny a sibling whose encoded name shares the prefix (",[212,2756,2757],{},"\u002Fa\u002Fb-c"," under a ",[212,2760,2761],{},"\u002Fa\u002Fb"," entry), and approximate for ",[212,2764,2747],{},": such a sibling is opened, then refused once its recorded working directory is read",[782,2767,2768,2772],{},[803,2769,2770],{},[212,2771,1103],{},[803,2773,2774,2775,2778],{},"opening or reading the file failed (",[212,2776,2777],{},"reason"," says why)",[782,2780,2781,2785],{},[803,2782,2783],{},[212,2784,1481],{},[803,2786,2787,2788,2791],{},"no complete line parses as an entry of the reader's format, or the session is a compressed Codex rollout or a legacy Gemini CLI ",[212,2789,2790],{},".json"," session; as a store state, an OpenCode database without the expected tables and columns",[782,2793,2794,2798],{},[803,2795,2796],{},[212,2797,1898],{},[803,2799,2800,2801],{},"the log records no working directory, so no policy can be checked; digested only with ",[212,2802,2042],{},[782,2804,2805,2809],{},[803,2806,2807],{},[212,2808,1107],{},[803,2810,2811],{},"a watermark row whose file is gone",[782,2813,2814,2818],{},[803,2815,2816],{},[212,2817,2018],{},[803,2819,2820],{},"no watermark row, or one never marked",[782,2822,2823,2827],{},[803,2824,2825],{},[212,2826,2021],{},[803,2828,2829,2830,1362,2832,2834,2835,2838,2839,2842],{},"the file differs from the marked watermark: ",[212,2831,2777],{},[212,2833,1778],{}," (larger; digested from the marked size), ",[212,2836,2837],{},"truncated"," (smaller) or ",[212,2840,2841],{},"rotated"," (different first line); the last two are digested from the start",[782,2844,2845,2849],{},[803,2846,2847],{},[212,2848,2050],{},[803,2850,2851],{},"the file's complete-line size and first-line hash equal the marked watermark",[394,2853,2854,2855,451,2857,2859,2860,625,2862,625,2865,625,2868,635,2871,451,2874,2876,2877,438,2879,2881,2882,625,2884,635,2886,625,2888,438,2890,2892,2893,419],{},"A recorded working directory that no longer exists gets the user rules only;\nthe repository file cannot be read and is skipped. A session refused after\nthe read (",[212,2856,2704],{},[212,2858,1464],{}," by a recorded working directory) is listed\nwith nothing read from the file: no ",[212,2861,2273],{},[212,2863,2864],{},"cwds",[212,2866,2867],{},"start",[212,2869,2870],{},"end",[212,2872,2873],{},"counts",[212,2875,2246],{},". ",[212,2878,2196],{},[212,2880,2206],{}," scrub ",[212,2883,2484],{},[212,2885,2273],{},[212,2887,2864],{},[212,2889,2246],{},[212,2891,1099],{}," with the formats of ",[212,2894,2895],{},"submit --scrub",[474,2897,2899],{"id":2898},"watermark","Watermark",[394,2901,2902,2903,2905,2906,2908,2909,2911,2912,2914,2915,2917,2918,451,2920,2922,2923,2925,2926,2928],{},"Only complete lines count: a final line without its newline is neither\nparsed nor counted, so a session still being written is digested up to its\nlast complete entry. ",[212,2904,2200],{}," records, per digested session, the\nsize it covered, the SHA-256 of the first line, the file's mtime and the\ntime; ",[212,2907,2209],{}," copies that digest watermark into the marked one. The size\ncovered is the complete-line size, or, when the digest is ",[212,2910,2837],{},", the\noffset that completes the first event it left out: under the cap, events\nare kept in the order their prompt or result line completes them, so the\nwatermark always lies past every kept event and the next digest reports the\nrest. A retry is kept with the failed call it repeats, so a pair split by\nthe cap may not be reported. The mtime is recorded but does not decide the\nstate. A crash after ",[212,2913,2200],{}," and before ",[212,2916,2209],{}," leaves the\nsession ",[212,2919,2018],{},[212,2921,2021],{},", and the next run digests it again from the last\nmark; a crash after ",[212,2924,2209],{}," loses nothing. ",[212,2927,2209],{}," records the watermark of the\nsession's latest digest, so run one triage at a time per machine: a second\nrun digesting the same session in between moves the watermark the first one\nmarks.",[394,2930,2931,2932,817,2934,2936,2937,625,2939,2941],{},"The store is taken as append-only. A file larger than the marked size with\nthe same first line is ",[212,2933,2021],{},[212,2935,1778],{},"), and the next digest starts at\nthe marked size; a rewrite that keeps the first line and is the same size or\nlarger is not detected (a larger one is read as an append). Truncation or a\nrewritten first line start it over (",[212,2938,2837],{},[212,2940,2841],{},").",[474,2943,2945],{"id":2944},"digest-format","Digest format",[394,2947,2948,2951],{},[212,2949,2950],{},"sessions digest --json"," prints one object; the MCP tool answers with the\nsame object.",[776,2953,2954,2963],{},[779,2955,2956],{},[782,2957,2958,2961],{},[785,2959,2960],{},"Member",[785,2962,1967],{},[798,2964,2965,2975,2985,2995,3008],{},[782,2966,2967,2972],{},[803,2968,2969],{},[212,2970,2971],{},"notice",[803,2973,2974],{},"the provider-boundary notice below",[782,2976,2977,2982],{},[803,2978,2979],{},[212,2980,2981],{},"detector_version",[803,2983,2984],{},"version of the digest rules; it enters the key of a submission filed from a digest",[782,2986,2987,2992],{},[803,2988,2989],{},[212,2990,2991],{},"sessions[]",[803,2993,2994],{},"one digest per session, below",[782,2996,2997,3002],{},[803,2998,2999],{},[212,3000,3001],{},"errors[]",[803,3003,3004,3007],{},[212,3005,3006],{},"{ref, state, message}"," per session refused or not found",[782,3009,3010,3015],{},[803,3011,3012],{},[212,3013,3014],{},"deferred[]",[803,3016,3017],{},"refs left out to keep the run under its cap; they keep their watermark and come next run",[394,3019,3020],{},"Each session:",[776,3022,3023,3031],{},[779,3024,3025],{},[782,3026,3027,3029],{},[785,3028,2960],{},[785,3030,1967],{},[798,3032,3033,3049,3058,3067,3078,3088,3101,3110,3142,3219,3232,3242,3270,3280],{},[782,3034,3035,3046],{},[803,3036,3037,625,3040,625,3043],{},[212,3038,3039],{},"ref",[212,3041,3042],{},"harness",[212,3044,3045],{},"session_id",[803,3047,3048],{},"the session",[782,3050,3051,3055],{},[803,3052,3053],{},[212,3054,2273],{},[803,3056,3057],{},"the first recorded working directory",[782,3059,3060,3064],{},[803,3061,3062],{},[212,3063,831],{},[803,3065,3066],{},"the working directory of the last entry that records one",[782,3068,3069,3075],{},[803,3070,3071,625,3073],{},[212,3072,2867],{},[212,3074,2870],{},[803,3076,3077],{},"first and last entry time, UTC with milliseconds",[782,3079,3080,3085],{},[803,3081,3082],{},[212,3083,3084],{},"model",[803,3086,3087],{},"the model of the last entry that names one (an assistant entry; for Codex the turn context)",[782,3089,3090,3095],{},[803,3091,3092],{},[212,3093,3094],{},"from_offset",[803,3096,3097,3098,3100],{},"byte offset the digest starts at (0, or the marked size when ",[212,3099,1778],{},"); an incremental digest also reports a tool call made before it whose result line lies at or after it",[782,3102,3103,3107],{},[803,3104,3105],{},[212,3106,2837],{},[803,3108,3109],{},"events were left out to stay under the session cap",[782,3111,3112,3116],{},[803,3113,3114],{},[212,3115,2873],{},[803,3117,3118,625,3121,625,3124,625,3127,625,3130,625,3133,625,3136,3139,3140],{},[212,3119,3120],{},"entries",[212,3122,3123],{},"prompts",[212,3125,3126],{},"tool_calls",[212,3128,3129],{},"tool_errors",[212,3131,3132],{},"interrupts",[212,3134,3135],{},"denials",[212,3137,3138],{},"unparsed"," (complete lines that are not an entry), from ",[212,3141,3094],{},[782,3143,3144,3149],{},[803,3145,3146],{},[212,3147,3148],{},"events[]",[803,3150,3151,3152,625,3154,817,3156,1429,3159,625,3162,817,3165,451,3168,3171,3172,3175,3176,625,3179,3182,3183,817,3185,625,3187,625,3189,1429,3191,817,3194,625,3197,625,3200,625,3202,1429,3204,3207,3208,3210,3211,3214,3215,3218],{},"prompts and tool calls that did not succeed, in log order of the prompt or the call: ",[212,3153,215],{},[212,3155,3039],{},[212,3157,3158],{},"\u003Charness>:\u003Cid>#\u003Cspan>",[212,3160,3161],{},"at",[212,3163,3164],{},"type",[212,3166,3167],{},"prompt",[212,3169,3170],{},"tool_call","); a prompt has ",[212,3173,3174],{},"summary"," (its first non-empty line); a tool call has ",[212,3177,3178],{},"tool",[212,3180,3181],{},"args_digest"," (a digest of the command, or of the input when there is no command), ",[212,3184,2206],{},[212,3186,642],{},[212,3188,1464],{},[212,3190,1443],{},[212,3192,3193],{},"error_class",[212,3195,3196],{},"exit",[212,3198,3199],{},"tool_error",[212,3201,1464],{},[212,3203,1443],{},[212,3205,3206],{},"exit_code"," (the exit code the harness records, else an ",[212,3209,1177],{}," first line of the result), ",[212,3212,3213],{},"excerpt"," of the result, and ",[212,3216,3217],{},"self"," (true when the call is agentfeedback's own command, by the same rule the hook uses; such a failure is rarely friction about the project)",[782,3220,3221,3226],{},[803,3222,3223],{},[212,3224,3225],{},"retries[]",[803,3227,3228,3231],{},[212,3229,3230],{},"{span, of_span, tool, args_digest}",": a call repeating an earlier failed one with the same tool and arguments",[782,3233,3234,3239],{},[803,3235,3236],{},[212,3237,3238],{},"denials[]",[803,3240,3241],{},"spans of the denied tool calls",[782,3243,3244,3249],{},[803,3245,3246],{},[212,3247,3248],{},"flagged[]",[803,3250,3251,3254,3255,625,3258,625,3261,625,3264,625,3267],{},[212,3252,3253],{},"{span, phrase}",": prompts with a phrase such as ",[212,3256,3257],{},"still failing",[212,3259,3260],{},"doesn't work",[212,3262,3263],{},"wrong",[212,3265,3266],{},"why did you",[212,3268,3269],{},"again",[782,3271,3272,3277],{},[803,3273,3274],{},[212,3275,3276],{},"final_excerpt",[803,3278,3279],{},"the last assistant text",[782,3281,3282,3286],{},[803,3283,3284],{},[212,3285,2246],{},[803,3287,3288,3290,3291,3293,3294,3296,3297,3299,3300,3303],{},[212,3289,2250],{},": the skills first used in the range the events cover, in log order (",[405,3292,2186],{"href":2185},"): at or after ",[212,3295,3094],{}," and, in a ",[212,3298,2837],{}," digest, before its watermark, so a skill past the cut comes in the next digest; counted in the session cap; ",[212,3301,3302],{},"[]"," when none",[394,3305,3306,3307,3309,3310,438,3312,3314,3315,3317,3318,817,3320,3324],{},"Caps: a summary is at most 160 bytes, an excerpt 240; one session's digest is\nat most 64 KiB (the events completed first that fit are kept, listed in log\norder, ",[212,3308,2837],{}," set, and the watermark stops at the first one left out); one\nrun is at most 256 KiB of session digests: ",[212,3311,2236],{},[212,3313,634],{}," come on\ntop, and a session whose digest does not fit in what is left goes to\n",[212,3316,634],{}," while a smaller later one may still be included. Every string is\nscrubbed with the formats of ",[212,3319,2895],{},[405,3321,3323],{"href":3322},"\u002Fdocs\u002Freference\u002Fsecurity#what-gets-stored","security.md",")\nbefore it is sized or cut.",[474,3326,2102],{"id":3327},"transcript-format",[394,3329,3330,3333,3334,3337,3338,3340,3341,3343,3344,3346,3347,438,3350,3353],{},[212,3331,3332],{},"sessions transcript --json"," prints one object; the MCP tool answers with\nthe same object. It shows whole sessions, not only what failed, for a\nreview of how a session went and what rules it ran under. A session is read\nand refused as ",[212,3335,3336],{},"sessions digest \u003Charness:id>"," reads and refuses a session it\nholds no watermark row for (",[212,3339,1898],{}," only with\n",[212,3342,2042],{},"): a session no listed file carries is ",[212,3345,1107],{},",\nalso when a store problem hides its file. A session named more than once,\nalso through a harness alias (",[212,3348,3349],{},"opencode:",[212,3351,3352],{},"opencode-v1:","), is shown\nonce, where it was first named. Nothing is recorded.",[776,3355,3356,3364],{},[779,3357,3358],{},[782,3359,3360,3362],{},[785,3361,2960],{},[785,3363,1967],{},[798,3365,3366,3374,3383,3394],{},[782,3367,3368,3372],{},[803,3369,3370],{},[212,3371,2971],{},[803,3373,2974],{},[782,3375,3376,3380],{},[803,3377,3378],{},[212,3379,2991],{},[803,3381,3382],{},"one transcript per session, below",[782,3384,3385,3389],{},[803,3386,3387],{},[212,3388,3001],{},[803,3390,3391,3393],{},[212,3392,3006],{}," per session refused or not found, worded as a digest words them; also a readable session whose header alone (instructions and skill listing) does not fit the session cap, with its state and a message saying so",[782,3395,3396,3400],{},[803,3397,3398],{},[212,3399,3014],{},[803,3401,3402],{},"refs left out to keep the run under its cap; name them in another call",[394,3404,3020],{},[776,3406,3407,3415],{},[779,3408,3409],{},[782,3410,3411,3413],{},[785,3412,2960],{},[785,3414,1967],{},[798,3416,3417,3440,3449,3464,3480,3500,3510,3519,3529],{},[782,3418,3419,3437],{},[803,3420,3421,625,3423,625,3425,625,3427,625,3429,625,3431,625,3433,625,3435],{},[212,3422,3039],{},[212,3424,3042],{},[212,3426,3045],{},[212,3428,2273],{},[212,3430,831],{},[212,3432,2867],{},[212,3434,2870],{},[212,3436,3084],{},[803,3438,3439],{},"as in a digest",[782,3441,3442,3446],{},[803,3443,3444],{},[212,3445,2873],{},[803,3447,3448],{},"as in a digest, over the whole session",[782,3450,3451,3455],{},[803,3452,3453],{},[212,3454,2246],{},[803,3456,3457,3459,3460,2012,3462,3303],{},[212,3458,2250],{},": the skills the session used (",[405,3461,2186],{"href":2185},[212,3463,3302],{},[782,3465,3466,3471],{},[803,3467,3468],{},[212,3469,3470],{},"rules_source",[803,3472,3473,3476,3477],{},[212,3474,3475],{},"session-log"," when the log recorded instructions or a skill listing, else ",[212,3478,3479],{},"not-recorded",[782,3481,3482,3487],{},[803,3483,3484],{},[212,3485,3486],{},"instructions[]",[803,3488,3489,3492,3493,3496,3497,3499],{},[212,3490,3491],{},"{source, path, text, truncated}",": each instruction file the log records as loaded, once per path, first seen first; ",[212,3494,3495],{},"source"," (the harness's type for it) and ",[212,3498,2484],{}," only when the log records them",[782,3501,3502,3507],{},[803,3503,3504],{},[212,3505,3506],{},"skills_available[]",[803,3508,3509],{},"the names of the skills the log lists to the model, first seen first: at most 256, each cut to 128 bytes",[782,3511,3512,3516],{},[803,3513,3514],{},[212,3515,2837],{},[803,3517,3518],{},"entries were left out to stay under the session cap, or skill names were left out or cut",[782,3520,3521,3526],{},[803,3522,3523],{},[212,3524,3525],{},"omitted",[803,3527,3528],{},"how many entries the session cap left out",[782,3530,3531,3536],{},[803,3532,3533],{},[212,3534,3535],{},"entries[]",[803,3537,3538],{},"below",[394,3540,3541,3542,625,3544,817,3546,3548,3549,3552,3553,438,3555,3557],{},"Entries, in log order, each with ",[212,3543,215],{},[212,3545,3039],{},[212,3547,3158],{},",\nwhich ",[212,3550,3551],{},"submit --context-from"," takes), ",[212,3554,3161],{},[212,3556,3164],{},":",[1123,3559,3560,3579,3613],{},[652,3561,3562,625,3564,625,3567,2247,3569,3572,3573,3575,3576,3578],{},[212,3563,3167],{},[212,3565,3566],{},"interrupt",[212,3568,1797],{},[212,3570,3571],{},"text"," (an interrupt may have none).\nAn assistant entry that carries tool calls gives its ",[212,3574,1797],{}," text\nfirst, then one ",[212,3577,3170],{}," per call, all with its span.",[652,3580,3581,2247,3583,2022,3585,3588,3589,3592,3593,817,3595,625,3598,635,3600,625,3602,1429,3604,3606,3607,3609,3610,419],{},[212,3582,3170],{},[212,3584,3178],{},[212,3586,3587],{},"edit",", true for an edit tool (below); ",[212,3590,3591],{},"args",", the\ncommand when the call has one, else the input: a string input as the\nstring, any other as compact JSON, keys sorted, scrubbed value by value\nand then token by token; and once the call has a result, ",[212,3594,2206],{},[212,3596,3597],{},"ok",[212,3599,642],{},[212,3601,1464],{},[212,3603,1443],{},[212,3605,3206],{}," (the harness's, else the ",[212,3608,1177],{}," first line of a result that did not succeed) and ",[212,3611,3612],{},"result",[652,3614,3615,2247,3618,3620],{},[212,3616,3617],{},"cut",[212,3619,3525],{},", where the session cap left entries out.",[394,3622,3623,3624,3626,3627,625,3629,635,3631,3633,3634,3636,3637,3639,3640,3642,3643,438,3645,3647,3648,3650,3651,3653,3654,438,3656,3658,3659,3661,3662,3664,3665,3667],{},"An entry's ",[212,3625,2837],{}," lists its members cut to their cap (",[212,3628,3571],{},[212,3630,3591],{},[212,3632,3612],{},"). Caps: ",[212,3635,3571],{}," 2 KiB, ",[212,3638,3591],{}," 1 KiB (16 KiB for an edit tool),\n",[212,3641,3612],{}," 1 KiB; one instruction 8 KiB and a session's instructions 32 KiB\ntogether, both counted as JSON-encoded text (a file past that keeps its\n",[212,3644,3495],{},[212,3646,2484],{},", with empty ",[212,3649,3571],{},"); one session 128 KiB (over it, the\nfirst entries that fill two thirds of the room and the last that fill one\nthird are kept, a ",[212,3652,3617],{}," entry between them); one run 384 KiB of session\ntranscripts, as for a digest: ",[212,3655,2236],{},[212,3657,634],{}," come on top, and a\nsession that does not fit goes to ",[212,3660,634],{},". Every\nstring is scrubbed with the formats of ",[212,3663,2895],{},"\n(",[405,3666,3323],{"href":3322},") before it is sized or cut, and\na cut keeps whole UTF-8 characters.",[394,3669,3670],{},"Edit tools, whose arguments are the change itself (the patch, the old and\nnew strings, the file content):",[776,3672,3673,3685],{},[779,3674,3675],{},[782,3676,3677,3679,3682],{},[785,3678,790],{},[785,3680,3681],{},"Edit tools",[785,3683,3684],{},"Checked against",[798,3686,3687,3710,3728,3740,3760],{},[782,3688,3689,3693,3707],{},[803,3690,3691],{},[212,3692,559],{},[803,3694,3695,625,3698,625,3701,625,3704],{},[212,3696,3697],{},"Edit",[212,3699,3700],{},"MultiEdit",[212,3702,3703],{},"Write",[212,3705,3706],{},"NotebookEdit",[803,3708,3709],{},"Claude Code's file-editing tools, by name",[782,3711,3712,3716,3722],{},[803,3713,3714],{},[212,3715,563],{},[803,3717,3718,3721],{},[212,3719,3720],{},"apply_patch"," (its input is the patch text)",[803,3723,3724,3725],{},"openai\u002Fcodex source, commit ",[212,3726,3727],{},"c9bbed2",[782,3729,3730,3734,3737],{},[803,3731,3732],{},[212,3733,879],{},[803,3735,3736],{},"none",[803,3738,3739],{},"not verified: the session-events schema names no tools, and no real log was examined",[782,3741,3742,3746,3754],{},[803,3743,3744],{},[212,3745,914],{},[803,3747,3748,625,3751],{},[212,3749,3750],{},"replace",[212,3752,3753],{},"write_file",[803,3755,3756,3757],{},"Gemini CLI 0.69.0-nightly.20261104 source, ",[212,3758,3759],{},"tools\u002Fdefinitions\u002Fbase-declarations.ts",[782,3761,3762,3768,3780],{},[803,3763,3764,625,3766],{},[212,3765,1006],{},[212,3767,1053],{},[803,3769,3770,625,3772,625,3775,625,3778],{},[212,3771,3587],{},[212,3773,3774],{},"write",[212,3776,3777],{},"patch",[212,3779,3720],{},[803,3781,3782,3783,3786,3787,3789,3790],{},"OpenCode 2.2.7 source: ",[212,3784,3785],{},"packages\u002Fcore\u002Fsrc\u002Ftool\u002Fplugin\u002F",", and the V1 name ",[212,3788,3720],{}," it maps onto ",[212,3791,3777],{},[394,3793,3794],{},"Recorded rules, per reader:",[776,3796,3797,3808],{},[779,3798,3799],{},[782,3800,3801,3803,3806],{},[785,3802,790],{},[785,3804,3805],{},"What is read",[785,3807,3684],{},[798,3809,3810,3848,3899,3915,3954,3965],{},[782,3811,3812,3816,3845],{},[803,3813,3814],{},[212,3815,559],{},[803,3817,3818,3821,3822,817,3825,2247,3828,625,3830,3832,3833,625,3835,3838,3839,817,3842,825],{},[212,3819,3820],{},"attachment"," lines: ",[212,3823,3824],{},"instructions",[212,3826,3827],{},"files[]",[212,3829,2484],{},[212,3831,3164],{}," as ",[212,3834,3495],{},[212,3836,3837],{},"content",") and ",[212,3840,3841],{},"skill_listing",[212,3843,3844],{},"names[]",[803,3846,3847],{},"a real log, by entry type",[782,3849,3850,3854,3883],{},[803,3851,3852],{},[212,3853,563],{},[803,3855,860,3856,3858,3859,3862,3863,817,3866,3868,3869,3872,3873,3876,3877,451,3880],{},[212,3857,1373],{}," user message ",[212,3860,3861],{},"# AGENTS.md instructions for \u003Cdir>",", its text inside ",[212,3864,3865],{},"\u003CINSTRUCTIONS>",[212,3867,2484],{}," is the directory; the files joined are not named); the developer message ",[212,3870,3871],{},"\u003Cskills_instructions>",", the ",[212,3874,3875],{},"- \u003Cname>: ..."," lines under ",[212,3878,3879],{},"### Available skills",[212,3881,3882],{},"### Added or updated skills:",[803,3884,3724,3885,2247,3887,625,3890,625,3893,625,3896],{},[212,3886,3727],{},[212,3888,3889],{},"core\u002Fsrc\u002Fcontext\u002Fuser_instructions.rs",[212,3891,3892],{},"ext\u002Fskills\u002Fsrc\u002Frender.rs",[212,3894,3895],{},"catalog_prompt.rs",[212,3897,3898],{},"catalog_delta.rs",[782,3900,3901,3905,3908],{},[803,3902,3903],{},[212,3904,879],{},[803,3906,3907],{},"not recorded",[803,3909,3910,3911,3914],{},"not verified: what ",[212,3912,3913],{},"system.message"," holds is unknown without a real log",[782,3916,3917,3921,3942],{},[803,3918,3919],{},[212,3920,914],{},[803,3922,3923,3924,3926,3927,3929,3930,3933,3934,1362,3936,451,3939,3941],{},"the first ",[212,3925,1140],{}," message starting ",[212,3928,1615],{},": each ",[212,3931,3932],{},"--- Context from: \u003Cpath> ---"," block, ",[212,3935,3495],{},[212,3937,3938],{},"extension",[212,3940,2273],{}," by its section; global memory goes into the system instruction, which is not logged; no skill listing",[803,3943,3944,3945,625,3948,625,3951],{},"Gemini CLI 0.69.0-nightly.20261104 source: ",[212,3946,3947],{},"utils\u002FenvironmentContext.ts",[212,3949,3950],{},"utils\u002FmemoryDiscovery.ts",[212,3952,3953],{},"config\u002Fconfig.ts",[782,3955,3956,3960,3963],{},[803,3957,3958],{},[212,3959,1006],{},[803,3961,3962],{},"not recorded: OpenCode 1 keeps them in the system prompt only",[803,3964],{},[782,3966,3967,3971,3993],{},[803,3968,3969],{},[212,3970,1053],{},[803,3972,3973,3976,3977,2247,3980,817,3983,3838,3986,817,3989,3992],{},[212,3974,3975],{},"instruction_state"," (initial values, then what the current values add) and ",[212,3978,3979],{},"instruction_blob",[212,3981,3982],{},"core\u002Finstructions",[212,3984,3985],{},"[{path, content}]",[212,3987,3988],{},"core\u002Fskill-guidance",[212,3990,3991],{},"[{id, name, description}]",", its names); read only for a transcript, when both tables exist with these columns; tables or values that cannot be read leave the rules not recorded and the session readable",[803,3994,3782,3995,625,3998,625,4001,4004],{},[212,3996,3997],{},"packages\u002Fcore\u002Fsrc\u002Fsession\u002Fsql.ts",[212,3999,4000],{},"instruction-discovery.ts",[212,4002,4003],{},"skill\u002Finstructions.ts","; not checked against 2.2.6",[474,4006,4008],{"id":4007},"labelled-corpus-and-known-limits","Labelled corpus and known limits",[394,4010,4011],{},"The digest reports facts; the model that reads it judges which failures are\nfriction. What it shows for each kind of failure:",[776,4013,4014,4024],{},[779,4015,4016],{},[782,4017,4018,4021],{},[785,4019,4020],{},"Class",[785,4022,4023],{},"What the digest shows",[798,4025,4026,4040,4058,4070,4084,4097],{},[782,4027,4028,4031],{},[803,4029,4030],{},"genuine friction (a wrong doc, a missing flag, a stale config)",[803,4032,2535,4033,4035,4036,1362,4038],{},[212,4034,3170],{}," event, ",[212,4037,2206],{},[212,4039,642],{},[782,4041,4042,4055],{},[803,4043,4044,4045,625,4048,4051,4052,825],{},"expected failure (a probe meant to fail: ",[212,4046,4047],{},"test -f",[212,4049,4050],{},"grep"," without a match, ",[212,4053,4054],{},"git diff --exit-code",[803,4056,4057],{},"exactly the same as genuine friction: the digest cannot tell them apart",[782,4059,4060,4063],{},[803,4061,4062],{},"cancellation (the user interrupted)",[803,4064,4065,1362,4067,4069],{},[212,4066,2206],{},[212,4068,1443],{},", a status of its own",[782,4071,4072,4075],{},[803,4073,4074],{},"denial (the user rejected the call)",[803,4076,4077,1362,4079,4081,4082],{},[212,4078,2206],{},[212,4080,1464],{},", and the span in ",[212,4083,3238],{},[782,4085,4086,4089],{},[803,4087,4088],{},"repeat (the same failing call again)",[803,4090,2535,4091,4093,4094,4096],{},[212,4092,3225],{}," entry, only when the tool and the ",[212,4095,3181],{}," match exactly",[782,4098,4099,4102],{},[803,4100,4101],{},"self-noise (agentfeedback's own failing command)",[803,4103,4104,4106],{},[212,4105,3217],{}," true: marked, not dropped",[394,4108,4109,4111,4112,625,4115,625,4118,625,4121,625,4124,4127,4128,4130,4131,4134,4135,625,4137,625,4140,451,4143,4146,4147,625,4150,451,4153,4156],{},[212,4110,3217],{}," follows the hook's rule: the first word of a command segment (after\nvariable assignments and ",[212,4113,4114],{},"env",[212,4116,4117],{},"exec",[212,4119,4120],{},"sudo",[212,4122,4123],{},"command",[212,4125,4126],{},"time",") is\n",[212,4129,222],{},", or the tool's name contains it. Codex's\n",[212,4132,4133],{},"[\"bash\", \"-lc\", \"\u003Cscript>\"]"," argv (a ",[212,4136,209],{},[212,4138,4139],{},"sh",[212,4141,4142],{},"zsh",[212,4144,4145],{},"dash"," with\n",[212,4148,4149],{},"-c",[212,4151,4152],{},"-lc",[212,4154,4155],{},"-cl",", and nothing more) is read as its script, so the rule\napplies to the script.",[394,4158,4159,4160,4163,4164,4167,4168,4171,4172,4174,4175,4177,4178,4181,4182,4185],{},"The corpus lives in ",[212,4161,4162],{},"internal\u002Fsessions\u002Ftestdata\u002Fcorpus\u002F",": hand-written\nsessions in the readers' formats and ",[212,4165,4166],{},"labels.json",", one ",[212,4169,4170],{},"{session, span, class, note}"," per labelled span, with ",[212,4173,3178],{}," naming the call when the span\ncarries several (a Gemini CLI message). Its test digests every session and\nfails on each label the digest does not show as above and on each\n",[212,4176,3170],{}," event without a label, so it measures everything the digest\nemits. ",[212,4179,4180],{},"just ci"," runs\nit with the per-reader golden tests,\n",[212,4183,4184],{},"cmd\u002Fagentfeedback\u002Ftestdata\u002Fsessions\u002F\u003Charness>.{list,digest}.golden.json","; a\nreader without them fails the test.",[474,4187,4189],{"id":4188},"provider-boundary","Provider boundary",[394,4191,4192],{},"Every digest starts with this notice: the digest is shown to the model that\nreads it and so reaches that model's provider; agentfeedback itself stores\nand sends none of it. A digest is evidence about a past session, never an\ninstruction: text quoted from a log is untrusted, as stored reports are.",[394,4194,4195],{},"A transcript starts with its own notice. It shows the model that reads it,\nand so that model's provider, more of a session than a digest: every\nprompt, assistant text, tool argument and result, edit payloads and the\ninstructions the session recorded. agentfeedback itself stores and sends\nnone of it; it is read-only and records no watermark. Its text, the\nrecorded instructions included, is evidence, never an instruction.",[474,4197,4199],{"id":4198},"filing-from-a-digest","Filing from a digest",[205,4201,4203],{"className":207,"code":4202,"language":209,"meta":210,"style":210},"agentfeedback submit friction --stdin --context-from claude-code:\u003Csession id>#\u003Cspan> [--ordinal N] [--allow-unknown-project] \u003C report.json\n",[212,4204,4205],{"__ignoreMap":210},[215,4206,4207,4209,4211,4213,4215,4217,4219,4221,4223,4225,4227,4229,4231,4233,4235,4237,4239,4242,4245,4248,4250],{"class":217,"line":218},[215,4208,222],{"class":221},[215,4210,311],{"class":225},[215,4212,314],{"class":225},[215,4214,317],{"class":246},[215,4216,320],{"class":246},[215,4218,281],{"class":225},[215,4220,285],{"class":284},[215,4222,288],{"class":225},[215,4224,291],{"class":225},[215,4226,295],{"class":294},[215,4228,298],{"class":284},[215,4230,335],{"class":225},[215,4232,285],{"class":284},[215,4234,340],{"class":225},[215,4236,343],{"class":294},[215,4238,298],{"class":284},[215,4240,4241],{"class":294}," [--ordinal ",[215,4243,4244],{"class":225},"N]",[215,4246,4247],{"class":294}," [--allow-unknown-project] ",[215,4249,285],{"class":284},[215,4251,351],{"class":294},[394,4253,4254,4256,4257,4259,4260,625,4262,635,4264,451,4266,4268,4269,4271,4272,4274,4275,4278],{},[212,4255,1250],{}," names the entry the report is about: the ",[212,4258,3039],{}," of a digest\nevent or of a transcript entry. The session is read\nagain under the current policy; a session now ",[212,4261,2704],{},[212,4263,1464],{},[212,4265,1103],{},[212,4267,1481],{},", a missing session or span, a span that\nrecords no time (a replay would not match), and an ",[212,4270,1898],{}," session\nwithout ",[212,4273,2042],{}," are refused and nothing is filed. It works\nwith flags or with ",[212,4276,4277],{},"--stdin",". It sets, over anything stdin gives:",[1123,4280,4281,4297,4312,4326],{},[652,4282,4283,2247,4286,4289,4290,4292,4293,4296],{},[212,4284,4285],{},"key",[212,4287,4288],{},"session-scan-"," and the SHA-256 hex of harness, session id, span,\nordinal and ",[212,4291,2981],{},", joined by NUL bytes; ",[212,4294,4295],{},"--ordinal"," (default 1)\nnumbers several findings at one span.",[652,4298,4299,4302,4303,4305,4306,4308,4309,4311],{},[212,4300,4301],{},"occurred_at",": the entry's time; ",[212,4304,3042],{},": the session's harness;\n",[212,4307,3084],{},": the model of the last assistant entry at or before the span, and\nno ",[212,4310,3084],{}," at all when there is none (never the configured or collected\none).",[652,4313,4314,4316,4317,4319,4320,4322,4323,4325],{},[212,4315,2273],{}," and the collected context: collected in the session's working\ndirectory with an empty environment, when that directory still exists and\nthe ",[212,4318,402],{}," rules still allow it; when it is gone, ",[212,4321,2273],{}," is its base\nname and nothing is collected. The working directory and environment of the\nprocess that runs ",[212,4324,437],{}," are never read.",[652,4327,4328,1362,4331,625,4334,817,4337,2247,4340,625,4343,635,4346,625,4349,625,4352,625,4355,4358,4359,438,4362,4365,4366,4369],{},[212,4329,4330],{},"context.origin",[212,4332,4333],{},"session-scan",[212,4335,4336],{},"context.detector",[212,4338,4339],{},"\u003Creader>\u002F1",[212,4341,4342],{},"claude-code-jsonl\u002F1",[212,4344,4345],{},"codex-rollout\u002F1",[212,4347,4348],{},"copilot-events\u002F1",[212,4350,4351],{},"gemini-cli-jsonl\u002F1",[212,4353,4354],{},"opencode-sqlite\u002F1",[212,4356,4357],{},"opencode-v2-sqlite\u002F1","),\n",[212,4360,4361],{},"context.session_id",[212,4363,4364],{},"context.session_harness",", over the collected and\nstdin context; ",[212,4367,4368],{},"--context key=value"," still goes over all of them.",[394,4371,4372,625,4375,625,4377,438,4379,4382,4383,4385,4386,4389,4390,4392,4393,4395,4396,4399,4400,4403,4404,4407,4408,419],{},[212,4373,4374],{},"--key",[212,4376,2025],{},[212,4378,2227],{},[212,4380,4381],{},"--model"," together with\n",[212,4384,1250],{}," are a usage error. ",[212,4387,4388],{},"machine"," resolves as for every\nsubmission. Origin ",[212,4391,4333],{}," turns scrubbing on, and a body filed with\n",[212,4394,1250],{}," is always scrubbed, even when ",[212,4397,4398],{},"--context origin=...","\nreplaces the origin. Filing the same report\nagain replays: outcome ",[212,4401,4402],{},"duplicate",", exit 0. Different content under the same\nkey is outcome ",[212,4405,4406],{},"mismatch"," (the server's 409), exit 1: file a second finding\nat that span with the next ",[212,4409,4295],{},[394,4411,4412,4413,4416,4417,4420,4421,3664,4424,3838,4427,4430,4431,4433,4434,4437,4438,4441,4442,4444,4445,4447,4448,4450,4451,4453,4454,4457],{},"Over MCP, ",[212,4414,4415],{},"submit_feedback"," of ",[212,4418,4419],{},"agentfeedback mcp"," takes ",[212,4422,4423],{},"context_from",[212,4425,4426],{},"\u003Charness>:\u003Csession id>#\u003Cspan>",[212,4428,4429],{},"ordinal"," (default 1): the other\narguments are what ",[212,4432,4277],{}," would read, ",[212,4435,4436],{},"kind"," is required, and the body\nis the one ",[212,4439,4440],{},"submit \u003Ckind> --stdin --context-from \u003Cref> --ordinal \u003Cn>"," builds,\nso the same report filed both ways is one row (the second filing is a\nduplicate). An ",[212,4443,1898],{}," session is refused: admitting it is a\nhuman's decision, ",[212,4446,2042],{}," on the CLI. A refused call is a\nvalidation error on ",[212,4449,4423],{}," with the CLI's message. In remote mode\nthe body is built on this machine and forwarded to the server's\n",[212,4452,4415],{},"; the HTTP ",[212,4455,4456],{},"\u002Fmcp"," never takes these arguments.",[474,4459,4461],{"id":4460},"checkup-report","Checkup report",[205,4463,4465],{"className":207,"code":4464,"language":209,"meta":210,"style":210},"agentfeedback report check report.json [--json]          # validate; print the grade the binary computes\nagentfeedback report render report.json [--out FILE] [--open]   # validate, then write one HTML page; prints its path\n",[212,4466,4467,4486],{"__ignoreMap":210},[215,4468,4469,4471,4474,4477,4480,4483],{"class":217,"line":218},[215,4470,222],{"class":221},[215,4472,4473],{"class":225}," report",[215,4475,4476],{"class":225}," check",[215,4478,4479],{"class":225}," report.json",[215,4481,4482],{"class":294}," [--json]          ",[215,4484,4485],{"class":232},"# validate; print the grade the binary computes\n",[215,4487,4488,4490,4492,4495,4497,4500,4503,4506],{"class":217,"line":236},[215,4489,222],{"class":221},[215,4491,4473],{"class":225},[215,4493,4494],{"class":225}," render",[215,4496,4479],{"class":225},[215,4498,4499],{"class":294}," [--out ",[215,4501,4502],{"class":225},"FILE]",[215,4504,4505],{"class":294}," [--open]   ",[215,4507,4508],{"class":232},"# validate, then write one HTML page; prints its path\n",[394,4510,4511,4512,4519,4520,4522],{},"An agent that judged a sample of sessions writes a checkup report: one JSON\nfile, ",[405,4513,4516],{"href":4514,"rel":4515},"https:\u002F\u002Fgithub.com\u002FAgentFeedback\u002Fagentfeedback\u002Fblob\u002F4ddc23a43811f635f217f1075bfb27f39027bfdc\u002Fschemas\u002Fcheckup-report.v1.json",[1207],[212,4517,4518],{},"checkup-report.v1.json"," (JSON\nSchema 2020-12, with a full example). The agent records a label and a\nreason per rubric and session; the binary computes every number. Both\ncommands take ",[212,4521,1188],{}," for stdin. The report is never sent or stored.",[394,4524,4525,4526,4529],{},"The explicitly invoked triage skill's seventh playbook,\n",[212,4527,4528],{},"skills\u002Fagentfeedback-triage\u002Fplaybooks\u002Fskill-checkup.md",", orchestrates this\nwithout a new API. One opening interview defaults to this repository, project\nand global skills, 45 days and up to 12 sessions, and discloses that sampled\ntranscripts, including edits, reach the model provider before they are read.\nIt inventories skills, lists candidates and samples newest-first with at most\none third from any one skill. Shortages and samples below three require an\nexplicit explanation of the cap; scope or cap changes need approval, not a\nsilent widening.",[394,4531,4532,4533,4535,4536,4539],{},"Each rubric gets a one-to-three-sentence reason citing observed spans and what\nwould have prevented the failure, or what supported success. Missing or cut\nevidence is explicit, not a fabricated pass. Procedure compliance uses logged\nrules and skill listings first; only ",[212,4534,3479],{}," permits current-file\nfallback, identified as ",[212,4537,4538],{},"current-files"," with its historical limitation. Code\nquality needs visible edits. Only failing labels yield findings; instruction\nchanges follow the triage skill's existing instruction bar. Zero findings is\nvalid: never manufacture three for the page or card.",[394,4541,4542],{},"Before the closing question, full proposed files and unified diffs live only\nin the cache alongside the report JSON. The opening scope interview does not\nauthorize edits: apply only proposals selected at closing, and close a filed\nfriction only after its fix actually lands. Checkups use transcripts, not\ndigest or mark, so they record no watermark and change no session marks.\nGrades and labels are not persisted in the database. Without a shell, MCP\ncannot inventory skills, check\u002Frender reports or produce those cache files;\ndisclose the limitation and do not invent tools or a grade.",[394,4544,4545],{},"Members (no others are allowed at any level):",[776,4547,4548,4556],{},[779,4549,4550],{},[782,4551,4552,4554],{},[785,4553,2960],{},[785,4555,1967],{},[798,4557,4558,4570,4580,4610,4639,4681,4694],{},[782,4559,4560,4565],{},[803,4561,4562],{},[212,4563,4564],{},"version",[803,4566,4567],{},[212,4568,4569],{},"1",[782,4571,4572,4577],{},[803,4573,4574],{},[212,4575,4576],{},"generated_at",[803,4578,4579],{},"RFC 3339 date-time the report was written",[782,4581,4582,4586],{},[803,4583,4584],{},[212,4585,2270],{},[803,4587,4588,625,4591,625,4594,4596,4597,625,4600,4603,4604,625,4607],{},[212,4589,4590],{},"projects[]",[212,4592,4593],{},"harnesses[]",[212,4595,2159],{}," (as given to ",[212,4598,4599],{},"sessions list --since",[212,4601,4602],{},"\"\""," for none), ",[212,4605,4606],{},"sessions_scanned",[212,4608,4609],{},"sessions_sampled",[782,4611,4612,4616],{},[803,4613,4614],{},[212,4615,2321],{},[803,4617,4618,2247,4621,817,4624,1362,4626,451,4628,4630,4631,2022,4633,2247,4636],{},[212,4619,4620],{},"found[]",[212,4622,4623],{},"{name, harness, scope}",[212,4625,2270],{},[212,4627,2273],{},[212,4629,2276],{},"), from ",[212,4632,2167],{},[212,4634,4635],{},"used[]",[212,4637,4638],{},"{name, sessions}",[782,4640,4641,4645],{},[803,4642,4643],{},[212,4644,2991],{},[803,4646,4647,4648,817,4650,1429,4653,625,4655,4658,4659,1429,4661,4664,4665,625,4668,625,4671,438,4674,4677,4678],{},"per sampled session: ",[212,4649,3039],{},[212,4651,4652],{},"\u003Charness>:\u003Cid>",[212,4654,3470],{},[212,4656,4657],{},"skills_used[]"," (the names in the session's ",[212,4660,2246],{},[212,4662,4663],{},"labels"," with exactly ",[212,4666,4667],{},"efficiency",[212,4669,4670],{},"code_quality",[212,4672,4673],{},"procedure_compliance",[212,4675,4676],{},"verbosity",", each ",[212,4679,4680],{},"{label, reason}",[782,4682,4683,4688],{},[803,4684,4685],{},[212,4686,4687],{},"top_findings[]",[803,4689,4690,4691],{},"at most 3: ",[212,4692,4693],{},"{text, refs[]}",[782,4695,4696,4701],{},[803,4697,4698],{},[212,4699,4700],{},"suggestions[]",[803,4702,4703,2022,4706,4709,4710,4713],{},[212,4704,4705],{},"{surface, change, evidence[], filed_uid?, diff?}",[212,4707,4708],{},"diff"," is a unified diff, shown and never applied; ",[212,4711,4712],{},"filed_uid"," the uid of a submission filed for it",[394,4715,4716,4717,4720,4721,4724,4725,4727,4728,4731,4732,4734,4735,4737,4738,625,4741,625,4744,2941],{},"Beyond the schema, ",[212,4718,4719],{},"check"," requires the counts to agree with the\nsessions listed: ",[212,4722,4723],{},"scope.sessions_sampled"," equals the number of ",[212,4726,1493],{},",\nand each ",[212,4729,4730],{},"skills.used"," entry names a skill some session's ",[212,4733,2246],{},"\nnames, with ",[212,4736,1493],{}," the number of sessions that name it. Counts may be\nspelled as any integral JSON number (",[212,4739,4740],{},"3",[212,4742,4743],{},"3.0",[212,4745,4746],{},"3e0",[394,4748,4749,4751,4752,4754,4755,4757,4758,4760,4761,4764],{},[212,4750,3470],{}," is ",[212,4753,3475],{}," when the rules were read from what the\nsession itself loaded, ",[212,4756,4538],{}," when from the instruction files as\nthey are now (which may have changed since the session). ",[212,4759,2777],{}," is\nrequired and non-blank for every label, ",[212,4762,4763],{},"insufficient_evidence"," included.",[394,4766,4767],{},"Labels and their scores:",[776,4769,4770,4783],{},[779,4771,4772],{},[782,4773,4774,4777,4780],{},[785,4775,4776],{},"Rubric",[785,4778,4779],{},"Weight",[785,4781,4782],{},"Labels",[798,4784,4785,4812,4833,4852],{},[782,4786,4787,4791,4794],{},[803,4788,4789],{},[212,4790,4667],{},[803,4792,4793],{},"0.30",[803,4795,4796,4799,4800,4803,4804,4807,4808,4811],{},[212,4797,4798],{},"efficient"," 1, ",[212,4801,4802],{},"minor_detours"," 0.67, ",[212,4805,4806],{},"major_detours"," 0.33, ",[212,4809,4810],{},"unproductive"," 0",[782,4813,4814,4818,4821],{},[803,4815,4816],{},[212,4817,4670],{},[803,4819,4820],{},"0.25",[803,4822,4823,4799,4826,4829,4830,4811],{},[212,4824,4825],{},"sound",[212,4827,4828],{},"minor_issues"," 0.5, ",[212,4831,4832],{},"unsound",[782,4834,4835,4839,4841],{},[803,4836,4837],{},[212,4838,4673],{},[803,4840,4820],{},[803,4842,4843,4799,4846,4829,4849,4811],{},[212,4844,4845],{},"followed",[212,4847,4848],{},"minor_lapse",[212,4850,4851],{},"breached",[782,4853,4854,4858,4861],{},[803,4855,4856],{},[212,4857,4676],{},[803,4859,4860],{},"0.20",[803,4862,4863,4799,4866,4829,4869,4811],{},[212,4864,4865],{},"proportionate",[212,4867,4868],{},"uneven",[212,4870,4871],{},"disproportionate",[394,4873,4874,4875,4877],{},"Every rubric also takes ",[212,4876,4763],{},", which is left out of its\nmean. The grade:",[1123,4879,4880,4886,4889,4899],{},[652,4881,4882,4883,4885],{},"A rubric's score is the mean label score over its sessions not labelled\n",[212,4884,4763],{},". A rubric with no such session drops out, and the\nremaining weights are rescaled to sum to 1. No curve.",[652,4887,4888],{},"The overall score is the weighted sum, rounded to four decimals, then\nlettered: A at 0.90 or more, B at 0.80, C at 0.70, D at 0.60, F below.",[652,4890,4891,4892,4894,4895,4898],{},"When every rubric dropped out (every label ",[212,4893,4763],{},", or no\nsession), the grade is ",[212,4896,4897],{},"n\u002Fa"," and the score null, not F.",[652,4900,4901,4902,4904,4905,4908,4909,4911],{},"Coverage (sessions with a non-empty ",[212,4903,2246],{}," out of the sessions in\nthe report) and the unused skills (",[212,4906,4907],{},"skills.found"," names no session's\n",[212,4910,2246],{}," names) are shown beside the grade and never move it.",[394,4913,4914,4917,4918,4920,4921,4924,4925,4927,4928,4931,4932,4935,4936,4751,4938,4941],{},[212,4915,4916],{},"report check"," prints the grade, a table per rubric (score, effective\nweight, sessions judged and ",[212,4919,4763],{},"), the coverage, the\nused skills with their session counts and the unused skills. An invalid report prints one line per problem on stderr,\n",[212,4922,4923],{},"\u003CJSON pointer>: \u003Cmessage>",", sorted by pointer (a missing or unexpected\nmember is named at its own pointer), and exits 2. ",[212,4926,1993],{}," prints\n",[212,4929,4930],{},"{valid, problems: [{pointer, message}], scores}"," on stdout instead\n(",[212,4933,4934],{},"scores"," null when invalid): ",[212,4937,4934],{},[212,4939,4940],{},"{grade, score, rubrics: [{name, weight, score, judged, insufficient, labels}], coverage: {with_skills, sessions, ratio}, used_skills: [{name, sessions}], unused_skills}",". An unreadable file exits 1, a wrong\ncommand line 2.",[394,4943,4944,4947,4948,4951,4952,4955,4956,4959,4960,625,4963,4966,4967,4970,4971,4974,4975,625,4978,4981,4982,4985,4986,4988,4989,4991,4992,4994,4995,4998,4999,2941],{},[212,4945,4946],{},"report render"," checks first: an invalid report prints its problems, exits\n2 and writes nothing. A valid one becomes one self-contained HTML file,\nwritten atomically (synced, then moved into place), owner-only:\n",[212,4949,4950],{},"--out FILE",", which replaces an existing file but is refused (exit 2) when\nit is the report being rendered; else\n",[212,4953,4954],{},"${XDG_CACHE_HOME:-~\u002F.cache}\u002Fagentfeedback\u002Freports\u002Fcheckup-\u003CUTC yyyymmddThhmmssZ>.html"," (directory ",[212,4957,4958],{},"0700","), never replacing a page: an\nexisting name gets ",[212,4961,4962],{},"-2",[212,4964,4965],{},"-3",", ... before ",[212,4968,4969],{},".html",". It prints the path\nwritten. ",[212,4972,4973],{},"--open"," then starts the platform's opener (",[212,4976,4977],{},"xdg-open",[212,4979,4980],{},"open",",\nor ",[212,4983,4984],{},"rundll32 url.dll,FileProtocolHandler"," on Windows) on the absolute path\nwithout waiting; a failure to open is a warning, not an error. The page\nshows the grade, the rubrics with their label counts, the scope as counts,\nharnesses and ",[212,4987,2159],{},", coverage and the used and unused skills (computed\nfrom ",[212,4990,1493],{},"), the findings and the suggestions with their diffs (a\nfinding or suggestion shows how many sessions back it, not their refs).\nThe binary adds no path, session ref or project name of its own; the\nfindings, suggestion surfaces, changes and diffs appear as the agent wrote\nthem, scrubbed of the formats of ",[212,4993,2895],{}," and escaped. Its share\nbutton draws a 1200x675 card carrying only the grade, the rubric bars, the\nthree findings and ",[212,4996,4997],{},"agentfeedback.dev"," on a canvas in the browser and saves\nit as a PNG; the page loads and sends nothing\n(",[405,5000,3323],{"href":5001},"\u002Fdocs\u002Freference\u002Fsecurity#the-client-on-a-machine",[474,5003,5005],{"id":5004},"mcp-tools","MCP tools",[394,5007,5008,5010,5011,5013],{},[212,5009,4419],{}," (stdio) serves four more tools over the same database\nand policy, in local and in remote mode (the session state stays in the\ndata-directory database either way); the HTTP ",[212,5012,4456],{}," never serves them.",[776,5015,5016,5029],{},[779,5017,5018],{},[782,5019,5020,5023,5026],{},[785,5021,5022],{},"Tool",[785,5024,5025],{},"Arguments",[785,5027,5028],{},"CLI",[798,5030,5031,5054,5085,5107],{},[782,5032,5033,5038,5050],{},[803,5034,5035],{},[212,5036,5037],{},"sessions_list",[803,5039,5040,625,5042,625,5044,625,5047,5049],{},[212,5041,3042],{},[212,5043,2159],{},[212,5045,5046],{},"unprocessed",[212,5048,4590],{}," (absolute paths; a relative one is refused)",[803,5051,5052],{},[212,5053,675],{},[782,5055,5056,5061,5076],{},[803,5057,5058],{},[212,5059,5060],{},"sessions_digest",[803,5062,5063,451,5066,2022,5068,625,5070,5073,5074,825],{},[212,5064,5065],{},"refs[]",[212,5067,5046],{},[212,5069,3042],{},[212,5071,5072],{},"limit"," (with ",[212,5075,5046],{},[803,5077,5078,5081,5082,5084],{},[212,5079,5080],{},"sessions digest"," (records the watermark, so not read-only); ",[212,5083,2042],{}," is a human's decision and has no argument",[782,5086,5087,5092,5102],{},[803,5088,5089],{},[212,5090,5091],{},"sessions_mark",[803,5093,5094,625,5096,625,5099],{},[212,5095,5065],{},[212,5097,5098],{},"outcome",[212,5100,5101],{},"uids[]",[803,5103,5104],{},[212,5105,5106],{},"sessions mark",[782,5108,5109,5114,5118],{},[803,5110,5111],{},[212,5112,5113],{},"sessions_transcript",[803,5115,5116],{},[212,5117,5065],{},[803,5119,5120,5123,5124,5126,5127],{},[212,5121,5122],{},"sessions transcript"," (read-only); ",[212,5125,2042],{}," has no argument, as for ",[212,5128,5060],{},[394,5130,5131],{},"Unknown, repeated or mistyped arguments are refused with a validation error,\nas for the other tools. Their results reach the provider of the model that\ncalls them.",[5133,5134,5135],"style",{},"html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":210,"searchDepth":236,"depth":236,"links":5137},[5138,5141,5153,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165],{"id":476,"depth":236,"text":413,"children":5139},[5140],{"id":683,"depth":253,"text":684},{"id":774,"depth":236,"text":36,"children":5142},[5143,5144,5145,5146,5147,5148,5149,5150,5151,5152],{"id":807,"depth":253,"text":43},{"id":1191,"depth":253,"text":114},{"id":977,"depth":253,"text":118},{"id":839,"depth":253,"text":1327},{"id":1505,"depth":253,"text":122},{"id":909,"depth":253,"text":68},{"id":1700,"depth":253,"text":1701},{"id":1781,"depth":253,"text":110},{"id":1872,"depth":253,"text":102},{"id":1926,"depth":253,"text":126},{"id":1951,"depth":236,"text":1952,"children":5154},[5155],{"id":2291,"depth":253,"text":2030},{"id":2321,"depth":236,"text":2186},{"id":2679,"depth":236,"text":2680},{"id":2898,"depth":236,"text":2899},{"id":2944,"depth":236,"text":2945},{"id":3327,"depth":236,"text":2102},{"id":4007,"depth":236,"text":4008},{"id":4188,"depth":236,"text":4189},{"id":4198,"depth":236,"text":4199},{"id":4460,"depth":236,"text":4461},{"id":5004,"depth":236,"text":5005},"`agentfeedback sessions` reads the session logs a coding-agent harness keeps on disk, on demand and read-only, so an agent can turn what went wrong in a past…","md",{},{"title":180,"icon":183},{"title":180,"description":5166},null,"9EgA03mdJkaOcdJJ2Nvj7HDjcgwJxB7Pjw4ovFN3b5I",[5174,5176],{"title":155,"path":177,"stem":178,"description":5175,"icon":158,"children":-1},"By default AgentFeedback is one binary and one database owned by one OS user on one machine, with nothing listening (The client on a machine).",{"title":185,"path":186,"stem":187,"description":5177,"icon":188,"children":-1},"Source releases are annotated, immutable `vMAJOR.MINOR.PATCH` tags, with `-rc.N` pre-releases before a stable one (Tags): patch for compatible fixes, docs and…",1796294034461,"ea928bde-4a49-4a14-a821-0ac47b9694e0"]