@piagent/platform 1.7.1 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/AGENTS.md +7 -0
  2. package/CHANGELOG.md +113 -1
  3. package/README.md +45 -70
  4. package/README.vi.md +34 -61
  5. package/architecture/layers.json +16 -3
  6. package/catalog/capabilities.json +14 -7
  7. package/catalog/claude-model-additions.json +42 -0
  8. package/docs/auto-delegation-policy.md +2 -0
  9. package/docs/command-reference-vietnamese.md +69 -91
  10. package/docs/context-window-policy.md +5 -5
  11. package/docs/distribution-standard.md +16 -19
  12. package/docs/en/architecture.md +9 -1
  13. package/docs/herdr-workflow.md +2 -3
  14. package/docs/languages.json +4 -4
  15. package/docs/managed-local-acceptance.md +403 -0
  16. package/docs/mcp-and-tools.md +5 -7
  17. package/docs/memory-policy.md +3 -3
  18. package/docs/model-options.md +22 -17
  19. package/docs/oauth-providers.md +1 -1
  20. package/docs/operator-manual-vietnamese.md +85 -130
  21. package/docs/package-architecture-notes.md +4 -4
  22. package/docs/piagent-core-improvement-plan.md +3 -5
  23. package/docs/piagent-core-plan-checkpoint-2026-09-06.json +2 -13
  24. package/docs/piagent-runtime-benchmark-execution-plan.md +10 -8
  25. package/docs/project-adapters.md +3 -3
  26. package/docs/project-onboarding.md +15 -16
  27. package/docs/publishing-for-teams.md +3 -1
  28. package/docs/quality-benchmark.md +2 -0
  29. package/docs/quickstart-vietnamese.md +24 -25
  30. package/docs/release-install-policy.md +16 -11
  31. package/docs/research/harness-next-evidence-review.md +7 -7
  32. package/docs/runtime-harness-standard.md +2 -0
  33. package/docs/runtime-policy-design.md +2 -0
  34. package/docs/runtime-quality-baseline.md +2 -0
  35. package/docs/subagent-orchestration-capabilities.md +1 -1
  36. package/docs/subagents-and-multiagent.md +10 -8
  37. package/docs/task-implementation-contract.md +2 -0
  38. package/docs/task-lifecycle-vietnamese.md +2 -0
  39. package/docs/team-onboarding.md +33 -64
  40. package/docs/usage-observability.md +2 -2
  41. package/docs/vi/architecture.md +9 -1
  42. package/docs/workflow-recipes.md +6 -10
  43. package/docs-site/architecture.html +4 -3
  44. package/docs-site/assets/docs.css +80 -0
  45. package/docs-site/benchmark.html +7 -1
  46. package/docs-site/commands.html +37 -23
  47. package/docs-site/content/architecture.html +2 -2
  48. package/docs-site/content/benchmark.html +5 -0
  49. package/docs-site/content/commands.html +35 -22
  50. package/docs-site/content/ecosystem.html +144 -0
  51. package/docs-site/content/en/architecture.html +1 -1
  52. package/docs-site/content/en/benchmark.html +5 -0
  53. package/docs-site/content/en/commands.html +30 -13
  54. package/docs-site/content/en/ecosystem.html +144 -0
  55. package/docs-site/content/en/index.html +24 -9
  56. package/docs-site/content/en/quickstart.html +10 -12
  57. package/docs-site/content/en/runtime.html +1 -1
  58. package/docs-site/content/en/security.html +1 -1
  59. package/docs-site/content/en/team.html +2 -2
  60. package/docs-site/content/en/whats-new.html +89 -1
  61. package/docs-site/content/en/workflows.html +29 -31
  62. package/docs-site/content/index.html +24 -9
  63. package/docs-site/content/quickstart.html +10 -12
  64. package/docs-site/content/runtime.html +2 -2
  65. package/docs-site/content/security.html +2 -2
  66. package/docs-site/content/team.html +2 -2
  67. package/docs-site/content/whats-new.html +89 -1
  68. package/docs-site/content/workflows.html +36 -38
  69. package/docs-site/context-engine.html +2 -1
  70. package/docs-site/ecosystem.html +283 -0
  71. package/docs-site/en/architecture.html +3 -2
  72. package/docs-site/en/benchmark.html +7 -1
  73. package/docs-site/en/commands.html +32 -14
  74. package/docs-site/en/context-engine.html +2 -1
  75. package/docs-site/en/ecosystem.html +283 -0
  76. package/docs-site/en/index.html +30 -14
  77. package/docs-site/en/mcp-approval.html +2 -1
  78. package/docs-site/en/mcp-auth.html +2 -1
  79. package/docs-site/en/mcp-servers.html +2 -1
  80. package/docs-site/en/mcp.html +2 -1
  81. package/docs-site/en/permissions.html +2 -1
  82. package/docs-site/en/profiles.html +2 -1
  83. package/docs-site/en/quickstart.html +17 -18
  84. package/docs-site/en/runtime.html +3 -2
  85. package/docs-site/en/scope.html +2 -1
  86. package/docs-site/en/security.html +6 -5
  87. package/docs-site/en/team.html +4 -3
  88. package/docs-site/en/whats-new.html +97 -8
  89. package/docs-site/en/workflows.html +34 -35
  90. package/docs-site/index.html +30 -14
  91. package/docs-site/mcp-approval.html +2 -1
  92. package/docs-site/mcp-auth.html +2 -1
  93. package/docs-site/mcp-servers.html +2 -1
  94. package/docs-site/mcp.html +2 -1
  95. package/docs-site/permissions.html +2 -1
  96. package/docs-site/profiles.html +2 -1
  97. package/docs-site/quickstart.html +17 -18
  98. package/docs-site/runtime.html +4 -3
  99. package/docs-site/scope.html +2 -1
  100. package/docs-site/security.html +7 -6
  101. package/docs-site/team.html +4 -3
  102. package/docs-site/whats-new.html +97 -8
  103. package/docs-site/workflows.html +41 -42
  104. package/evals/fs5-causal-arm.v1.json +2 -2
  105. package/evals/private-holdout-v1/CURRENT_BOUNDARY.md +17 -0
  106. package/evals/private-holdout-v1/public-exposure.v2.json +2 -2
  107. package/package.json +10 -9
  108. package/packages/piagent-core/README.md +15 -23
  109. package/packages/piagent-core/docs/context-efficiency-improvement-plan.md +2 -0
  110. package/packages/piagent-core/extensions/experiment-loop-policy.ts +75 -0
  111. package/packages/piagent-core/extensions/local-state-path.js +15 -0
  112. package/packages/piagent-core/extensions/piagent-guard.ts +108 -960
  113. package/packages/piagent-core/extensions/policy-core.js +2 -2
  114. package/packages/piagent-core/extensions/source-checkout-paths.ts +54 -0
  115. package/packages/piagent-core/managed/broker-client.mjs +49 -0
  116. package/packages/piagent-core/managed/capabilities.mjs +28 -0
  117. package/packages/piagent-core/managed/compaction.mjs +63 -0
  118. package/packages/piagent-core/managed/doctor.mjs +107 -0
  119. package/packages/piagent-core/managed/native-catalog.mjs +42 -0
  120. package/packages/piagent-core/managed/patch-snapshot.mjs +48 -0
  121. package/packages/piagent-core/managed/repository-operation.mjs +84 -0
  122. package/packages/piagent-core/managed/request-stream.mjs +129 -0
  123. package/packages/piagent-core/managed/resource-loader.mjs +42 -0
  124. package/packages/piagent-core/managed/review-snapshot-worker.mjs +27 -0
  125. package/packages/piagent-core/managed/sandbox-diagnostic.mjs +12 -0
  126. package/packages/piagent-core/managed/search-fallback.mjs +93 -0
  127. package/packages/piagent-core/managed/session.mjs +472 -0
  128. package/packages/piagent-core/managed/store.d.mts +3 -0
  129. package/packages/piagent-core/managed/store.mjs +64 -0
  130. package/packages/piagent-core/managed/tool-boundary.mjs +243 -0
  131. package/packages/piagent-core/managed/tool-worker.mjs +36 -0
  132. package/packages/piagent-core/managed/toolchain.mjs +120 -0
  133. package/packages/piagent-core/managed/web-fetch.mjs +105 -0
  134. package/packages/piagent-core/managed/web-search.mjs +96 -0
  135. package/packages/piagent-core/managed/workflow.mjs +299 -0
  136. package/packages/piagent-core/package.json +3 -6
  137. package/packages/piagent-core/policies/base-policy.json +80 -26
  138. package/packages/piagent-core/runtime/hooks/agent-start-hook.ts +3 -3
  139. package/packages/piagent-core/runtime/hooks/input-hook.ts +35 -196
  140. package/packages/piagent-core/runtime/hooks/session-start-hook.ts +2 -0
  141. package/packages/piagent-core/runtime/inspection/approval-broker.ts +9 -1
  142. package/packages/piagent-core/runtime/inspection/same-process-bridge-proof.ts +1 -1
  143. package/packages/piagent-core/runtime/inspection/webui-snapshot.ts +1 -1
  144. package/packages/piagent-core/runtime/managed-failure.d.mts +10 -0
  145. package/packages/piagent-core/runtime/managed-failure.mjs +164 -0
  146. package/packages/piagent-core/runtime/model/model-route-policy.ts +33 -13
  147. package/packages/piagent-core/runtime/model/model-route-types.ts +10 -6
  148. package/packages/piagent-core/runtime/orchestration/minimal-delegation-policy.ts +8 -29
  149. package/packages/piagent-core/runtime/orchestration/owned-work-budget.ts +1 -1
  150. package/packages/piagent-core/runtime/policy/block-remedy.ts +5 -3
  151. package/packages/piagent-core/runtime/registration/context-commands.ts +1 -1
  152. package/packages/piagent-core/runtime/registration/knowledge-tools.ts +7 -7
  153. package/packages/piagent-core/runtime/registration/policy-tools.ts +2 -2
  154. package/packages/piagent-core/runtime/registration/session-commands.ts +11 -26
  155. package/packages/piagent-core/runtime/registration/task-evidence-tools.ts +1 -1
  156. package/packages/piagent-core/runtime/session/system-prompt.ts +6 -7
  157. package/packages/piagent-core/runtime/workflows/webui-runtime-command.ts +6 -6
  158. package/packages/piagent-core/runtime/workflows/webui-workflow.ts +6 -11
  159. package/packages/piagent-core/security/sensitive-text.js +9 -0
  160. package/packages/piagent-core/skills/piagent-ops/SKILL.md +8 -10
  161. package/packages/piagent-core/skills/test-audit/SKILL.md +101 -0
  162. package/packages/piagent-core/subagents/piagent-planner.md +1 -1
  163. package/packages/piagent-webui/dist/client/assets/{MarkdownMessage-DGk34zJT.js → MarkdownMessage-Dd9wPk-v.js} +1 -1
  164. package/packages/piagent-webui/dist/client/assets/index-7I-50Q2U.js +228 -0
  165. package/packages/piagent-webui/dist/client/assets/{index-DVahUVWy.css → index-DgSmcnP8.css} +1 -1
  166. package/packages/piagent-webui/dist/client/index.html +2 -2
  167. package/packages/piagent-webui/extension/piagent-webui.ts +11 -11
  168. package/packages/piagent-webui/extension/session-stream-adapter.ts +3 -1
  169. package/packages/piagent-webui/extension/terminal-session-adapter.ts +6 -1
  170. package/packages/piagent-webui/gateway/company-relay.ts +308 -0
  171. package/packages/piagent-webui/gateway/control-socket.ts +39 -12
  172. package/packages/piagent-webui/gateway/gateway-service.ts +109 -28
  173. package/packages/piagent-webui/gateway/gateway-session-stream.ts +58 -2
  174. package/packages/piagent-webui/gateway/managed-gateway.mjs +41 -0
  175. package/packages/piagent-webui/gateway/managed-launch.ts +145 -0
  176. package/packages/piagent-webui/gateway/managed-projection.ts +20 -0
  177. package/packages/piagent-webui/gateway/pi-host.ts +22 -4
  178. package/packages/piagent-webui/gateway/runtime-session-controls.ts +5 -2
  179. package/packages/piagent-webui/gateway/session-approval-authority.ts +28 -0
  180. package/packages/piagent-webui/gateway/session-catalog.ts +11 -3
  181. package/packages/piagent-webui/gateway/session-command-controller.ts +8 -2
  182. package/packages/piagent-webui/gateway/session-file-facts.ts +25 -0
  183. package/packages/piagent-webui/gateway/session-inspection-registry.ts +42 -12
  184. package/packages/piagent-webui/gateway/session-list-cache.ts +68 -0
  185. package/packages/piagent-webui/gateway/session-runtime-ownership.ts +8 -1
  186. package/packages/piagent-webui/gateway/session-runtime-supervisor.ts +20 -27
  187. package/packages/piagent-webui/ownership/managed-terminal-lease.ts +27 -0
  188. package/packages/piagent-webui/ownership/profile-state.ts +2 -0
  189. package/packages/piagent-webui/ownership/session-lease-store.ts +22 -1
  190. package/packages/piagent-webui/server/approval-projection.ts +9 -0
  191. package/packages/piagent-webui/server/core-inspection-provider.ts +4 -9
  192. package/packages/piagent-webui/server/loopback-server.ts +37 -1
  193. package/packages/piagent-webui/server/message-stop-reason.ts +11 -0
  194. package/packages/piagent-webui/server/tool-call-summary.ts +185 -0
  195. package/packages/piagent-webui/server/transcript-projection.ts +86 -3
  196. package/packs/engineering-base/pack.json +4 -0
  197. package/schemas/piagent-webui/runtime-command-v1.schema.json +1 -2
  198. package/schemas/piagent-webui/session-catalog-v1.schema.json +8 -0
  199. package/schemas/piagent-webui/transcript-v1.schema.json +94 -1
  200. package/scripts/build-docs-site.mjs +23 -12
  201. package/scripts/check-public-wording.mjs +5 -6
  202. package/scripts/check-runtime-advisories.mjs +23 -6
  203. package/scripts/claude-model-additions.mjs +33 -0
  204. package/scripts/configure-model-scope.sh +36 -8
  205. package/scripts/configure-subagents.sh +1 -1
  206. package/scripts/explain-command.mjs +5 -6
  207. package/scripts/install-global.sh +2 -2
  208. package/scripts/model-route-evaluation-core.ts +1 -0
  209. package/scripts/model-scope-prune.mjs +75 -0
  210. package/scripts/phase-tools-evaluation.mjs +9 -4
  211. package/scripts/pi-model-route.mjs +1 -1
  212. package/scripts/piagent-cli.mjs +51 -2
  213. package/scripts/piagent-dashboard.mjs +27 -4
  214. package/scripts/piagent-installations.mjs +26 -0
  215. package/scripts/piagent-studio.mjs +155 -0
  216. package/scripts/runtime-advisory-exceptions.json +29 -0
  217. package/scripts/setup.sh +2 -2
  218. package/scripts/team-doctor.sh +20 -1
  219. package/scripts/typescript-loader.mjs +6 -0
  220. package/scripts/verify-local.sh +5 -5
  221. package/scripts/verify-release-identity.mjs +1 -1
  222. package/templates/global/settings.json +8 -2
  223. package/templates/project/.pi/project-context.md +3 -3
  224. package/templates/project/AGENTS.md +4 -5
  225. package/docs/piagent-core-reasoning-research-2026-09-06.md +0 -225
  226. package/docs/piagent-core-research-sources-2026-09-06.json +0 -416
  227. package/packages/piagent-webui/dist/client/assets/index-DiKRmCEP.js +0 -176
@@ -1,416 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "planId": "PCL-2026-09-06",
4
- "accessDate": "2026-09-06",
5
- "sourceCount": 34,
6
- "publicRepositoriesPinned": [
7
- {
8
- "repo": "earendil-works/pi",
9
- "branch": "main",
10
- "sha": "9767ba275f3e9a5ee0f5c5342249b629ab1b2282",
11
- "date": "2026-09-05T22:30:17Z"
12
- },
13
- {
14
- "repo": "openai/codex",
15
- "branch": "main",
16
- "sha": "ac192cd7937b0d73edc6dffe009940ae53782dd4",
17
- "date": "2026-09-06T07:42:32Z"
18
- },
19
- {
20
- "repo": "SWE-agent/mini-swe-agent",
21
- "branch": "main",
22
- "sha": "04d809ceab9df28f9adaed044884180159172930",
23
- "date": "2026-09-03T05:05:59Z"
24
- },
25
- {
26
- "repo": "Aider-AI/aider",
27
- "branch": "main",
28
- "sha": "5dc9490bb35f9729ef2c95d00a19ccd30c26339c",
29
- "date": "2026-05-22T14:02:20Z"
30
- },
31
- {
32
- "repo": "OpenHands/software-agent-sdk",
33
- "branch": "main",
34
- "sha": "8ea8e3bc1d5e84542f7702b8813734ef600c9fce",
35
- "date": "2026-09-06T12:38:12Z"
36
- },
37
- {
38
- "repo": "google-gemini/gemini-cli",
39
- "branch": "main",
40
- "sha": "85aca163f6c73ac6ce380b5447359146b8adcae4",
41
- "date": "2026-09-04T18:05:05Z"
42
- },
43
- {
44
- "repo": "anomalyco/opencode",
45
- "branch": "dev",
46
- "sha": "337fd144d2ba144743368f78d9579a99cce175bd",
47
- "date": "2026-09-06T04:32:46Z"
48
- },
49
- {
50
- "repo": "cline/cline",
51
- "branch": "main",
52
- "sha": "dac3b35ba485dbab3b5a73aca239b0d07ce071cf",
53
- "date": "2026-09-04T23:40:39Z"
54
- }
55
- ],
56
- "sources": [
57
- {
58
- "id": "S01",
59
- "title": "Pi release notes",
60
- "type": "release",
61
- "url": "https://github.com/earendil-works/pi/releases",
62
- "readScope": "0.85.0 and 0.85.1 notes"
63
- },
64
- {
65
- "id": "S02",
66
- "title": "Pi agent loop",
67
- "type": "code",
68
- "url": "https://github.com/earendil-works/pi/blob/9767ba275f3e9a5ee0f5c5342249b629ab1b2282/packages/agent/src/agent-loop.ts",
69
- "readScope": "runLoop steering, prepareNextTurn, error/abort and truncated tool calls"
70
- },
71
- {
72
- "id": "S03",
73
- "title": "Pi compaction",
74
- "type": "code",
75
- "url": "https://github.com/earendil-works/pi/blob/9767ba275f3e9a5ee0f5c5342249b629ab1b2282/packages/coding-agent/src/core/compaction/compaction.ts",
76
- "readScope": "calculateContextTokens, getAssistantUsage, estimateContextTokens"
77
- },
78
- {
79
- "id": "S04",
80
- "title": "Unrolling the Codex agent loop",
81
- "type": "blog",
82
- "url": "https://openai.com/index/unrolling-the-codex-agent-loop/",
83
- "readScope": "Agent loop and performance/cache/compaction sections"
84
- },
85
- {
86
- "id": "S05",
87
- "title": "Codex remote compaction",
88
- "type": "code",
89
- "url": "https://github.com/openai/codex/blob/ac192cd7937b0d73edc6dffe009940ae53782dd4/codex-rs/core/src/compact_remote.rs",
90
- "readScope": "Request/step boundary, compaction metadata and precompact hooks"
91
- },
92
- {
93
- "id": "S06",
94
- "title": "Codex history",
95
- "type": "code",
96
- "url": "https://github.com/openai/codex/blob/ac192cd7937b0d73edc6dffe009940ae53782dd4/codex-rs/core/src/context_manager/history.rs",
97
- "readScope": "Annotated normalized history view and metadata-related slices"
98
- },
99
- {
100
- "id": "S07",
101
- "title": "OpenAI model guidance GPT-5.5",
102
- "type": "docs",
103
- "url": "https://developers.openai.com/api/docs/guides/latest-model?model=gpt-5.5",
104
- "readScope": "Outcome/stopping conditions and assistant phase replay"
105
- },
106
- {
107
- "id": "S08",
108
- "title": "Effective context engineering",
109
- "type": "blog",
110
- "url": "https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents",
111
- "readScope": "Context components, retrieval, compaction and structured notes"
112
- },
113
- {
114
- "id": "S09",
115
- "title": "Writing effective tools",
116
- "type": "blog",
117
- "url": "https://www.anthropic.com/engineering/writing-tools-for-agents",
118
- "readScope": "Tool boundaries, names, meaningful context and response formats"
119
- },
120
- {
121
- "id": "S10",
122
- "title": "Effective harnesses for long-running agents",
123
- "type": "blog",
124
- "url": "https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents",
125
- "readScope": "Long-running failure modes, incremental progress and feature state"
126
- },
127
- {
128
- "id": "S11",
129
- "title": "Claude Code quality postmortem",
130
- "type": "blog",
131
- "url": "https://www.anthropic.com/engineering/april-23-postmortem",
132
- "readScope": "Effort, context clearing, cache and verbosity regressions"
133
- },
134
- {
135
- "id": "S12",
136
- "title": "Demystifying evals for AI agents",
137
- "type": "blog",
138
- "url": "https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents",
139
- "readScope": "Outcome, graders, capability/regression eval and quality signals"
140
- },
141
- {
142
- "id": "S13",
143
- "title": "Infrastructure noise",
144
- "type": "blog",
145
- "url": "https://www.anthropic.com/engineering/infrastructure-noise",
146
- "readScope": "Resource enforcement, headroom, environment and latency confounders"
147
- },
148
- {
149
- "id": "S14",
150
- "title": "Dynamic context discovery",
151
- "type": "blog",
152
- "url": "https://cursor.com/blog/dynamic-context-discovery",
153
- "readScope": "Tool outputs, history references, skills and MCP discovery"
154
- },
155
- {
156
- "id": "S15",
157
- "title": "Continually improving our agent harness",
158
- "type": "blog",
159
- "url": "https://cursor.com/blog/continually-improving-agent-harness",
160
- "readScope": "Dynamic context, product metrics, rework and error classification"
161
- },
162
- {
163
- "id": "S16",
164
- "title": "Aider repository map",
165
- "type": "docs",
166
- "url": "https://aider.chat/docs/repomap.html",
167
- "readScope": "Symbols, graph ranking and map budgets"
168
- },
169
- {
170
- "id": "S17",
171
- "title": "Aider repomap source",
172
- "type": "code",
173
- "url": "https://github.com/Aider-AI/aider/blob/5dc9490bb35f9729ef2c95d00a19ccd30c26339c/aider/repomap.py",
174
- "readScope": "get_repo_map, ranked tags, cache and PageRank slices"
175
- },
176
- {
177
- "id": "S18",
178
- "title": "Aider edit formats",
179
- "type": "docs",
180
- "url": "https://aider.chat/docs/more/edit-formats.html",
181
- "readScope": "Model-dependent formats and whole-file cost"
182
- },
183
- {
184
- "id": "S19",
185
- "title": "Aider edit block coder",
186
- "type": "code",
187
- "url": "https://github.com/Aider-AI/aider/blob/5dc9490bb35f9729ef2c95d00a19ccd30c26339c/aider/coders/editblock_coder.py",
188
- "readScope": "apply_edits/dry-run, other-file fallback and partial failure feedback"
189
- },
190
- {
191
- "id": "S20",
192
- "title": "Separating code reasoning and editing",
193
- "type": "blog",
194
- "url": "https://aider.chat/2024/09/26/architect.html",
195
- "readScope": "Architect/editor inference split and latency tradeoff"
196
- },
197
- {
198
- "id": "S21",
199
- "title": "Mini-SWE-agent overview",
200
- "type": "docs",
201
- "url": "https://mini-swe-agent.com/latest/",
202
- "readScope": "Minimal agent/model/environment architecture"
203
- },
204
- {
205
- "id": "S22",
206
- "title": "Mini-SWE-agent default agent",
207
- "type": "code",
208
- "url": "https://github.com/SWE-agent/mini-swe-agent/blob/04d809ceab9df28f9adaed044884180159172930/src/minisweagent/agents/default.py",
209
- "readScope": "DefaultAgent file including costs, limits, execution and serialization"
210
- },
211
- {
212
- "id": "S23",
213
- "title": "OpenHands condenser architecture",
214
- "type": "docs",
215
- "url": "https://docs.openhands.dev/sdk/arch/condenser",
216
- "readScope": "Condenser, View, Condensation and implementations"
217
- },
218
- {
219
- "id": "S24",
220
- "title": "OpenHands condenser base",
221
- "type": "code",
222
- "url": "https://github.com/OpenHands/software-agent-sdk/blob/8ea8e3bc1d5e84542f7702b8813734ef600c9fce/openhands-sdk/openhands/sdk/context/condenser/base.py",
223
- "readScope": "Read-only cached view and soft/hard condensation fallback"
224
- },
225
- {
226
- "id": "S25",
227
- "title": "OpenHands conversation state",
228
- "type": "code",
229
- "url": "https://github.com/OpenHands/software-agent-sdk/blob/8ea8e3bc1d5e84542f7702b8813734ef600c9fce/openhands-sdk/openhands/sdk/conversation/state.py",
230
- "readScope": "EventLog and active-branch derived cache slices"
231
- },
232
- {
233
- "id": "S26",
234
- "title": "Gemini chat compression",
235
- "type": "code",
236
- "url": "https://github.com/google-gemini/gemini-cli/blob/85aca163f6c73ac6ce380b5447359146b8adcae4/packages/core/src/context/chatCompressionService.ts",
237
- "readScope": "Reverse tool-output budget, summary/probe and empty/inflated summary guards"
238
- },
239
- {
240
- "id": "S27",
241
- "title": "Gemini loop detection",
242
- "type": "code",
243
- "url": "https://github.com/google-gemini/gemini-cli/blob/85aca163f6c73ac6ce380b5447359146b8adcae4/packages/core/src/services/loopDetectionService.ts",
244
- "readScope": "Progress distinction, detection return types and LLM check scheduling"
245
- },
246
- {
247
- "id": "S28",
248
- "title": "OpenCode compaction",
249
- "type": "code",
250
- "url": "https://github.com/anomalyco/opencode/blob/337fd144d2ba144743368f78d9579a99cce175bd/packages/opencode/src/session/compaction.ts",
251
- "readScope": "Prune completed/protected/recent outputs and minimum saving"
252
- },
253
- {
254
- "id": "S29",
255
- "title": "OpenCode processor",
256
- "type": "code",
257
- "url": "https://github.com/anomalyco/opencode/blob/337fd144d2ba144743368f78d9579a99cce175bd/packages/opencode/src/session/processor.ts",
258
- "readScope": "Repeated tool argument check, stop/continue/compact, errors/retry policy slices"
259
- },
260
- {
261
- "id": "S30",
262
- "title": "Cline changelog",
263
- "type": "changelog",
264
- "url": "https://github.com/cline/cline/blob/dac3b35ba485dbab3b5a73aca239b0d07ce071cf/CHANGELOG.md",
265
- "readScope": "Historical compaction/retry and provider model compatibility entries; not implementation audit"
266
- },
267
- {
268
- "id": "S31",
269
- "title": "SWE-agent ACI paper",
270
- "type": "paper-abstract",
271
- "url": "https://arxiv.org/abs/2405.15793",
272
- "readScope": "Abstract and study scope only; no reproduction"
273
- },
274
- {
275
- "id": "S32",
276
- "title": "Lost in the Middle",
277
- "type": "paper-abstract",
278
- "url": "https://arxiv.org/abs/2307.03172",
279
- "readScope": "Abstract and task/model scope only"
280
- },
281
- {
282
- "id": "S33",
283
- "title": "Cannot Self-Correct Reasoning Yet",
284
- "type": "paper-abstract",
285
- "url": "https://arxiv.org/abs/2310.01798",
286
- "readScope": "Abstract and scope of intrinsic self-correction without external feedback"
287
- },
288
- {
289
- "id": "S34",
290
- "title": "Intrinsic Self-Correction Ability",
291
- "type": "paper-abstract",
292
- "url": "https://arxiv.org/abs/2406.15673",
293
- "readScope": "Abstract and stated prompt/temperature conditions"
294
- }
295
- ],
296
- "downloadedPublicFiles": [
297
- {
298
- "repo": "earendil-works/pi",
299
- "commit": "9767ba275f3e9a5ee0f5c5342249b629ab1b2282",
300
- "path": "packages/agent/src/agent-loop.ts",
301
- "url": "https://raw.githubusercontent.com/earendil-works/pi/9767ba275f3e9a5ee0f5c5342249b629ab1b2282/packages/agent/src/agent-loop.ts",
302
- "bytes": 22796,
303
- "sha256": "1e16404a231912fbd7643d8317b15ec4cc6245ed8cedc37582a31d430a1cc6ac"
304
- },
305
- {
306
- "repo": "earendil-works/pi",
307
- "commit": "9767ba275f3e9a5ee0f5c5342249b629ab1b2282",
308
- "path": "packages/coding-agent/src/core/compaction/compaction.ts",
309
- "url": "https://raw.githubusercontent.com/earendil-works/pi/9767ba275f3e9a5ee0f5c5342249b629ab1b2282/packages/coding-agent/src/core/compaction/compaction.ts",
310
- "bytes": 30705,
311
- "sha256": "d3f639c21c4b91ebbe9d5716914636c3eb37a19d434e11bd6653fef8050f1357"
312
- },
313
- {
314
- "repo": "openai/codex",
315
- "commit": "ac192cd7937b0d73edc6dffe009940ae53782dd4",
316
- "path": "codex-rs/core/src/compact_remote.rs",
317
- "url": "https://raw.githubusercontent.com/openai/codex/ac192cd7937b0d73edc6dffe009940ae53782dd4/codex-rs/core/src/compact_remote.rs",
318
- "bytes": 20722,
319
- "sha256": "f309fd541d8399696c6f75bb40d9f76a8be6d0b49a12630efadf8d07352f71c5"
320
- },
321
- {
322
- "repo": "openai/codex",
323
- "commit": "ac192cd7937b0d73edc6dffe009940ae53782dd4",
324
- "path": "codex-rs/core/src/context_manager/history.rs",
325
- "url": "https://raw.githubusercontent.com/openai/codex/ac192cd7937b0d73edc6dffe009940ae53782dd4/codex-rs/core/src/context_manager/history.rs",
326
- "bytes": 48592,
327
- "sha256": "73e5625014ece2d1e3a092318eac323629f51227fc14327fe954322cf79c69ff"
328
- },
329
- {
330
- "repo": "SWE-agent/mini-swe-agent",
331
- "commit": "04d809ceab9df28f9adaed044884180159172930",
332
- "path": "src/minisweagent/agents/default.py",
333
- "url": "https://raw.githubusercontent.com/SWE-agent/mini-swe-agent/04d809ceab9df28f9adaed044884180159172930/src/minisweagent/agents/default.py",
334
- "bytes": 8043,
335
- "sha256": "e8ef8aa365942d739c2ec5cb0879f60f377d2dc2de8ec670aaedf3bafb45a4c2"
336
- },
337
- {
338
- "repo": "Aider-AI/aider",
339
- "commit": "5dc9490bb35f9729ef2c95d00a19ccd30c26339c",
340
- "path": "aider/repomap.py",
341
- "url": "https://raw.githubusercontent.com/Aider-AI/aider/5dc9490bb35f9729ef2c95d00a19ccd30c26339c/aider/repomap.py",
342
- "bytes": 27306,
343
- "sha256": "a5d4befe70445114b9f62da47b0eeb2a5384f9e84a0c083c77a4b339caf61ecd"
344
- },
345
- {
346
- "repo": "Aider-AI/aider",
347
- "commit": "5dc9490bb35f9729ef2c95d00a19ccd30c26339c",
348
- "path": "aider/coders/editblock_coder.py",
349
- "url": "https://raw.githubusercontent.com/Aider-AI/aider/5dc9490bb35f9729ef2c95d00a19ccd30c26339c/aider/coders/editblock_coder.py",
350
- "bytes": 19616,
351
- "sha256": "244df08f5ccd19928bcdac1901ae591a7a786d12a6f70d31400baaefb5a136a3"
352
- },
353
- {
354
- "repo": "OpenHands/software-agent-sdk",
355
- "commit": "8ea8e3bc1d5e84542f7702b8813734ef600c9fce",
356
- "path": "openhands-sdk/openhands/sdk/context/condenser/base.py",
357
- "url": "https://raw.githubusercontent.com/OpenHands/software-agent-sdk/8ea8e3bc1d5e84542f7702b8813734ef600c9fce/openhands-sdk/openhands/sdk/context/condenser/base.py",
358
- "bytes": 10085,
359
- "sha256": "26ecce4b6c42de204396ec38cc94fb032adc6b20180b1d8315f09c1a78bca6a0"
360
- },
361
- {
362
- "repo": "OpenHands/software-agent-sdk",
363
- "commit": "8ea8e3bc1d5e84542f7702b8813734ef600c9fce",
364
- "path": "openhands-sdk/openhands/sdk/conversation/state.py",
365
- "url": "https://raw.githubusercontent.com/OpenHands/software-agent-sdk/8ea8e3bc1d5e84542f7702b8813734ef600c9fce/openhands-sdk/openhands/sdk/conversation/state.py",
366
- "bytes": 32392,
367
- "sha256": "441b4c5d5b5e6e7dfcab8a4b32039039fcff49088781e4eae98ed7397ca3cf74"
368
- },
369
- {
370
- "repo": "google-gemini/gemini-cli",
371
- "commit": "85aca163f6c73ac6ce380b5447359146b8adcae4",
372
- "path": "packages/core/src/context/chatCompressionService.ts",
373
- "url": "https://raw.githubusercontent.com/google-gemini/gemini-cli/85aca163f6c73ac6ce380b5447359146b8adcae4/packages/core/src/context/chatCompressionService.ts",
374
- "bytes": 16644,
375
- "sha256": "796b43770e9de160c2aa2db8f729eb3141072b82d5cfc380543e0e95bdb0567e"
376
- },
377
- {
378
- "repo": "google-gemini/gemini-cli",
379
- "commit": "85aca163f6c73ac6ce380b5447359146b8adcae4",
380
- "path": "packages/core/src/services/loopDetectionService.ts",
381
- "url": "https://raw.githubusercontent.com/google-gemini/gemini-cli/85aca163f6c73ac6ce380b5447359146b8adcae4/packages/core/src/services/loopDetectionService.ts",
382
- "bytes": 26752,
383
- "sha256": "f45c4eb345d2bba3b0920eb0858316e563cc1f2274f2883e5bea85efa7ce361a"
384
- },
385
- {
386
- "repo": "anomalyco/opencode",
387
- "commit": "337fd144d2ba144743368f78d9579a99cce175bd",
388
- "path": "packages/opencode/src/session/compaction.ts",
389
- "url": "https://raw.githubusercontent.com/anomalyco/opencode/337fd144d2ba144743368f78d9579a99cce175bd/packages/opencode/src/session/compaction.ts",
390
- "bytes": 21236,
391
- "sha256": "8d478570a7e4ad32b746030d4f86a1c673949b1e2259bd716b3885d99283289a"
392
- },
393
- {
394
- "repo": "anomalyco/opencode",
395
- "commit": "337fd144d2ba144743368f78d9579a99cce175bd",
396
- "path": "packages/opencode/src/session/processor.ts",
397
- "url": "https://raw.githubusercontent.com/anomalyco/opencode/337fd144d2ba144743368f78d9579a99cce175bd/packages/opencode/src/session/processor.ts",
398
- "bytes": 27266,
399
- "sha256": "0b31e207beda56bd9a4b9b88c9e42d89a0651dd011773748c8e2938dfc3dcb74"
400
- },
401
- {
402
- "repo": "cline/cline",
403
- "commit": "dac3b35ba485dbab3b5a73aca239b0d07ce071cf",
404
- "path": "CHANGELOG.md",
405
- "url": "https://raw.githubusercontent.com/cline/cline/dac3b35ba485dbab3b5a73aca239b0d07ce071cf/CHANGELOG.md",
406
- "bytes": 125121,
407
- "sha256": "220c798c0f3a18ce5e75a7d32670576708de0f81d8d10bf7e60e9ace3079ba14"
408
- }
409
- ],
410
- "limitations": [
411
- "Targeted static source inspection, not whole-repository audit.",
412
- "Four papers read at abstract/scope level, not full-text reproduction.",
413
- "Blog/docs snapshots may change after access date.",
414
- "No foreign code executed; no provider inference or benchmark campaign launched."
415
- ]
416
- }