ultimate-pi 0.1.2 → 0.1.4

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 (516) hide show
  1. package/.agents/skills/ck-search/SKILL.md +99 -0
  2. package/.agents/skills/defuddle/SKILL.md +90 -0
  3. package/.agents/skills/find-skills/SKILL.md +142 -0
  4. package/.agents/skills/firecrawl/SKILL.md +150 -0
  5. package/.agents/skills/firecrawl/rules/install.md +82 -0
  6. package/.agents/skills/firecrawl/rules/security.md +26 -0
  7. package/.agents/skills/firecrawl-agent/SKILL.md +57 -0
  8. package/.agents/skills/firecrawl-build-interact/SKILL.md +67 -0
  9. package/.agents/skills/firecrawl-build-onboarding/SKILL.md +102 -0
  10. package/.agents/skills/firecrawl-build-onboarding/references/auth-flow.md +39 -0
  11. package/.agents/skills/firecrawl-build-onboarding/references/project-setup.md +20 -0
  12. package/.agents/skills/firecrawl-build-onboarding/references/sdk-installation.md +17 -0
  13. package/.agents/skills/firecrawl-build-scrape/SKILL.md +68 -0
  14. package/.agents/skills/firecrawl-build-search/SKILL.md +68 -0
  15. package/.agents/skills/firecrawl-crawl/SKILL.md +58 -0
  16. package/.agents/skills/firecrawl-download/SKILL.md +69 -0
  17. package/.agents/skills/firecrawl-interact/SKILL.md +83 -0
  18. package/.agents/skills/firecrawl-map/SKILL.md +50 -0
  19. package/.agents/skills/firecrawl-parse/SKILL.md +61 -0
  20. package/.agents/skills/firecrawl-scrape/SKILL.md +68 -0
  21. package/.agents/skills/firecrawl-search/SKILL.md +59 -0
  22. package/.agents/skills/obsidian-bases/SKILL.md +299 -0
  23. package/.agents/skills/obsidian-markdown/SKILL.md +237 -0
  24. package/.agents/skills/posthog-analyst/SKILL.md +306 -0
  25. package/.agents/skills/posthog-analyst/evals/evals.json +23 -0
  26. package/.agents/skills/wiki/SKILL.md +215 -0
  27. package/.agents/skills/wiki/references/css-snippets.md +122 -0
  28. package/.agents/skills/wiki/references/frontmatter.md +107 -0
  29. package/.agents/skills/wiki/references/git-setup.md +58 -0
  30. package/.agents/skills/wiki/references/mcp-setup.md +149 -0
  31. package/.agents/skills/wiki/references/modes.md +259 -0
  32. package/.agents/skills/wiki/references/plugins.md +96 -0
  33. package/.agents/skills/wiki/references/rest-api.md +124 -0
  34. package/.agents/skills/wiki-autoresearch/SKILL.md +211 -0
  35. package/.agents/skills/wiki-autoresearch/references/program.md +75 -0
  36. package/.agents/skills/wiki-fold/SKILL.md +204 -0
  37. package/.agents/skills/wiki-fold/references/fold-template.md +133 -0
  38. package/.agents/skills/wiki-ingest/SKILL.md +288 -0
  39. package/.agents/skills/wiki-lint/SKILL.md +183 -0
  40. package/.agents/skills/wiki-query/SKILL.md +176 -0
  41. package/.agents/skills/wiki-save/SKILL.md +128 -0
  42. package/.ckignore +41 -0
  43. package/.env.example +9 -0
  44. package/.github/workflows/lint.yml +33 -0
  45. package/.github/workflows/publish-github-packages.yml +35 -0
  46. package/.github/workflows/publish-npm.yml +1 -1
  47. package/.pi/SYSTEM.md +107 -40
  48. package/.pi/agents/pi-pi/agent-expert.md +205 -0
  49. package/.pi/agents/pi-pi/cli-expert.md +47 -0
  50. package/.pi/agents/pi-pi/config-expert.md +67 -0
  51. package/.pi/agents/pi-pi/ext-expert.md +53 -0
  52. package/.pi/agents/pi-pi/keybinding-expert.md +123 -0
  53. package/.pi/agents/pi-pi/pi-orchestrator.md +103 -0
  54. package/.pi/agents/pi-pi/prompt-expert.md +83 -0
  55. package/.pi/agents/pi-pi/skill-expert.md +52 -0
  56. package/.pi/agents/pi-pi/theme-expert.md +46 -0
  57. package/.pi/agents/pi-pi/tui-expert.md +100 -0
  58. package/.pi/agents/rethink.md +140 -0
  59. package/.pi/agents/wiki-ingest.md +67 -0
  60. package/.pi/agents/wiki-lint.md +75 -0
  61. package/.pi/auto-commit.json +20 -0
  62. package/.pi/extensions/banner.png +0 -0
  63. package/.pi/extensions/ck-enforce.ts +216 -0
  64. package/.pi/extensions/custom-footer.ts +308 -0
  65. package/.pi/extensions/custom-header.ts +116 -0
  66. package/.pi/extensions/dotenv-loader.ts +170 -0
  67. package/.pi/internal/cursor-sdk-transcript-parser.ts +59 -0
  68. package/.pi/model-router.json +95 -0
  69. package/.pi/npm/.gitignore +2 -0
  70. package/.pi/prompts/git-sync.md +124 -0
  71. package/.pi/prompts/harness-setup.md +509 -0
  72. package/.pi/prompts/save.md +16 -0
  73. package/.pi/prompts/wiki-autoresearch.md +19 -0
  74. package/.pi/prompts/wiki.md +23 -0
  75. package/.pi/providers/cursor-sdk-provider.test.mjs +476 -0
  76. package/.pi/providers/cursor-sdk-provider.ts +1085 -0
  77. package/.pi/settings.json +14 -4
  78. package/.pi/skills/agent-router/SKILL.md +174 -0
  79. package/.pi/sounds/alert/1-kaching-track.mp3 +0 -0
  80. package/.pi/sounds/error/1-ksi-wth-track.mp3 +0 -0
  81. package/.pi/sounds/error/2-smash-track.mp3 +0 -0
  82. package/.pi/sounds/error/3-buzzer-track.mp3 +0 -0
  83. package/.pi/sounds/notification/1-soft-notification-track.mp3 +0 -0
  84. package/.pi/sounds/project-sounds.json +25 -0
  85. package/.pi/sounds/reminder/1-soft-notification-track.mp3 +0 -0
  86. package/.pi/sounds/success/1-tada-track.mp3 +0 -0
  87. package/.pi/sounds/success/2-jobs-done-track.mp3 +0 -0
  88. package/.pi/sounds/success/3-yay-track.mp3 +0 -0
  89. package/CONTRIBUTING.md +116 -0
  90. package/README.md +32 -39
  91. package/biome.json +34 -0
  92. package/firecrawl/.env.template +58 -0
  93. package/firecrawl/README.md +49 -0
  94. package/firecrawl/docker-compose.yaml +201 -0
  95. package/firecrawl/searxng/searxng.env +3 -0
  96. package/firecrawl/searxng/settings.yml +85 -0
  97. package/lefthook.yml +8 -0
  98. package/package.json +55 -24
  99. package/vault/AGENTS.md +37 -0
  100. package/vault/wiki/_templates/comparison.md +39 -0
  101. package/vault/wiki/_templates/concept.md +40 -0
  102. package/vault/wiki/_templates/decision.md +21 -0
  103. package/vault/wiki/_templates/entity.md +32 -0
  104. package/vault/wiki/_templates/flow.md +14 -0
  105. package/vault/wiki/_templates/module.md +18 -0
  106. package/vault/wiki/_templates/question.md +31 -0
  107. package/vault/wiki/_templates/source.md +39 -0
  108. package/vault/wiki/concepts/AST-Aware Code Chunking.md +44 -0
  109. package/vault/wiki/concepts/Build-Time Prompt Compilation.md +107 -0
  110. package/vault/wiki/concepts/Context Engine (AI Coding).md +47 -0
  111. package/vault/wiki/concepts/Context-Aware System Reminders.md +61 -0
  112. package/vault/wiki/concepts/Contextualized Text Embedding.md +42 -0
  113. package/vault/wiki/concepts/Contractor vs Employee AI Model.md +55 -0
  114. package/vault/wiki/concepts/Dual-Model Agent Architecture.md +65 -0
  115. package/vault/wiki/concepts/Late Chunking vs Early Chunking.md +43 -0
  116. package/vault/wiki/concepts/Majority Vote Ensembling.md +68 -0
  117. package/vault/wiki/concepts/Meta-Harness.md +16 -0
  118. package/vault/wiki/concepts/Multi-Agent AI Coding Architecture.md +75 -0
  119. package/vault/wiki/concepts/Prompt Enhancement.md +90 -0
  120. package/vault/wiki/concepts/Prompt Renderer.md +89 -0
  121. package/vault/wiki/concepts/Semantic Codebase Indexing.md +67 -0
  122. package/vault/wiki/concepts/additive-config-hierarchy.md +16 -0
  123. package/vault/wiki/concepts/agent-artifacts-verifiable-deliverables.md +71 -0
  124. package/vault/wiki/concepts/agent-browser-browser-automation.md +99 -0
  125. package/vault/wiki/concepts/agent-codebase-interface.md +43 -0
  126. package/vault/wiki/concepts/agent-harness-architecture.md +67 -0
  127. package/vault/wiki/concepts/agent-loop-detection-patterns.md +133 -0
  128. package/vault/wiki/concepts/agent-search-enforcement.md +126 -0
  129. package/vault/wiki/concepts/agent-skills-ecosystem.md +74 -0
  130. package/vault/wiki/concepts/agent-skills-pattern.md +68 -0
  131. package/vault/wiki/concepts/agentic-harness-context-enforcement.md +91 -0
  132. package/vault/wiki/concepts/agentic-harness.md +34 -0
  133. package/vault/wiki/concepts/agentic-orchestration-pipeline.md +56 -0
  134. package/vault/wiki/concepts/agentic-search-no-embeddings.md +18 -0
  135. package/vault/wiki/concepts/anthropic-context-engineering.md +13 -0
  136. package/vault/wiki/concepts/antigravity-agent-first-architecture.md +61 -0
  137. package/vault/wiki/concepts/ast-compression.md +19 -0
  138. package/vault/wiki/concepts/ast-truncation.md +66 -0
  139. package/vault/wiki/concepts/barrel-files.md +37 -0
  140. package/vault/wiki/concepts/browser-harness-agent.md +41 -0
  141. package/vault/wiki/concepts/browser-subagent-visual-verification.md +82 -0
  142. package/vault/wiki/concepts/codebase-intelligence-ecosystem-comparison.md +192 -0
  143. package/vault/wiki/concepts/codebase-intelligence-harness-integration.md +161 -0
  144. package/vault/wiki/concepts/codebase-to-context-ingestion.md +46 -0
  145. package/vault/wiki/concepts/codex-harness-innovations.md +147 -0
  146. package/vault/wiki/concepts/consensus-debate-flow.md +17 -0
  147. package/vault/wiki/concepts/consensus-debate.md +206 -0
  148. package/vault/wiki/concepts/content-addressed-spec-identity.md +166 -0
  149. package/vault/wiki/concepts/context-anxiety.md +57 -0
  150. package/vault/wiki/concepts/context-compression-techniques.md +19 -0
  151. package/vault/wiki/concepts/context-continuity.md +22 -0
  152. package/vault/wiki/concepts/context-drift-in-agents.md +106 -0
  153. package/vault/wiki/concepts/context-engineering.md +62 -0
  154. package/vault/wiki/concepts/context-folding.md +67 -0
  155. package/vault/wiki/concepts/context-mode.md +38 -0
  156. package/vault/wiki/concepts/cursor-harness-innovations.md +107 -0
  157. package/vault/wiki/concepts/deterministic-session-compaction.md +79 -0
  158. package/vault/wiki/concepts/drift-detection-unified.md +296 -0
  159. package/vault/wiki/concepts/execution-feedback-loop.md +46 -0
  160. package/vault/wiki/concepts/feedforward-feedback-harness.md +60 -0
  161. package/vault/wiki/concepts/five-root-cause-metrics-sentrux.md +40 -0
  162. package/vault/wiki/concepts/fork-safe-spec-storage.md +89 -0
  163. package/vault/wiki/concepts/fts5-sandbox.md +19 -0
  164. package/vault/wiki/concepts/fuzzy-edit-matching.md +71 -0
  165. package/vault/wiki/concepts/gemini-cli-architecture.md +104 -0
  166. package/vault/wiki/concepts/generator-evaluator-architecture.md +64 -0
  167. package/vault/wiki/concepts/guardian-agent-pattern.md +67 -0
  168. package/vault/wiki/concepts/harness-configuration-layers.md +89 -0
  169. package/vault/wiki/concepts/harness-control-frameworks.md +155 -0
  170. package/vault/wiki/concepts/harness-engineering-first-principles.md +90 -0
  171. package/vault/wiki/concepts/harness-h-formalism.md +53 -0
  172. package/vault/wiki/concepts/hybrid-code-search.md +61 -0
  173. package/vault/wiki/concepts/inline-post-edit-validation.md +112 -0
  174. package/vault/wiki/concepts/legendary-engineering-patterns-harness.md +110 -0
  175. package/vault/wiki/concepts/lifecycle-hooks.md +94 -0
  176. package/vault/wiki/concepts/mcp-tool-routing.md +102 -0
  177. package/vault/wiki/concepts/memory-system-of-record-vs-ephemeral-cache.md +47 -0
  178. package/vault/wiki/concepts/meta-agent-context-pruning.md +151 -0
  179. package/vault/wiki/concepts/model-adaptive-harness.md +122 -0
  180. package/vault/wiki/concepts/model-routing-agents.md +101 -0
  181. package/vault/wiki/concepts/monorepo-architecture.md +45 -0
  182. package/vault/wiki/concepts/multi-agent-specialization.md +61 -0
  183. package/vault/wiki/concepts/permission-subsystem.md +16 -0
  184. package/vault/wiki/concepts/pi-messenger-analysis.md +243 -0
  185. package/vault/wiki/concepts/pi-vscode-extension-landscape.md +37 -0
  186. package/vault/wiki/concepts/policy-engine-pattern.md +78 -0
  187. package/vault/wiki/concepts/progressive-disclosure-agents.md +53 -0
  188. package/vault/wiki/concepts/progressive-skill-disclosure.md +17 -0
  189. package/vault/wiki/concepts/provider-native-prompting.md +203 -0
  190. package/vault/wiki/concepts/quality-signal-sentrux.md +37 -0
  191. package/vault/wiki/concepts/repo-map-ranking.md +42 -0
  192. package/vault/wiki/concepts/result-monad-error-handling.md +47 -0
  193. package/vault/wiki/concepts/safety-defense-in-depth.md +83 -0
  194. package/vault/wiki/concepts/sandbox-os-enforcement.md +18 -0
  195. package/vault/wiki/concepts/selective-debate-routing.md +70 -0
  196. package/vault/wiki/concepts/self-evolving-harness.md +60 -0
  197. package/vault/wiki/concepts/sentrux-mcp-integration.md +36 -0
  198. package/vault/wiki/concepts/sentrux-rules-engine.md +49 -0
  199. package/vault/wiki/concepts/shell-pattern-compression.md +24 -0
  200. package/vault/wiki/concepts/skill-first-architecture.md +166 -0
  201. package/vault/wiki/concepts/structured-compaction.md +78 -0
  202. package/vault/wiki/concepts/subagent-orchestration.md +17 -0
  203. package/vault/wiki/concepts/subagent-worktree-isolation.md +68 -0
  204. package/vault/wiki/concepts/superpowers-methodology.md +78 -0
  205. package/vault/wiki/concepts/think-in-code.md +73 -0
  206. package/vault/wiki/concepts/ts-execution-layer.md +100 -0
  207. package/vault/wiki/concepts/typescript-strict-mode.md +37 -0
  208. package/vault/wiki/concepts/vcc-conversation-compaction-for-pi.md +51 -0
  209. package/vault/wiki/concepts/verification-drift-detection.md +19 -0
  210. package/vault/wiki/consensus/consensus-records.md +58 -0
  211. package/vault/wiki/decisions/2026-04-30-pi-lean-ctx-native.md +122 -0
  212. package/vault/wiki/decisions/adr-008.md +40 -0
  213. package/vault/wiki/decisions/adr-009.md +46 -0
  214. package/vault/wiki/decisions/adr-010.md +55 -0
  215. package/vault/wiki/decisions/adr-011.md +165 -0
  216. package/vault/wiki/decisions/adr-012.md +102 -0
  217. package/vault/wiki/decisions/adr-013.md +59 -0
  218. package/vault/wiki/decisions/adr-014.md +73 -0
  219. package/vault/wiki/decisions/adr-015.md +81 -0
  220. package/vault/wiki/decisions/adr-016.md +91 -0
  221. package/vault/wiki/decisions/adr-017.md +79 -0
  222. package/vault/wiki/decisions/adr-018.md +100 -0
  223. package/vault/wiki/decisions/adr-019.md +75 -0
  224. package/vault/wiki/decisions/adr-020.md +106 -0
  225. package/vault/wiki/decisions/adr-021.md +86 -0
  226. package/vault/wiki/decisions/adr-022.md +113 -0
  227. package/vault/wiki/decisions/adr-023.md +113 -0
  228. package/vault/wiki/decisions/adr-024.md +73 -0
  229. package/vault/wiki/decisions/adr-025.md +130 -0
  230. package/vault/wiki/decisions/adr-026.md +56 -0
  231. package/vault/wiki/decisions/colocate-wiki.md +34 -0
  232. package/vault/wiki/entities/Anders Hejlsberg.md +29 -0
  233. package/vault/wiki/entities/Anthropic.md +17 -0
  234. package/vault/wiki/entities/Augment Code.md +49 -0
  235. package/vault/wiki/entities/Bjarne Stroustrup.md +26 -0
  236. package/vault/wiki/entities/Bolt.new (StackBlitz).md +39 -0
  237. package/vault/wiki/entities/Boris Cherny.md +11 -0
  238. package/vault/wiki/entities/Claude Code.md +19 -0
  239. package/vault/wiki/entities/Dennis Ritchie.md +26 -0
  240. package/vault/wiki/entities/Emergent Labs.md +32 -0
  241. package/vault/wiki/entities/Google Cloud.md +16 -0
  242. package/vault/wiki/entities/Guido van Rossum.md +28 -0
  243. package/vault/wiki/entities/Ken Thompson.md +28 -0
  244. package/vault/wiki/entities/Lee et al.md +16 -0
  245. package/vault/wiki/entities/Linus Torvalds.md +28 -0
  246. package/vault/wiki/entities/Lovable (company).md +40 -0
  247. package/vault/wiki/entities/Martin Fowler.md +16 -0
  248. package/vault/wiki/entities/Meng et al.md +16 -0
  249. package/vault/wiki/entities/OpenAI.md +16 -0
  250. package/vault/wiki/entities/Rocket.new.md +38 -0
  251. package/vault/wiki/entities/VILA-Lab.md +15 -0
  252. package/vault/wiki/entities/autodev-codebase.md +18 -0
  253. package/vault/wiki/entities/ck-tool.md +59 -0
  254. package/vault/wiki/entities/codesearch.md +18 -0
  255. package/vault/wiki/entities/disler-indydevdan.md +33 -0
  256. package/vault/wiki/entities/gsd-get-shit-done.md +56 -0
  257. package/vault/wiki/entities/javascript-runtimes.md +48 -0
  258. package/vault/wiki/entities/jesse-vincent.md +38 -0
  259. package/vault/wiki/entities/lean-ctx.md +32 -0
  260. package/vault/wiki/entities/opendev.md +41 -0
  261. package/vault/wiki/entities/ops-codegraph-tool.md +18 -0
  262. package/vault/wiki/entities/pi-coding-agent.md +53 -0
  263. package/vault/wiki/entities/sentrux.md +54 -0
  264. package/vault/wiki/entities/vgrep-tool.md +57 -0
  265. package/vault/wiki/entities/vitest.md +41 -0
  266. package/vault/wiki/flows/harness-wiki-pipeline.md +204 -0
  267. package/vault/wiki/hot.md +932 -0
  268. package/vault/wiki/index.md +437 -0
  269. package/vault/wiki/log.md +418 -0
  270. package/vault/wiki/meta/dashboard.md +30 -0
  271. package/vault/wiki/meta/lint-report-2026-04-30.md +86 -0
  272. package/vault/wiki/meta/lint-report-2026-05-02.md +251 -0
  273. package/vault/wiki/meta/overview.canvas +43 -0
  274. package/vault/wiki/modules/adversarial-verification.md +57 -0
  275. package/vault/wiki/modules/automated-observability.md +54 -0
  276. package/vault/wiki/modules/bench.md +20 -0
  277. package/vault/wiki/modules/extensions.md +23 -0
  278. package/vault/wiki/modules/grounding-checkpoints.md +62 -0
  279. package/vault/wiki/modules/harness-implementation-plan.md +345 -0
  280. package/vault/wiki/modules/harness-wiki-skill-mapping.md +135 -0
  281. package/vault/wiki/modules/harness.md +86 -0
  282. package/vault/wiki/modules/persistent-memory.md +85 -0
  283. package/vault/wiki/modules/schema-orchestration.md +68 -0
  284. package/vault/wiki/modules/skills.md +27 -0
  285. package/vault/wiki/modules/spec-hardening.md +58 -0
  286. package/vault/wiki/modules/structured-planning.md +53 -0
  287. package/vault/wiki/modules/think-in-code-enforcement.md +153 -0
  288. package/vault/wiki/modules/wiki-query-interface.md +64 -0
  289. package/vault/wiki/overview.md +51 -0
  290. package/vault/wiki/questions/Research-pi-vs-claude-code-agentic-orchestration-pipeline.md +87 -0
  291. package/vault/wiki/questions/Research-sentrux-dev.md +123 -0
  292. package/vault/wiki/questions/Research-superpowers-skill-for-agentic-coding-agents.md +164 -0
  293. package/vault/wiki/questions/Research: Augment Code Context Engine.md +244 -0
  294. package/vault/wiki/questions/Research: Automating Software Engineering - Lovable, Bolt, Emergent, Rocket.md +112 -0
  295. package/vault/wiki/questions/Research: Claude Code State-of-the-Art Harness Improvements.md +209 -0
  296. package/vault/wiki/questions/Research: Codex State-of-the-Art Harness Improvements.md +99 -0
  297. package/vault/wiki/questions/Research: Engineering Workflows of Legendary Programmers and AI Harness Mapping.md +107 -0
  298. package/vault/wiki/questions/Research: Fallow Codebase Intelligence Harness Integration.md +72 -0
  299. package/vault/wiki/questions/Research: Gemini CLI SOTA Harness Integration.md +166 -0
  300. package/vault/wiki/questions/Research: GitHub Issues as Harness Spec Storage.md +188 -0
  301. package/vault/wiki/questions/Research: Google Antigravity Harness Integration.md +120 -0
  302. package/vault/wiki/questions/Research: Meta-Agent Context Drift Detection.md +236 -0
  303. package/vault/wiki/questions/Research: Model-Adaptive Agent Harness Design.md +95 -0
  304. package/vault/wiki/questions/Research: Model-Specific Prompting Guides.md +165 -0
  305. package/vault/wiki/questions/Research: Prompt Renderer for Multi-Model Agent Harness.md +216 -0
  306. package/vault/wiki/questions/Research: Skill-First Harness Architecture.md +91 -0
  307. package/vault/wiki/questions/Research: TypeScript Best Practices and Codebase Structure.md +88 -0
  308. package/vault/wiki/questions/Research: TypeScript Execution Layer for Agent Tool Calling.md +81 -0
  309. package/vault/wiki/questions/Research: claude-mem over Obsidian for Harness Layer.md +71 -0
  310. package/vault/wiki/questions/Research: claude-mem over obsidian wiki as the knowledge base for our agentic harness pipeline. think from first principles. does this replace or complement our current setup? no hard feelings about previous decisions. gimme accurate points.md +80 -0
  311. package/vault/wiki/questions/Research: context-mode vs lean-ctx.md +72 -0
  312. package/vault/wiki/questions/Research: cursor.sh Harness Innovations.md +92 -0
  313. package/vault/wiki/questions/Research: executor.sh Harness Integration.md +170 -0
  314. package/vault/wiki/questions/Research: how GSD fits into our coding harness setup.md +97 -0
  315. package/vault/wiki/questions/Research: how claude-mem fits into our workflow. and whether it should replace obsidian in the codebase. no hard feelings about previous actions, rethink from first principles always.md +80 -0
  316. package/vault/wiki/questions/Research: pi-vcc.md +113 -0
  317. package/vault/wiki/questions/Research: semantic code search tools.md +69 -0
  318. package/vault/wiki/questions/Research: vcc extension for pi coding agent.md +73 -0
  319. package/vault/wiki/questions/how-to-enable-semantic-code-search-now.md +111 -0
  320. package/vault/wiki/questions/mvp-implementation-blueprint.md +552 -0
  321. package/vault/wiki/questions/research-agent-first-codebase-exploration.md +199 -0
  322. package/vault/wiki/questions/research-agentic-coding-harness-latest-papers.md +142 -0
  323. package/vault/wiki/questions/research-gitingest-gitreverse-integration.md +100 -0
  324. package/vault/wiki/questions/research-wozcode-token-reduction.md +67 -0
  325. package/vault/wiki/questions/resolved-context-pruning-inplace-vs-restart.md +95 -0
  326. package/vault/wiki/questions/resolved-context-window-economics.md +167 -0
  327. package/vault/wiki/questions/resolved-imad-debate-gating-transfer.md +126 -0
  328. package/vault/wiki/questions/resolved-mcp-tool-preference.md +112 -0
  329. package/vault/wiki/questions/resolved-small-model-meta-agents.md +107 -0
  330. package/vault/wiki/questions/resolved-treesitter-dynamic-languages.md +95 -0
  331. package/vault/wiki/sources/Auggie Context MCP Server.md +63 -0
  332. package/vault/wiki/sources/Augment Code Codacy AI Giants.md +61 -0
  333. package/vault/wiki/sources/Augment Code MCP SiliconAngle.md +49 -0
  334. package/vault/wiki/sources/Augment Code WorkOS ERC 2025.md +55 -0
  335. package/vault/wiki/sources/Augment Context Engine Official.md +71 -0
  336. package/vault/wiki/sources/Augment SWE-bench Agent GitHub.md +74 -0
  337. package/vault/wiki/sources/Augment SWE-bench Pro Blog.md +58 -0
  338. package/vault/wiki/sources/Source: AgentBus Jinja2 Prompt Pipelines.md +75 -0
  339. package/vault/wiki/sources/Source: Arxiv /342/200/224 Don't Break the Cache.md" +85 -0
  340. package/vault/wiki/sources/Source: Augment - Harness Engineering for AI Coding Agents.md +58 -0
  341. package/vault/wiki/sources/Source: Blake Crosley Agent Architecture Guide.md +100 -0
  342. package/vault/wiki/sources/Source: Bolt.new Architecture & Case Study.md +75 -0
  343. package/vault/wiki/sources/Source: Build-Time Prompt Compilation Architecture.md +107 -0
  344. package/vault/wiki/sources/Source: Claude API Agent Skills Overview.md +70 -0
  345. package/vault/wiki/sources/Source: Gemini CLI Changelogs.md +88 -0
  346. package/vault/wiki/sources/Source: Google Blog - Gemini CLI Announcement.md +57 -0
  347. package/vault/wiki/sources/Source: Google Gemini CLI Architecture Docs.md +53 -0
  348. package/vault/wiki/sources/Source: LangChain - Anatomy of Agent Harness.md +65 -0
  349. package/vault/wiki/sources/Source: Lovable Architecture & Clone Analysis.md +83 -0
  350. package/vault/wiki/sources/Source: Martin Fowler - Harness Engineering.md +70 -0
  351. package/vault/wiki/sources/Source: OpenAI Harness Engineering Five Principles.md +58 -0
  352. package/vault/wiki/sources/Source: OpenAI Harness Engineering /342/200/224 0 Lines of Human Code.md" +101 -0
  353. package/vault/wiki/sources/Source: OpenDev /342/200/224 Building AI Coding Agents for the Terminal.md" +100 -0
  354. package/vault/wiki/sources/Source: Render AI Coding Agents Benchmark 2025.md +53 -0
  355. package/vault/wiki/sources/Source: Rocket.new /342/200/224 Vibe Solutioning Platform.md" +70 -0
  356. package/vault/wiki/sources/Source: SwirlAI Agent Skills Progressive Disclosure.md +71 -0
  357. package/vault/wiki/sources/Source: TianPan Prompt Caching Architecture.md +89 -0
  358. package/vault/wiki/sources/Source: Vercel Labs agent-browser.md +155 -0
  359. package/vault/wiki/sources/Source: browser-harness CDP Harness.md +126 -0
  360. package/vault/wiki/sources/agent-drift-academic-paper.md +79 -0
  361. package/vault/wiki/sources/aider-repomap-tree-sitter.md +42 -0
  362. package/vault/wiki/sources/anthropic-compaction-api.md +58 -0
  363. package/vault/wiki/sources/anthropic-effective-harnesses.md +42 -0
  364. package/vault/wiki/sources/anthropic-prompt-best-practices.md +100 -0
  365. package/vault/wiki/sources/anthropic2026-harness-design.md +63 -0
  366. package/vault/wiki/sources/barrel-files-tkdodo.md +38 -0
  367. package/vault/wiki/sources/birth-of-unix-kernighan-interview.md +57 -0
  368. package/vault/wiki/sources/bockeler2026-harness-engineering.md +69 -0
  369. package/vault/wiki/sources/cast-code-chunking-paper.md +50 -0
  370. package/vault/wiki/sources/ck-semantic-search.md +78 -0
  371. package/vault/wiki/sources/claude-code-architecture-karaxai-2026.md +71 -0
  372. package/vault/wiki/sources/claude-code-architecture-qubytes-2026.md +50 -0
  373. package/vault/wiki/sources/claude-code-architecture-vila-lab-2026.md +64 -0
  374. package/vault/wiki/sources/claude-code-security-architecture-penligent-2026.md +70 -0
  375. package/vault/wiki/sources/claude-context-editing-docs.md +13 -0
  376. package/vault/wiki/sources/cloudflare-codemode.md +63 -0
  377. package/vault/wiki/sources/code-chunk-library-supermemory.md +63 -0
  378. package/vault/wiki/sources/codeact-apple-2024.md +62 -0
  379. package/vault/wiki/sources/codex-dsc-rfc-8573.md +41 -0
  380. package/vault/wiki/sources/codex-open-source-agent-2026.md +110 -0
  381. package/vault/wiki/sources/coir-code-retrieval-benchmark.md +51 -0
  382. package/vault/wiki/sources/colinmcnamara-context-optimization-codemode.md +48 -0
  383. package/vault/wiki/sources/context-folding-paper.md +61 -0
  384. package/vault/wiki/sources/context-mode-website.md +63 -0
  385. package/vault/wiki/sources/cursor-agent-best-practices-2026.md +62 -0
  386. package/vault/wiki/sources/cursor-fork-29b-2025.md +50 -0
  387. package/vault/wiki/sources/cursor-harness-april-2026.md +76 -0
  388. package/vault/wiki/sources/cursor-instant-apply-2024.md +45 -0
  389. package/vault/wiki/sources/cursor-shadow-workspace-2024.md +52 -0
  390. package/vault/wiki/sources/cursor-shipped-coding-agent-2026.md +53 -0
  391. package/vault/wiki/sources/cursor-vs-antigravity-2026.md +51 -0
  392. package/vault/wiki/sources/disler-pi-vs-claude-code.md +69 -0
  393. package/vault/wiki/sources/distill-deterministic-context-compression.md +53 -0
  394. package/vault/wiki/sources/embedding-models-benchmark-supermemory-2025.md +48 -0
  395. package/vault/wiki/sources/executor-rhyssullivan.md +122 -0
  396. package/vault/wiki/sources/fallow-rs-codebase-intelligence.md +125 -0
  397. package/vault/wiki/sources/fan2025-imad.md +60 -0
  398. package/vault/wiki/sources/forgecode-gpt5-agent-improvements.md +63 -0
  399. package/vault/wiki/sources/gemini-3-prompting-guide.md +78 -0
  400. package/vault/wiki/sources/gh-cli-sub-issue-rfc.md +50 -0
  401. package/vault/wiki/sources/gh-sub-issue-extension.md +72 -0
  402. package/vault/wiki/sources/github-fork-issues-discussion.md +44 -0
  403. package/vault/wiki/sources/github-issue-dependencies-docs.md +49 -0
  404. package/vault/wiki/sources/github-sub-issues-docs.md +51 -0
  405. package/vault/wiki/sources/gitingest.md +91 -0
  406. package/vault/wiki/sources/gitreverse.md +63 -0
  407. package/vault/wiki/sources/google-antigravity-official-blog.md +47 -0
  408. package/vault/wiki/sources/google-antigravity-wikipedia.md +53 -0
  409. package/vault/wiki/sources/gsd-codecentric-deep-dive.md +57 -0
  410. package/vault/wiki/sources/gsd-github-repo.md +51 -0
  411. package/vault/wiki/sources/gsd-hn-discussion.md +59 -0
  412. package/vault/wiki/sources/guido-python-design-philosophy.md +56 -0
  413. package/vault/wiki/sources/hejlsberg-7-learnings.md +48 -0
  414. package/vault/wiki/sources/ironclaw-drift-monitor.md +80 -0
  415. package/vault/wiki/sources/langsight-loop-detection.md +80 -0
  416. package/vault/wiki/sources/leanctx-website.md +69 -0
  417. package/vault/wiki/sources/lee2026-meta-harness.md +59 -0
  418. package/vault/wiki/sources/linux-kernel-coding-workflow.md +50 -0
  419. package/vault/wiki/sources/lou2026-autoharness.md +53 -0
  420. package/vault/wiki/sources/martin-fowler-harness-engineering.md +73 -0
  421. package/vault/wiki/sources/mcp-architecture-docs.md +13 -0
  422. package/vault/wiki/sources/meng2026-agent-harness-survey.md +79 -0
  423. package/vault/wiki/sources/mindstudio-four-agent-types.md +68 -0
  424. package/vault/wiki/sources/ms-chat-history-management.md +13 -0
  425. package/vault/wiki/sources/openai-prompt-guidance.md +104 -0
  426. package/vault/wiki/sources/openclaw-session-pruning.md +13 -0
  427. package/vault/wiki/sources/opencode-dcp.md +13 -0
  428. package/vault/wiki/sources/opendev-arxiv-2603.05344v1.md +79 -0
  429. package/vault/wiki/sources/openhands-platform.md +39 -0
  430. package/vault/wiki/sources/oss-guide-codebase-exploration.md +53 -0
  431. package/vault/wiki/sources/pi-compaction-extensions-ecosystem.md +102 -0
  432. package/vault/wiki/sources/pi-context-prune-github-repo.md +38 -0
  433. package/vault/wiki/sources/pi-mono-compaction-docs.md +38 -0
  434. package/vault/wiki/sources/pi-omni-compact-github-repo.md +50 -0
  435. package/vault/wiki/sources/pi-rtk-optimizer-github-repo.md +45 -0
  436. package/vault/wiki/sources/pi-vcc-github-repo.md +69 -0
  437. package/vault/wiki/sources/pi-vscode-marketplace.md +41 -0
  438. package/vault/wiki/sources/pi-vscode-model-provider-marketplace.md +39 -0
  439. package/vault/wiki/sources/py-tree-sitter.md +13 -0
  440. package/vault/wiki/sources/sentrux-dev-landing.md +40 -0
  441. package/vault/wiki/sources/sentrux-docs-pro-architecture.md +75 -0
  442. package/vault/wiki/sources/sentrux-docs-quality-signal.md +46 -0
  443. package/vault/wiki/sources/sentrux-docs-root-cause-metrics.md +57 -0
  444. package/vault/wiki/sources/sentrux-docs-rules-engine.md +58 -0
  445. package/vault/wiki/sources/sentrux-github-repo.md +56 -0
  446. package/vault/wiki/sources/superpowers-github-repo.md +56 -0
  447. package/vault/wiki/sources/superpowers-release-blog.md +54 -0
  448. package/vault/wiki/sources/superpowers-termdock-analysis.md +45 -0
  449. package/vault/wiki/sources/swe-agent-aci.md +42 -0
  450. package/vault/wiki/sources/swe-bench.md +45 -0
  451. package/vault/wiki/sources/swe-pruner-context-pruning.md +13 -0
  452. package/vault/wiki/sources/think-in-code-blog.md +48 -0
  453. package/vault/wiki/sources/tree-sitter-docs.md +13 -0
  454. package/vault/wiki/sources/ts-best-practices-2025-devto.md +42 -0
  455. package/vault/wiki/sources/ts-folder-structure-mingyang.md +58 -0
  456. package/vault/wiki/sources/ts-monorepo-koerselman.md +44 -0
  457. package/vault/wiki/sources/ts-result-error-handling-kkalamarski.md +52 -0
  458. package/vault/wiki/sources/ts-runtimes-comparison-betterstack.md +42 -0
  459. package/vault/wiki/sources/ts-strict-mode-rishikc.md +43 -0
  460. package/vault/wiki/sources/unix-philosophy.md +48 -0
  461. package/vault/wiki/sources/vectara-chunking-vs-embedding-naacl2025.md +39 -0
  462. package/vault/wiki/sources/vectara-guardian-agents.md +79 -0
  463. package/vault/wiki/sources/vgrep-semantic-search.md +76 -0
  464. package/vault/wiki/sources/vitest-official.md +41 -0
  465. package/vault/wiki/sources/vscode-pi-community-extension.md +40 -0
  466. package/vault/wiki/sources/wozcode.md +79 -0
  467. package/.agents/skills/compress/SKILL.md +0 -111
  468. package/.agents/skills/compress/scripts/__init__.py +0 -9
  469. package/.agents/skills/compress/scripts/__main__.py +0 -3
  470. package/.agents/skills/compress/scripts/benchmark.py +0 -78
  471. package/.agents/skills/compress/scripts/cli.py +0 -73
  472. package/.agents/skills/compress/scripts/compress.py +0 -227
  473. package/.agents/skills/compress/scripts/detect.py +0 -121
  474. package/.agents/skills/compress/scripts/validate.py +0 -189
  475. package/.agents/skills/emil-design-eng/SKILL.md +0 -679
  476. package/.agents/skills/lean-ctx/SKILL.md +0 -149
  477. package/.agents/skills/lean-ctx/scripts/install.sh +0 -95
  478. package/.agents/skills/scrapling-official/LICENSE.txt +0 -28
  479. package/.agents/skills/scrapling-official/SKILL.md +0 -390
  480. package/.agents/skills/scrapling-official/examples/01_fetcher_session.py +0 -26
  481. package/.agents/skills/scrapling-official/examples/02_dynamic_session.py +0 -26
  482. package/.agents/skills/scrapling-official/examples/03_stealthy_session.py +0 -26
  483. package/.agents/skills/scrapling-official/examples/04_spider.py +0 -58
  484. package/.agents/skills/scrapling-official/examples/README.md +0 -45
  485. package/.agents/skills/scrapling-official/references/fetching/choosing.md +0 -78
  486. package/.agents/skills/scrapling-official/references/fetching/dynamic.md +0 -352
  487. package/.agents/skills/scrapling-official/references/fetching/static.md +0 -432
  488. package/.agents/skills/scrapling-official/references/fetching/stealthy.md +0 -255
  489. package/.agents/skills/scrapling-official/references/mcp-server.md +0 -214
  490. package/.agents/skills/scrapling-official/references/migrating_from_beautifulsoup.md +0 -86
  491. package/.agents/skills/scrapling-official/references/parsing/adaptive.md +0 -212
  492. package/.agents/skills/scrapling-official/references/parsing/main_classes.md +0 -586
  493. package/.agents/skills/scrapling-official/references/parsing/selection.md +0 -494
  494. package/.agents/skills/scrapling-official/references/spiders/advanced.md +0 -344
  495. package/.agents/skills/scrapling-official/references/spiders/architecture.md +0 -94
  496. package/.agents/skills/scrapling-official/references/spiders/getting-started.md +0 -164
  497. package/.agents/skills/scrapling-official/references/spiders/proxy-blocking.md +0 -235
  498. package/.agents/skills/scrapling-official/references/spiders/requests-responses.md +0 -196
  499. package/.agents/skills/scrapling-official/references/spiders/sessions.md +0 -205
  500. package/PLAN.md +0 -11
  501. package/extensions/lean-ctx-enforce.ts +0 -166
  502. package/skills-lock.json +0 -35
  503. package/wiki/README.md +0 -19
  504. package/wiki/decisions/0001-establish-project-wiki-and-decision-record-format.md +0 -25
  505. package/wiki/decisions/0002-add-project-banner-to-readme.md +0 -26
  506. package/wiki/decisions/0003-remove-redundant-readme-title-heading.md +0 -26
  507. package/wiki/decisions/0004-publish-package-to-npm-as-ultimate-pi.md +0 -26
  508. package/wiki/decisions/0005-automate-npm-publish-with-github-actions.md +0 -27
  509. package/wiki/decisions/0006-switch-to-npm-trusted-publishing.md +0 -26
  510. package/wiki/decisions/0007-use-absolute-banner-url-for-npm-readme-rendering.md +0 -26
  511. package/wiki/decisions/0008-rename-banner-asset-for-cache-busting.md +0 -26
  512. package/wiki/decisions/0009-force-oidc-path-by-clearing-node-auth-token-in-publish-step.md +0 -25
  513. package/wiki/decisions/0010-simplify-setup-node-for-npm-trusted-publishing.md +0 -26
  514. package/wiki/decisions/0011-add-noop-workflow-change-to-force-fresh-publish-run.md +0 -25
  515. package/wiki/decisions/0012-align-workflow-runtime-with-npm-trusted-publishing-requirements.md +0 -26
  516. package/wiki/decisions/0013-add-package-repository-url-for-provenance-validation.md +0 -25
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: source
3
+ status: stub
4
+ created: 2026-05-02
5
+ updated: 2026-05-02
6
+ tags: [source, external-doc]
7
+ ---
8
+
9
+ # OpenClaw Session Pruning
10
+
11
+ Session pruning implementation from OpenClaw. Uses in-place context clearing to maintain agent performance across long sessions.
12
+
13
+ Referenced in: [[resolved-context-pruning-inplace-vs-restart]]
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: source
3
+ status: stub
4
+ created: 2026-05-02
5
+ updated: 2026-05-02
6
+ tags: [source, external-doc]
7
+ ---
8
+
9
+ # OpenCode DCP
10
+
11
+ Dynamic Context Pruning system from OpenCode. Implements in-place context editing for agent sessions.
12
+
13
+ Referenced in: [[resolved-context-pruning-inplace-vs-restart]]
@@ -0,0 +1,79 @@
1
+ ---
2
+ type: source
3
+ source_type: academic-paper
4
+ author: "Nghi D. Q. Bui (OpenDev)"
5
+ date_published: 2026-03-05
6
+ url: https://arxiv.org/html/2603.05344v1
7
+ confidence: high
8
+ tags:
9
+ - terminal-agents
10
+ - context-engineering
11
+ - agent-architecture
12
+ - safety
13
+ - multi-model
14
+ key_claims:
15
+ - "OpenDev is the first comprehensive technical report for an open-source, terminal-native, interactive coding agent"
16
+ - "Compound AI system architecture with per-workflow LLM binding (action, thinking, critique, vision, compact models)"
17
+ - "Defense-in-depth safety with 5 independent layers: prompt guardrails, schema gating, runtime approval, tool validation, lifecycle hooks"
18
+ - "Adaptive Context Compaction (ACC) with 5 graduated stages reduces peak context consumption by ~54%"
19
+ - "Event-driven system reminders counteract instruction fade-out in long-running sessions"
20
+ - "Dual-agent architecture separating planning from execution via schema-level tool restrictions"
21
+ ---
22
+
23
+ # Building AI Coding Agents for the Terminal: Scaffolding, Harness, Context Engineering, and Lessons Learned
24
+
25
+ arXiv:2603.05344v1 — March 2026. OpenDev technical report by Nghi D. Q. Bui.
26
+
27
+ ## Core Architecture
28
+
29
+ Four-layer system: Entry & UI → Agent → Tool & Context → Persistence.
30
+
31
+ ### Scaffolding vs Harness
32
+ - **Scaffolding**: System prompt compilation, tool schema building, subagent registration — runs once before first prompt
33
+ - **Harness**: Runtime orchestration — tool dispatch, context management, safety enforcement, session persistence
34
+
35
+ ### Compound AI System
36
+ Five model roles with fallback chains:
37
+ 1. **Action model** — primary execution, tool-based reasoning
38
+ 2. **Thinking model** — extended reasoning without tool access (prevents premature action)
39
+ 3. **Critique model** — self-evaluation (Reflexion-inspired, selective)
40
+ 4. **Vision model** — screenshots/images
41
+ 5. **Compact model** — fast summarization during compaction
42
+
43
+ ### Extended ReAct Loop
44
+ Four phases per iteration:
45
+ - **Phase 0**: Staged context management (5 thresholds: 70%→80%→85%→90%→99%)
46
+ - **Phase 1**: Thinking (4 depth levels, HIGH includes self-critique)
47
+ - **Phase 2**: Action (LLM with full tool schemas)
48
+ - **Phase 3**: Decision/dispatch with doom-loop detection (MD5 fingerprinting, 3-repeat threshold)
49
+
50
+ ## Context Engineering Highlights
51
+
52
+ ### Adaptive Context Compaction (ACC)
53
+ Five graduated stages: Warning (70%) → Observation Masking (80%) → Fast Pruning (85%) → Aggressive Masking (90%) → Full Compaction (99%). Each stage applies progressively aggressive reduction.
54
+
55
+ ### System Reminders
56
+ 24 named reminders organized into 6 categories. Injected as `role: user` messages at maximum recency. Governed by guardrail counters (one-shot flags, attempt budgets). Addresses attention-decay where agents violate instructions after 30+ tool calls.
57
+
58
+ ### Dual-Memory Architecture
59
+ - **Episodic memory**: LLM-generated summary of full history (regenerated every 5 messages from full history to prevent drift)
60
+ - **Working memory**: Last 6 exchanges verbatim for operational detail
61
+
62
+ ## Safety Architecture (Defense-in-Depth)
63
+
64
+ 1. **Prompt-Level Guardrails** — security policy in system prompt
65
+ 2. **Schema-Level Tool Restrictions** — plan-mode whitelist, per-subagent allowed_tools
66
+ 3. **Runtime Approval System** — Manual/Semi-Auto/Auto levels, pattern/command/prefix/danger rules
67
+ 4. **Tool-Level Validation** — DANGEROUS_PATTERNS blocklist, stale-read detection, output truncation
68
+ 5. **Lifecycle Hooks** — pre-tool blocking (exit code 2), argument mutation, JSON stdin protocol
69
+
70
+ Key insight: "Make unsafe tools invisible, not blocked" — removing tools from schema is more robust than runtime permission checks.
71
+
72
+ ## Lessons for Our Harness
73
+
74
+ - Separate thinking from action (tool-free thinking phase produces better reasoning)
75
+ - Inject reminders at decision points, not upfront (use `role: user`)
76
+ - Treat context as a budget with graduated reduction (not binary emergency compaction)
77
+ - Schema gating > runtime permission checks for safety
78
+ - Design tools to absorb LLM imprecision (9-pass fuzzy edit matching chain)
79
+ - Bound every resource that grows with session length (iteration caps, nudge budgets, undo history)
@@ -0,0 +1,39 @@
1
+ ---
2
+ type: source
3
+ source_type: paper
4
+ title: "OpenHands: An Open Platform for AI Software Developers as Generalist Agents"
5
+ author: "Xingyao Wang et al."
6
+ date_published: 2024-07-24
7
+ url: "https://arxiv.org/abs/2407.16741"
8
+ confidence: high
9
+ key_claims:
10
+ - "Platform for AI agents that interact like human developers: write code, use CLI, browse web"
11
+ - "Supports sandboxed code execution, multi-agent coordination, and evaluation benchmarks"
12
+ - "Evaluated on 15+ tasks including SWE-bench and WebArena"
13
+ - "Community project with 2.1K+ contributions from 188+ contributors"
14
+ - "Accepted at ICLR 2025"
15
+ status: ingested
16
+ tags:
17
+ - agent-platform
18
+ - sandbox
19
+ - multi-agent
20
+ created: 2024-07-24
21
+ updated: 2026-04-30
22
+
23
+ ---# OpenHands: An Open Platform for AI Software Developers as Generalist Agents
24
+
25
+ A platform that provides the infrastructure for AI agents to interact with codebases through the same interfaces humans use: writing code, executing commands, and browsing the web.
26
+
27
+ ## Agent-Codebase Interaction Model
28
+
29
+ OpenHands treats the agent as a developer who:
30
+ - Reads files via commands
31
+ - Writes and edits code
32
+ - Executes code in sandboxed environments
33
+ - Browses documentation and search results
34
+
35
+ This model mirrors the OSS guide's human workflow but automates it. The platform handles the infrastructure so researchers can focus on agent strategies.
36
+
37
+ ## Relevance
38
+
39
+ OpenHands embodies the "ACI" concept from SWE-agent at platform scale. It shows that the human-centric OSS guide workflow (read, search, edit, test, iterate) maps directly to agent workflows — but agents need the infrastructure to execute these steps reliably.
@@ -0,0 +1,53 @@
1
+ ---
2
+ type: source
3
+ source_type: blog
4
+ title: "General Guide For Exploring Large Open Source Codebases"
5
+ author: "Parth Parikh, Kishore Ganesh, Chris Ewald, Cory Massaro, Makrand Rajagopal, Sarthak Kundra"
6
+ date_published: 2021
7
+ url: "https://pncnmnp.github.io/blogs/oss-guide.html"
8
+ confidence: high
9
+ key_claims:
10
+ - "Human contributors should use a project before contributing to understand its breadth"
11
+ - "Earliest commits reveal the core architecture and initial goals"
12
+ - "Test cases are the best form of documentation for understanding expected behavior"
13
+ - "Don't try to understand the whole codebase; narrow scope to relevant subsystem"
14
+ - "Paper Cut Principle: many small fixes across the codebase builds deep understanding over time"
15
+ - "Reproduce the bug before planning a fix; write a failing test"
16
+ - "Structured theorizing with creative hypothesis generation and verification"
17
+ - "Use debugging, logging, and profilers in addition to print statements"
18
+ - "Feedback from maintainers and rubber-duck debugging are effective"
19
+ status: ingested
20
+ tags:
21
+ - codebase-exploration
22
+ - open-source
23
+ - human-guide
24
+ created: 2026-04-30
25
+ updated: 2026-04-30
26
+
27
+ ---# General Guide For Exploring Large Open Source Codebases
28
+
29
+ A guide created in Fall 2020 for MLH Fellows on how to explore and contribute to large open-source codebases. The guide covers the full lifecycle: choosing a project, getting started, discovering issues, planning, coding, and claiming issues.
30
+
31
+ ## Key Sections
32
+
33
+ ### Getting Started
34
+ - **Use it**: Build something with the project to understand its breadth
35
+ - **Earliest commits**: Initial commits contain the core architecture and goals
36
+ - **Test cases**: Tests are the best documentation — shows how authors expect things to work
37
+ - **Tools**: UML diagrams, pyreverse for class diagrams, call graphs for runtime visualization
38
+ - **Git log trick**: `git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10` to find most-edited files (80/20 rule)
39
+ - **Searching**: grep, ctags integrated with vim, GitHub's `/` search
40
+
41
+ ### Planning
42
+ - Use the issue description fully — maintainers often identify affected areas
43
+ - Don't try to understand the whole codebase — scope down to the relevant subsystem
44
+ - **Paper Cut Principle**: many small fixes across the codebase builds mastery
45
+ - Figure out how your part fits in; treat everything else as a black box
46
+ - Reproduce the issue before planning
47
+ - Structured theorizing: brainstorm causes, verify each
48
+
49
+ ### Coding
50
+ - Feedback from mentors/maintainers — rubber duck debugging works
51
+ - Debugging: step through with gdb/pdb, use data breakpoints
52
+ - Logging and profilers for non-linear, multithreaded, or destructive programs
53
+ - "Hack it, then get it right" — proof of concept first, robust later
@@ -0,0 +1,102 @@
1
+ ---
2
+ type: source
3
+ source_type: ecosystem-analysis
4
+ title: "Pi Compaction Extensions Ecosystem (2026)"
5
+ author: "Multiple authors"
6
+ date_published: 2026-04-25
7
+ date_accessed: 2026-05-05
8
+ url: "https://www.npmjs.com/search?q=pi%20compaction"
9
+ confidence: medium
10
+ tags:
11
+ - pi-agent
12
+ - compaction
13
+ - extensions
14
+ - ecosystem
15
+ key_claims:
16
+ - "At least 7 compaction-related extensions exist for Pi as of May 2026"
17
+ - "pi-vcc: deterministic algorithmic compaction + recall (only zero-LLM option)"
18
+ - "pi-model-aware-compaction: per-model context threshold triggers"
19
+ - "pi-custom-compaction: swap compaction model/template, fallback chains"
20
+ - "pi-agentic-compaction: virtual filesystem + sandboxed bash/jq approach"
21
+ - "pi-omni-compact: large-context model (1M+) subprocess for high-fidelity summaries"
22
+ - "pi-context-prune: tool-call batch summarization with original preservation"
23
+ - "pi-rtk-optimizer: upstream token reduction via command rewriting + output compaction"
24
+ - "Pi ecosystem has 2,808+ indexed resources and 1,183+ extensions (April 2026)"
25
+ ---
26
+
27
+ # Pi Compaction Extensions Ecosystem
28
+
29
+ ## Summary
30
+
31
+ As of May 2026, Pi's compaction layer has spawned at least 7 community extensions addressing different failure modes and layers of token management. The Pi ecosystem overall has 2,808+ indexed resources and 1,183+ extensions, with compaction as a critical pain point.
32
+
33
+ ## Extensions
34
+
35
+ ### 1. pi-vcc (sting8k) — Deterministic Algorithmic
36
+ - **Approach**: No-LLM extraction into 5 semantic sections
37
+ - **Differentiator**: Determinism + recall over JSONL lineage
38
+ - **Stars**: 75 | **npm**: @sting8k/pi-vcc | **Version**: v0.3.12
39
+ - **Install**: `pi install npm:@sting8k/pi-vcc`
40
+
41
+ ### 2. pi-model-aware-compaction — Per-Model Thresholds
42
+ - **Approach**: Configurable per-model context-usage thresholds
43
+ - **Differentiator**: Different models get different compaction triggers (wildcard support)
44
+ - **Version**: v0.1.4 (April 2026)
45
+ - **Use case**: Teams using multiple models with different context windows
46
+
47
+ ### 3. pi-custom-compaction (nicobailon) — Model/Template Swap
48
+ - **Approach**: Swap the model and prompt template Pi uses for compaction
49
+ - **Differentiator**: Fallback model chains, configurable raw context retention (tokens or %)
50
+ - **Version**: v0.2.5 (April 2026)
51
+ - **Use case**: Teams wanting to use cheaper/faster models for compaction while keeping LLM approach
52
+
53
+ ### 4. pi-agentic-compaction (laulauland/salemsayed) — Virtual Filesystem
54
+ - **Approach**: Mounts conversation as `/conversation.json`, uses sandboxed bash/jq for extraction
55
+ - **Differentiator**: More efficient for 50K+ token conversations (queries only relevant portions)
56
+ - **Version**: Feb 2026
57
+ - **Use case**: Long conversations where full-context summarization is too expensive
58
+
59
+ ### 5. pi-omni-compact (Whamp) — Large-Context Model
60
+ - **Approach**: Spawns separate Pi subprocess with 1M+ token model to read entire conversation at once
61
+ - **Differentiator**: Highest fidelity summaries — maximizes LLM compute for quality
62
+ - **Version**: v0.1.2
63
+ - **Use case**: When summary quality matters more than cost/speed
64
+ - (Source: [[pi-omni-compact-github-repo]])
65
+
66
+ ### 6. pi-context-prune (championswimmer) — Tool-Call Batch Summarization
67
+ - **Approach**: Summarizes tool-call batches, prunes verbose outputs, preserves originals in session index
68
+ - **Differentiator**: 5 trigger modes + prefix caching integration + on-demand recovery
69
+ - **Use case**: Mid-session tool-call bloat reduction
70
+ - (Source: [[pi-context-prune-github-repo]])
71
+
72
+ ### 7. pi-rtk-optimizer (MasuRii) — Upstream Token Reduction
73
+ - **Approach**: Rewrites bash commands to RTK equivalents + multi-stage output compaction pipeline
74
+ - **Differentiator**: Operates UPSTREAM of conversation — prevents tokens from entering context
75
+ - **Version**: v0.5.3 (April 2026)
76
+ - **Use case**: Reducing tool output tokens before they accumulate
77
+ - (Source: [[pi-rtk-optimizer-github-repo]])
78
+
79
+ ## Competitive Landscape
80
+
81
+ | Extension | LLM Calls | Deterministic | Recall | Layer | Custom Model |
82
+ |-----------|-----------|---------------|--------|-------|-------------|
83
+ | pi-vcc | No | Yes | Yes | Conversation boundary | N/A |
84
+ | model-aware | Yes (default) | No | No | Conversation boundary | No |
85
+ | custom-compaction | Yes (custom) | No | No | Conversation boundary | Yes |
86
+ | agentic-compaction | Yes (sandboxed) | No | No | Conversation boundary | Configurable |
87
+ | omni-compact | Yes (large-ctx) | No | No | Conversation boundary | Yes (1M+ required) |
88
+ | context-prune | Yes | No | Yes (originals) | Tool-call batches | Default model |
89
+ | rtk-optimizer | No | Yes | N/A | Tool output | N/A |
90
+
91
+ ## Three Layers of Token Management
92
+
93
+ The ecosystem reveals a layered architecture for token management:
94
+ 1. **Prevention** (rtk-optimizer): Reduce tokens at tool execution, before they enter conversation
95
+ 2. **Mid-session pruning** (context-prune): Summarize tool-call batches during conversation
96
+ 3. **Boundary compaction** (vcc, model-aware, custom, agentic, omni): Compress full conversation at threshold
97
+
98
+ pi-vcc remains the only fully deterministic conversation compaction option. pi-rtk-optimizer is also deterministic but operates at a different layer (tool output).
99
+
100
+ ## Why This Matters
101
+
102
+ The ecosystem has grown from 4 to 7 extensions in under a month. This validates compaction as the #1 pain point in the Pi ecosystem. The three-layer architecture that has emerged (prevention → pruning → compression) mirrors our harness's approach to context engineering.
@@ -0,0 +1,38 @@
1
+ ---
2
+ type: source
3
+ source_type: github-repo
4
+ title: "pi-context-prune — Tool-Call Batch Summarization"
5
+ author: championswimmer
6
+ date_published: 2026-03-01
7
+ date_accessed: 2026-05-05
8
+ url: "https://github.com/championswimmer/pi-context-prune"
9
+ confidence: medium
10
+ tags:
11
+ - pi-agent
12
+ - compaction
13
+ - extensions
14
+ - context-pruning
15
+ key_claims:
16
+ - "Summarizes tool-call batches and prunes verbose outputs"
17
+ - "Preserves originals in session index for on-demand recovery"
18
+ - "Five trigger modes for flexible compaction timing"
19
+ - "Integrates with prefix caching for improved token efficiency"
20
+ ---
21
+
22
+ # pi-context-prune
23
+
24
+ ## Summary
25
+
26
+ pi-context-prune addresses context bloat by summarizing tool-call batches and pruning verbose outputs while preserving originals in the session index for on-demand recovery. Supports 5 trigger modes and integrates with prefix caching.
27
+
28
+ ## Approach
29
+
30
+ Operates between pi-vcc (full conversation compaction) and pi-rtk-optimizer (tool output compaction). Targets specifically tool-call batches — groups of related tool calls that can be summarized together — rather than the entire conversation or individual tool outputs.
31
+
32
+ ## Key Differentiator
33
+
34
+ Preserves originals for recovery, similar to pi-vcc's recall capability. However, uses LLM summarization for the compression step itself. Prefix caching integration is unique among Pi compaction extensions.
35
+
36
+ ## Relevance to pi-vcc
37
+
38
+ Complementary. pi-context-prune operates on tool-call batches mid-session. pi-vcc operates on full conversation at compaction triggers. Different granularity, different timing.
@@ -0,0 +1,38 @@
1
+ ---
2
+ type: source
3
+ source_type: official-docs
4
+ title: "pi-mono compaction docs"
5
+ author: "badlogic/pi-mono maintainers"
6
+ date_published: 2026-05-05
7
+ date_accessed: 2026-05-05
8
+ url: "https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/docs/compaction.md"
9
+ confidence: high
10
+ tags:
11
+ - pi-agent
12
+ - compaction
13
+ - context-window
14
+ - docs
15
+ key_claims:
16
+ - "Pi core has built-in /compact and auto-compaction with token thresholds"
17
+ - "Auto-compaction preserves recent tokens and summarizes older context"
18
+ - "Compaction settings include enabled, reserveTokens, keepRecentTokens"
19
+ - "pi-vcc can be evaluated as deterministic alternative/override to default flow"
20
+ ---
21
+
22
+ # pi-mono Compaction Documentation
23
+
24
+ ## Summary
25
+
26
+ Pi core already provides native conversation compaction. This matters for `pi-vcc` because it clarifies baseline behavior and where `pi-vcc` adds value: deterministic non-LLM compaction and recall across lineage.
27
+
28
+ ## Key Details
29
+
30
+ - Core command: `/compact`
31
+ - Auto mode: `/autocompact`
32
+ - Trigger model: compaction activates near context limit based on configured token reserve
33
+ - Config knobs: `enabled`, `reserveTokens`, `keepRecentTokens`
34
+ - Scope: compaction and reload behavior in core Pi coding agent
35
+
36
+ ## Why This Matters for Topic
37
+
38
+ `pi-vcc` is not mandatory to get compaction in Pi. It is a specialized replacement/augmentation path focused on determinism, speed, and recall ergonomics.
@@ -0,0 +1,50 @@
1
+ ---
2
+ type: source
3
+ source_type: github-repo
4
+ title: "pi-omni-compact — Large-Context Model Compaction"
5
+ author: Whamp
6
+ date_published: 2026-02-01
7
+ date_accessed: 2026-05-05
8
+ url: "https://github.com/Whamp/pi-omni-compact"
9
+ confidence: medium
10
+ tags:
11
+ - pi-agent
12
+ - compaction
13
+ - extensions
14
+ - large-context
15
+ key_claims:
16
+ - "Replaces default compaction with a large-context model subprocess"
17
+ - "Spawns separate Pi instance using 1M+ token model to read entire conversation"
18
+ - "Hooks session_before_compact and session_before_tree events"
19
+ - "Produces higher-fidelity summaries than default incremental summarization"
20
+ - "v0.1.2, MIT license, 0 dependencies"
21
+ ---
22
+
23
+ # pi-omni-compact
24
+
25
+ ## Summary
26
+
27
+ pi-omni-compact replaces Pi's default compaction by spawning a separate Pi subprocess using a large-context model (1M+ tokens). Instead of incremental summarization, the entire conversation is read at once, producing higher-fidelity summaries.
28
+
29
+ ## How It Works
30
+
31
+ Hooks two Pi events:
32
+ - `session_before_compact` — when context window fills
33
+ - `session_before_tree` — when user abandons a conversation branch
34
+
35
+ For both: analyzes session metadata, serializes conversation, resolves configured model with valid API key, spawns read-only Pi subprocess (with `read`, `grep`, `find`, `ls` tools only).
36
+
37
+ ## Configuration
38
+
39
+ In `settings.json`:
40
+ - `models`: Ordered list of models to try (first with valid API key wins)
41
+ - `debugCompactions`: Save input/output JSON for diagnosis
42
+ - `minSummaryChars`: Minimum summary length (default 100)
43
+
44
+ ## Key Differentiator
45
+
46
+ Takes the opposite approach from pi-vcc: uses MORE compute (large-context model) for HIGHER fidelity, vs pi-vcc's zero-compute deterministic extraction. This is LLM-maximalist compaction vs pi-vcc's LLM-free approach.
47
+
48
+ ## Relevance
49
+
50
+ Represents the strongest competing philosophy to deterministic compaction. If large-context models become cheap enough, this approach may produce better results. However, it has pi-vcc's three failure modes: non-reproducibility, hallucination risk, and API cost.
@@ -0,0 +1,45 @@
1
+ ---
2
+ type: source
3
+ source_type: github-repo
4
+ title: "pi-rtk-optimizer — Token Reduction via Command Rewriting"
5
+ author: MasuRii
6
+ date_published: 2026-03-01
7
+ date_accessed: 2026-05-05
8
+ url: "https://github.com/MasuRii/pi-rtk-optimizer"
9
+ confidence: medium
10
+ tags:
11
+ - pi-agent
12
+ - compaction
13
+ - token-optimization
14
+ - extensions
15
+ key_claims:
16
+ - "Automatically rewrites bash commands to RTK equivalents for token reduction"
17
+ - "Multi-stage output compaction pipeline: ANSI strip, test aggregation, build filtering, git compaction, linter aggregation, smart truncation"
18
+ - "Operates on tool OUTPUT, not conversation history — different layer than pi-vcc"
19
+ - "v0.5.3 (April 2026), MIT license"
20
+ - "Supports command rewrite bypass rules for safety-critical operations"
21
+ ---
22
+
23
+ # pi-rtk-optimizer
24
+
25
+ ## Summary
26
+
27
+ pi-rtk-optimizer is a Pi extension that reduces token consumption by automatically rewriting bash commands to their RTK (Read-Tool-Kit) equivalents and compacting noisy tool output. Unlike pi-vcc (which compresses conversation history), pi-rtk-optimizer operates upstream — reducing tokens at the tool execution layer before they enter the conversation.
28
+
29
+ ## Architecture
30
+
31
+ Two mechanisms:
32
+
33
+ 1. **Command Rewriting**: Intercepts bash tool calls and suggests/applies rewrites across git, filesystem, Rust, JavaScript, Python, Go, containers, and package managers. Includes bypass rules for safety-critical operations.
34
+
35
+ 2. **Output Compaction Pipeline**: Multi-stage processing of tool results — ANSI stripping, test aggregation, build filtering, git compaction, linter aggregation, search grouping, source code filtering, smart truncation, and hard character limits.
36
+
37
+ ## Key Stats
38
+
39
+ - **Version**: v0.5.3 (April 2026)
40
+ - **Install**: `pi install npm:pi-rtk-optimizer`
41
+ - **TUI config**: `/rtk` command for interactive settings and session metrics
42
+
43
+ ## Relevance to pi-vcc
44
+
45
+ pi-rtk-optimizer and pi-vcc are complementary, not competing. rtk-optimizer prevents token waste at the tool layer. pi-vcc compresses accumulated conversation history. Together they address both prevention and compression.
@@ -0,0 +1,69 @@
1
+ ---
2
+ type: source
3
+ source_type: github-repo
4
+ title: "sting8k/pi-vcc"
5
+ author: "Do Anh (sting8k)"
6
+ date_published: 2026-04-24
7
+ date_accessed: 2026-05-05
8
+ url: "https://github.com/sting8k/pi-vcc"
9
+ confidence: high
10
+ tags:
11
+ - pi-agent
12
+ - vcc
13
+ - compaction
14
+ - memory
15
+ - extension
16
+ key_claims:
17
+ - "pi-vcc is algorithmic conversation compactor for Pi, inspired by VCC"
18
+ - "No LLM calls for compaction; deterministic output"
19
+ - "35-99% token reduction on real sessions (99.8% peak on 2.2M char session)"
20
+ - "vcc_recall supports searchable lineage history after compaction"
21
+ - "Config option overrideDefaultCompaction routes /compact and auto-compaction through pi-vcc"
22
+ - "Latest release v0.3.12 (2026-04-25), 75 stars, 606 weekly / 3,299 monthly installs on pi.dev package index"
23
+ - "Tested on 794+ real HuggingFace sessions"
24
+ - "v0.3.8 added long-turn collapsing (keeps 8 most recent tool calls)"
25
+ - "At least 2 community forks exist (ceblan/pi-vcc, mvdirty/pi-vcc)"
26
+ - "Only fully deterministic compaction extension in Pi ecosystem"
27
+ ---
28
+
29
+ # pi-vcc Repository
30
+
31
+ ## Summary
32
+
33
+ pi-vcc is a Pi package/extension for deterministic conversation compaction and recall. It replaces or complements default compaction with algorithmic extraction into 5 semantic sections, then adds recall tooling over session JSONL history. It is the only fully deterministic compaction option in the Pi extension ecosystem.
34
+
35
+ ## Key Details
36
+
37
+ - **Repo**: `sting8k/pi-vcc` (75 stars, 6 forks + 2 community forks)
38
+ - **Latest release**: v0.3.12 (2026-04-25)
39
+ - **npm**: @sting8k/pi-vcc (3,299 monthly / 606 weekly installs shown on pi.dev package index)
40
+ - **Install**: `pi install npm:@sting8k/pi-vcc`
41
+ - **Hook**: `session_before_compact`
42
+ - **Config**: `~/.pi/agent/pi-vcc-config.json` (auto-created on first run)
43
+ - **Override**: `overrideDefaultCompaction: true` to replace default `/compact` path
44
+
45
+ ## Performance Benchmarks
46
+
47
+ - Session A: 997,162 → 7,959 chars (99.2% reduction, 64ms)
48
+ - Session D: 2,258,477 → 4,439 chars (99.8% reduction, 30ms)
49
+ - Tested on 794+ real HuggingFace sessions
50
+ - Compaction latency: 30-470ms, zero API calls
51
+
52
+ ## v0.3.8 Key Changes (April 19, 2026)
53
+
54
+ - `/compact` and auto-compact now run Pi core by default; `overrideDefaultCompaction: true` opts into pi-vcc
55
+ - Long turns collapse older tool calls into `* (N earlier entries omitted)`, keeping 8 most recent — designed for explore/discover loops
56
+ - `[Commits]` section no longer dropped after first compaction
57
+ - Recall note no longer stacks on every compaction
58
+
59
+ ## 5 Semantic Sections
60
+
61
+ 1. Session goal
62
+ 2. Files and changes
63
+ 3. Commits
64
+ 4. Outstanding context
65
+ 5. User preferences
66
+
67
+ ## Competitive Position
68
+
69
+ pi-vcc is the only fully deterministic (no-LLM) compaction extension in Pi's ecosystem. Three other extensions exist (pi-model-aware-compaction, pi-custom-compaction, pi-agentic-compaction) but all use LLM calls. See [[pi-compaction-extensions-ecosystem]].
@@ -0,0 +1,41 @@
1
+ ---
2
+ type: source
3
+ source_type: marketplace-listing
4
+ title: "Pi Coding Agent - Visual Studio Marketplace"
5
+ author: "pi0"
6
+ date_published: 2026-02-26
7
+ date_accessed: 2026-05-05
8
+ url: "https://marketplace.visualstudio.com/items?itemName=pi0.pi-vscode"
9
+ confidence: high
10
+ tags:
11
+ - pi-agent
12
+ - vscode
13
+ - extension
14
+ - bridge
15
+ - chat
16
+ key_claims:
17
+ - "pi0.pi-vscode is the official VS Code extension for Pi Coding Agent"
18
+ - "1,348 installs, version 0.0.9, last updated 2026-04-24"
19
+ - "Supports terminal-first workflow plus @pi chat participant in VS Code Chat"
20
+ - "Ships a VS Code bridge exposing inspection/action tools like vscode_get_editor_state"
21
+ - "Distributed on both VS Code Marketplace and Open VSX"
22
+ ---
23
+
24
+ # Pi Coding Agent VS Code Extension (pi0.pi-vscode)
25
+
26
+ ## Summary
27
+
28
+ This listing documents the official Pi extension for VS Code. It keeps Pi terminal-native while adding direct IDE bridge tools and a chat entry point (`@pi`) inside VS Code Chat. The bridge exposes diagnostics, symbols, references, code actions, file opens, edits, and formatting through VS Code APIs instead of shell-only workflows.
29
+
30
+ ## Key Details
31
+
32
+ - Install count: 1,348
33
+ - Version: 0.0.9
34
+ - Released: 2026-02-26
35
+ - Last updated: 2026-04-24
36
+ - Publisher: pi0
37
+ - Install targets: VS Code and Open VSX
38
+
39
+ ## Why This Matters for Topic
40
+
41
+ For "vcc extension for pi coding agent", this source establishes the main official VS Code integration path. It is not called VCC, but it is likely what users mean when asking for a Pi coding agent extension in VS Code context.
@@ -0,0 +1,39 @@
1
+ ---
2
+ type: source
3
+ source_type: marketplace-listing
4
+ title: "Pi Coding Agent - Language Model Provider"
5
+ author: "tintinweb"
6
+ date_published: 2026-02-12
7
+ date_accessed: 2026-05-05
8
+ url: "https://marketplace.visualstudio.com/items?itemName=tintinweb.vscode-pi-model-chat-provider"
9
+ confidence: high
10
+ tags:
11
+ - pi-agent
12
+ - vscode
13
+ - copilot-chat
14
+ - language-model-provider
15
+ - extension
16
+ key_claims:
17
+ - "Extension exposes Pi models to VS Code's Language Model API (vscode.lm.*)"
18
+ - "350 installs as of 2026-05-05 scrape"
19
+ - "Lets users pick Pi models directly in GitHub Copilot Chat model picker"
20
+ - "Pi runs as separate process with RPC communication and internal tool execution"
21
+ ---
22
+
23
+ # Pi Language Model Provider Extension (tintinweb)
24
+
25
+ ## Summary
26
+
27
+ This extension integrates Pi with VS Code's Language Model Provider API (`vscode.lm.*`). Instead of opening a dedicated Pi terminal UI, it makes Pi models appear in the model picker so Copilot Chat and other LM-enabled extensions can call Pi-backed models.
28
+
29
+ ## Key Details
30
+
31
+ - Install count: 350
32
+ - Marketplace status: Preview
33
+ - Published: 2026-02-12
34
+ - Publisher: tintinweb
35
+ - Main integration target: GitHub Copilot Chat + any `vscode.lm.*` consumer
36
+
37
+ ## Why This Matters for Topic
38
+
39
+ This is one concrete interpretation of "extension for pi coding agent" in VS Code: Pi as a model provider, not just a terminal companion. It expands where Pi can be used inside VS Code extension ecosystem.
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: source
3
+ status: stub
4
+ created: 2026-05-02
5
+ updated: 2026-05-02
6
+ tags: [source, external-doc]
7
+ ---
8
+
9
+ # Py Tree-Sitter
10
+
11
+ Python bindings for Tree-sitter. Enables AST parsing for dynamic languages in Python-based tooling.
12
+
13
+ Referenced in: [[resolved-treesitter-dynamic-languages]]