ultimate-pi 0.1.0 → 0.1.3
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.
- package/.agents/skills/ck-search/SKILL.md +99 -0
- package/.agents/skills/defuddle/SKILL.md +90 -0
- package/.agents/skills/find-skills/SKILL.md +142 -0
- package/.agents/skills/firecrawl/SKILL.md +150 -0
- package/.agents/skills/firecrawl/rules/install.md +82 -0
- package/.agents/skills/firecrawl/rules/security.md +26 -0
- package/.agents/skills/firecrawl-agent/SKILL.md +57 -0
- package/.agents/skills/firecrawl-build-interact/SKILL.md +67 -0
- package/.agents/skills/firecrawl-build-onboarding/SKILL.md +102 -0
- package/.agents/skills/firecrawl-build-onboarding/references/auth-flow.md +39 -0
- package/.agents/skills/firecrawl-build-onboarding/references/project-setup.md +20 -0
- package/.agents/skills/firecrawl-build-onboarding/references/sdk-installation.md +17 -0
- package/.agents/skills/firecrawl-build-scrape/SKILL.md +68 -0
- package/.agents/skills/firecrawl-build-search/SKILL.md +68 -0
- package/.agents/skills/firecrawl-crawl/SKILL.md +58 -0
- package/.agents/skills/firecrawl-download/SKILL.md +69 -0
- package/.agents/skills/firecrawl-interact/SKILL.md +83 -0
- package/.agents/skills/firecrawl-map/SKILL.md +50 -0
- package/.agents/skills/firecrawl-parse/SKILL.md +61 -0
- package/.agents/skills/firecrawl-scrape/SKILL.md +68 -0
- package/.agents/skills/firecrawl-search/SKILL.md +59 -0
- package/.agents/skills/obsidian-bases/SKILL.md +299 -0
- package/.agents/skills/obsidian-markdown/SKILL.md +237 -0
- package/.agents/skills/posthog-analyst/SKILL.md +306 -0
- package/.agents/skills/posthog-analyst/evals/evals.json +23 -0
- package/.agents/skills/wiki/SKILL.md +215 -0
- package/.agents/skills/wiki/references/css-snippets.md +122 -0
- package/.agents/skills/wiki/references/frontmatter.md +107 -0
- package/.agents/skills/wiki/references/git-setup.md +58 -0
- package/.agents/skills/wiki/references/mcp-setup.md +149 -0
- package/.agents/skills/wiki/references/modes.md +259 -0
- package/.agents/skills/wiki/references/plugins.md +96 -0
- package/.agents/skills/wiki/references/rest-api.md +124 -0
- package/.agents/skills/wiki-autoresearch/SKILL.md +211 -0
- package/.agents/skills/wiki-autoresearch/references/program.md +75 -0
- package/.agents/skills/wiki-fold/SKILL.md +204 -0
- package/.agents/skills/wiki-fold/references/fold-template.md +133 -0
- package/.agents/skills/wiki-ingest/SKILL.md +288 -0
- package/.agents/skills/wiki-lint/SKILL.md +183 -0
- package/.agents/skills/wiki-query/SKILL.md +176 -0
- package/.agents/skills/wiki-save/SKILL.md +128 -0
- package/.ckignore +41 -0
- package/.env.example +9 -0
- package/.github/banner-v2.png +0 -0
- package/.github/workflows/lint.yml +33 -0
- package/.github/workflows/publish-github-packages.yml +35 -0
- package/.github/workflows/publish-npm.yml +32 -0
- package/.pi/SYSTEM.md +107 -40
- package/.pi/agents/pi-pi/agent-expert.md +205 -0
- package/.pi/agents/pi-pi/cli-expert.md +47 -0
- package/.pi/agents/pi-pi/config-expert.md +67 -0
- package/.pi/agents/pi-pi/ext-expert.md +53 -0
- package/.pi/agents/pi-pi/keybinding-expert.md +123 -0
- package/.pi/agents/pi-pi/pi-orchestrator.md +103 -0
- package/.pi/agents/pi-pi/prompt-expert.md +83 -0
- package/.pi/agents/pi-pi/skill-expert.md +52 -0
- package/.pi/agents/pi-pi/theme-expert.md +46 -0
- package/.pi/agents/pi-pi/tui-expert.md +100 -0
- package/.pi/agents/rethink.md +140 -0
- package/.pi/agents/wiki-ingest.md +67 -0
- package/.pi/agents/wiki-lint.md +75 -0
- package/.pi/auto-commit.json +20 -0
- package/.pi/extensions/banner.png +0 -0
- package/.pi/extensions/ck-enforce.ts +216 -0
- package/.pi/extensions/custom-footer.ts +308 -0
- package/.pi/extensions/custom-header.ts +116 -0
- package/.pi/extensions/dotenv-loader.ts +170 -0
- package/.pi/internal/cursor-sdk-transcript-parser.ts +59 -0
- package/.pi/model-router.json +95 -0
- package/.pi/npm/.gitignore +2 -0
- package/.pi/prompts/git-sync.md +124 -0
- package/.pi/prompts/harness-setup.md +509 -0
- package/.pi/prompts/save.md +16 -0
- package/.pi/prompts/wiki-autoresearch.md +19 -0
- package/.pi/prompts/wiki.md +23 -0
- package/.pi/providers/cursor-sdk-provider.test.mjs +476 -0
- package/.pi/providers/cursor-sdk-provider.ts +1085 -0
- package/.pi/settings.json +14 -4
- package/.pi/skills/agent-router/SKILL.md +174 -0
- package/.pi/sounds/alert/1-kaching-track.mp3 +0 -0
- package/.pi/sounds/error/1-ksi-wth-track.mp3 +0 -0
- package/.pi/sounds/error/2-smash-track.mp3 +0 -0
- package/.pi/sounds/error/3-buzzer-track.mp3 +0 -0
- package/.pi/sounds/notification/1-soft-notification-track.mp3 +0 -0
- package/.pi/sounds/project-sounds.json +25 -0
- package/.pi/sounds/reminder/1-soft-notification-track.mp3 +0 -0
- package/.pi/sounds/success/1-tada-track.mp3 +0 -0
- package/.pi/sounds/success/2-jobs-done-track.mp3 +0 -0
- package/.pi/sounds/success/3-yay-track.mp3 +0 -0
- package/CONTRIBUTING.md +116 -0
- package/README.md +33 -40
- package/biome.json +34 -0
- package/firecrawl/.env.template +58 -0
- package/firecrawl/README.md +49 -0
- package/firecrawl/docker-compose.yaml +201 -0
- package/firecrawl/searxng/searxng.env +3 -0
- package/firecrawl/searxng/settings.yml +85 -0
- package/lefthook.yml +8 -0
- package/package.json +55 -16
- package/vault/AGENTS.md +37 -0
- package/vault/wiki/_templates/comparison.md +39 -0
- package/vault/wiki/_templates/concept.md +40 -0
- package/vault/wiki/_templates/decision.md +21 -0
- package/vault/wiki/_templates/entity.md +32 -0
- package/vault/wiki/_templates/flow.md +14 -0
- package/vault/wiki/_templates/module.md +18 -0
- package/vault/wiki/_templates/question.md +31 -0
- package/vault/wiki/_templates/source.md +39 -0
- package/vault/wiki/concepts/AST-Aware Code Chunking.md +44 -0
- package/vault/wiki/concepts/Build-Time Prompt Compilation.md +107 -0
- package/vault/wiki/concepts/Context Engine (AI Coding).md +47 -0
- package/vault/wiki/concepts/Context-Aware System Reminders.md +61 -0
- package/vault/wiki/concepts/Contextualized Text Embedding.md +42 -0
- package/vault/wiki/concepts/Contractor vs Employee AI Model.md +55 -0
- package/vault/wiki/concepts/Dual-Model Agent Architecture.md +65 -0
- package/vault/wiki/concepts/Late Chunking vs Early Chunking.md +43 -0
- package/vault/wiki/concepts/Majority Vote Ensembling.md +68 -0
- package/vault/wiki/concepts/Meta-Harness.md +16 -0
- package/vault/wiki/concepts/Multi-Agent AI Coding Architecture.md +75 -0
- package/vault/wiki/concepts/Prompt Enhancement.md +90 -0
- package/vault/wiki/concepts/Prompt Renderer.md +89 -0
- package/vault/wiki/concepts/Semantic Codebase Indexing.md +67 -0
- package/vault/wiki/concepts/additive-config-hierarchy.md +16 -0
- package/vault/wiki/concepts/agent-artifacts-verifiable-deliverables.md +71 -0
- package/vault/wiki/concepts/agent-browser-browser-automation.md +99 -0
- package/vault/wiki/concepts/agent-codebase-interface.md +43 -0
- package/vault/wiki/concepts/agent-harness-architecture.md +67 -0
- package/vault/wiki/concepts/agent-loop-detection-patterns.md +133 -0
- package/vault/wiki/concepts/agent-search-enforcement.md +126 -0
- package/vault/wiki/concepts/agent-skills-ecosystem.md +74 -0
- package/vault/wiki/concepts/agent-skills-pattern.md +68 -0
- package/vault/wiki/concepts/agentic-harness-context-enforcement.md +91 -0
- package/vault/wiki/concepts/agentic-harness.md +34 -0
- package/vault/wiki/concepts/agentic-orchestration-pipeline.md +56 -0
- package/vault/wiki/concepts/agentic-search-no-embeddings.md +18 -0
- package/vault/wiki/concepts/anthropic-context-engineering.md +13 -0
- package/vault/wiki/concepts/antigravity-agent-first-architecture.md +61 -0
- package/vault/wiki/concepts/ast-compression.md +19 -0
- package/vault/wiki/concepts/ast-truncation.md +66 -0
- package/vault/wiki/concepts/barrel-files.md +37 -0
- package/vault/wiki/concepts/browser-harness-agent.md +41 -0
- package/vault/wiki/concepts/browser-subagent-visual-verification.md +82 -0
- package/vault/wiki/concepts/codebase-intelligence-ecosystem-comparison.md +192 -0
- package/vault/wiki/concepts/codebase-intelligence-harness-integration.md +161 -0
- package/vault/wiki/concepts/codebase-to-context-ingestion.md +46 -0
- package/vault/wiki/concepts/codex-harness-innovations.md +147 -0
- package/vault/wiki/concepts/consensus-debate-flow.md +17 -0
- package/vault/wiki/concepts/consensus-debate.md +206 -0
- package/vault/wiki/concepts/content-addressed-spec-identity.md +166 -0
- package/vault/wiki/concepts/context-anxiety.md +57 -0
- package/vault/wiki/concepts/context-compression-techniques.md +19 -0
- package/vault/wiki/concepts/context-continuity.md +22 -0
- package/vault/wiki/concepts/context-drift-in-agents.md +106 -0
- package/vault/wiki/concepts/context-engineering.md +62 -0
- package/vault/wiki/concepts/context-folding.md +67 -0
- package/vault/wiki/concepts/context-mode.md +38 -0
- package/vault/wiki/concepts/cursor-harness-innovations.md +107 -0
- package/vault/wiki/concepts/deterministic-session-compaction.md +79 -0
- package/vault/wiki/concepts/drift-detection-unified.md +296 -0
- package/vault/wiki/concepts/execution-feedback-loop.md +46 -0
- package/vault/wiki/concepts/feedforward-feedback-harness.md +60 -0
- package/vault/wiki/concepts/five-root-cause-metrics-sentrux.md +40 -0
- package/vault/wiki/concepts/fork-safe-spec-storage.md +89 -0
- package/vault/wiki/concepts/fts5-sandbox.md +19 -0
- package/vault/wiki/concepts/fuzzy-edit-matching.md +71 -0
- package/vault/wiki/concepts/gemini-cli-architecture.md +104 -0
- package/vault/wiki/concepts/generator-evaluator-architecture.md +64 -0
- package/vault/wiki/concepts/guardian-agent-pattern.md +67 -0
- package/vault/wiki/concepts/harness-configuration-layers.md +89 -0
- package/vault/wiki/concepts/harness-control-frameworks.md +155 -0
- package/vault/wiki/concepts/harness-engineering-first-principles.md +90 -0
- package/vault/wiki/concepts/harness-h-formalism.md +53 -0
- package/vault/wiki/concepts/hybrid-code-search.md +61 -0
- package/vault/wiki/concepts/inline-post-edit-validation.md +112 -0
- package/vault/wiki/concepts/legendary-engineering-patterns-harness.md +110 -0
- package/vault/wiki/concepts/lifecycle-hooks.md +94 -0
- package/vault/wiki/concepts/mcp-tool-routing.md +102 -0
- package/vault/wiki/concepts/memory-system-of-record-vs-ephemeral-cache.md +47 -0
- package/vault/wiki/concepts/meta-agent-context-pruning.md +151 -0
- package/vault/wiki/concepts/model-adaptive-harness.md +122 -0
- package/vault/wiki/concepts/model-routing-agents.md +101 -0
- package/vault/wiki/concepts/monorepo-architecture.md +45 -0
- package/vault/wiki/concepts/multi-agent-specialization.md +61 -0
- package/vault/wiki/concepts/permission-subsystem.md +16 -0
- package/vault/wiki/concepts/pi-messenger-analysis.md +243 -0
- package/vault/wiki/concepts/pi-vscode-extension-landscape.md +37 -0
- package/vault/wiki/concepts/policy-engine-pattern.md +78 -0
- package/vault/wiki/concepts/progressive-disclosure-agents.md +53 -0
- package/vault/wiki/concepts/progressive-skill-disclosure.md +17 -0
- package/vault/wiki/concepts/provider-native-prompting.md +203 -0
- package/vault/wiki/concepts/quality-signal-sentrux.md +37 -0
- package/vault/wiki/concepts/repo-map-ranking.md +42 -0
- package/vault/wiki/concepts/result-monad-error-handling.md +47 -0
- package/vault/wiki/concepts/safety-defense-in-depth.md +83 -0
- package/vault/wiki/concepts/sandbox-os-enforcement.md +18 -0
- package/vault/wiki/concepts/selective-debate-routing.md +70 -0
- package/vault/wiki/concepts/self-evolving-harness.md +60 -0
- package/vault/wiki/concepts/sentrux-mcp-integration.md +36 -0
- package/vault/wiki/concepts/sentrux-rules-engine.md +49 -0
- package/vault/wiki/concepts/shell-pattern-compression.md +24 -0
- package/vault/wiki/concepts/skill-first-architecture.md +166 -0
- package/vault/wiki/concepts/structured-compaction.md +78 -0
- package/vault/wiki/concepts/subagent-orchestration.md +17 -0
- package/vault/wiki/concepts/subagent-worktree-isolation.md +68 -0
- package/vault/wiki/concepts/superpowers-methodology.md +78 -0
- package/vault/wiki/concepts/think-in-code.md +73 -0
- package/vault/wiki/concepts/ts-execution-layer.md +100 -0
- package/vault/wiki/concepts/typescript-strict-mode.md +37 -0
- package/vault/wiki/concepts/vcc-conversation-compaction-for-pi.md +51 -0
- package/vault/wiki/concepts/verification-drift-detection.md +19 -0
- package/vault/wiki/consensus/consensus-records.md +58 -0
- package/vault/wiki/decisions/2026-04-30-pi-lean-ctx-native.md +122 -0
- package/vault/wiki/decisions/adr-008.md +40 -0
- package/vault/wiki/decisions/adr-009.md +46 -0
- package/vault/wiki/decisions/adr-010.md +55 -0
- package/vault/wiki/decisions/adr-011.md +165 -0
- package/vault/wiki/decisions/adr-012.md +102 -0
- package/vault/wiki/decisions/adr-013.md +59 -0
- package/vault/wiki/decisions/adr-014.md +73 -0
- package/vault/wiki/decisions/adr-015.md +81 -0
- package/vault/wiki/decisions/adr-016.md +91 -0
- package/vault/wiki/decisions/adr-017.md +79 -0
- package/vault/wiki/decisions/adr-018.md +100 -0
- package/vault/wiki/decisions/adr-019.md +75 -0
- package/vault/wiki/decisions/adr-020.md +106 -0
- package/vault/wiki/decisions/adr-021.md +86 -0
- package/vault/wiki/decisions/adr-022.md +113 -0
- package/vault/wiki/decisions/adr-023.md +113 -0
- package/vault/wiki/decisions/adr-024.md +73 -0
- package/vault/wiki/decisions/adr-025.md +130 -0
- package/vault/wiki/decisions/adr-026.md +56 -0
- package/vault/wiki/decisions/colocate-wiki.md +34 -0
- package/vault/wiki/entities/Anders Hejlsberg.md +29 -0
- package/vault/wiki/entities/Anthropic.md +17 -0
- package/vault/wiki/entities/Augment Code.md +49 -0
- package/vault/wiki/entities/Bjarne Stroustrup.md +26 -0
- package/vault/wiki/entities/Bolt.new (StackBlitz).md +39 -0
- package/vault/wiki/entities/Boris Cherny.md +11 -0
- package/vault/wiki/entities/Claude Code.md +19 -0
- package/vault/wiki/entities/Dennis Ritchie.md +26 -0
- package/vault/wiki/entities/Emergent Labs.md +32 -0
- package/vault/wiki/entities/Google Cloud.md +16 -0
- package/vault/wiki/entities/Guido van Rossum.md +28 -0
- package/vault/wiki/entities/Ken Thompson.md +28 -0
- package/vault/wiki/entities/Lee et al.md +16 -0
- package/vault/wiki/entities/Linus Torvalds.md +28 -0
- package/vault/wiki/entities/Lovable (company).md +40 -0
- package/vault/wiki/entities/Martin Fowler.md +16 -0
- package/vault/wiki/entities/Meng et al.md +16 -0
- package/vault/wiki/entities/OpenAI.md +16 -0
- package/vault/wiki/entities/Rocket.new.md +38 -0
- package/vault/wiki/entities/VILA-Lab.md +15 -0
- package/vault/wiki/entities/autodev-codebase.md +18 -0
- package/vault/wiki/entities/ck-tool.md +59 -0
- package/vault/wiki/entities/codesearch.md +18 -0
- package/vault/wiki/entities/disler-indydevdan.md +33 -0
- package/vault/wiki/entities/gsd-get-shit-done.md +56 -0
- package/vault/wiki/entities/javascript-runtimes.md +48 -0
- package/vault/wiki/entities/jesse-vincent.md +38 -0
- package/vault/wiki/entities/lean-ctx.md +32 -0
- package/vault/wiki/entities/opendev.md +41 -0
- package/vault/wiki/entities/ops-codegraph-tool.md +18 -0
- package/vault/wiki/entities/pi-coding-agent.md +53 -0
- package/vault/wiki/entities/sentrux.md +54 -0
- package/vault/wiki/entities/vgrep-tool.md +57 -0
- package/vault/wiki/entities/vitest.md +41 -0
- package/vault/wiki/flows/harness-wiki-pipeline.md +204 -0
- package/vault/wiki/hot.md +932 -0
- package/vault/wiki/index.md +437 -0
- package/vault/wiki/log.md +418 -0
- package/vault/wiki/meta/dashboard.md +30 -0
- package/vault/wiki/meta/lint-report-2026-04-30.md +86 -0
- package/vault/wiki/meta/lint-report-2026-05-02.md +251 -0
- package/vault/wiki/meta/overview.canvas +43 -0
- package/vault/wiki/modules/adversarial-verification.md +57 -0
- package/vault/wiki/modules/automated-observability.md +54 -0
- package/vault/wiki/modules/bench.md +20 -0
- package/vault/wiki/modules/extensions.md +23 -0
- package/vault/wiki/modules/grounding-checkpoints.md +62 -0
- package/vault/wiki/modules/harness-implementation-plan.md +345 -0
- package/vault/wiki/modules/harness-wiki-skill-mapping.md +135 -0
- package/vault/wiki/modules/harness.md +86 -0
- package/vault/wiki/modules/persistent-memory.md +85 -0
- package/vault/wiki/modules/schema-orchestration.md +68 -0
- package/vault/wiki/modules/skills.md +27 -0
- package/vault/wiki/modules/spec-hardening.md +58 -0
- package/vault/wiki/modules/structured-planning.md +53 -0
- package/vault/wiki/modules/think-in-code-enforcement.md +153 -0
- package/vault/wiki/modules/wiki-query-interface.md +64 -0
- package/vault/wiki/overview.md +51 -0
- package/vault/wiki/questions/Research-pi-vs-claude-code-agentic-orchestration-pipeline.md +87 -0
- package/vault/wiki/questions/Research-sentrux-dev.md +123 -0
- package/vault/wiki/questions/Research-superpowers-skill-for-agentic-coding-agents.md +164 -0
- package/vault/wiki/questions/Research: Augment Code Context Engine.md +244 -0
- package/vault/wiki/questions/Research: Automating Software Engineering - Lovable, Bolt, Emergent, Rocket.md +112 -0
- package/vault/wiki/questions/Research: Claude Code State-of-the-Art Harness Improvements.md +209 -0
- package/vault/wiki/questions/Research: Codex State-of-the-Art Harness Improvements.md +99 -0
- package/vault/wiki/questions/Research: Engineering Workflows of Legendary Programmers and AI Harness Mapping.md +107 -0
- package/vault/wiki/questions/Research: Fallow Codebase Intelligence Harness Integration.md +72 -0
- package/vault/wiki/questions/Research: Gemini CLI SOTA Harness Integration.md +166 -0
- package/vault/wiki/questions/Research: GitHub Issues as Harness Spec Storage.md +188 -0
- package/vault/wiki/questions/Research: Google Antigravity Harness Integration.md +120 -0
- package/vault/wiki/questions/Research: Meta-Agent Context Drift Detection.md +236 -0
- package/vault/wiki/questions/Research: Model-Adaptive Agent Harness Design.md +95 -0
- package/vault/wiki/questions/Research: Model-Specific Prompting Guides.md +165 -0
- package/vault/wiki/questions/Research: Prompt Renderer for Multi-Model Agent Harness.md +216 -0
- package/vault/wiki/questions/Research: Skill-First Harness Architecture.md +91 -0
- package/vault/wiki/questions/Research: TypeScript Best Practices and Codebase Structure.md +88 -0
- package/vault/wiki/questions/Research: TypeScript Execution Layer for Agent Tool Calling.md +81 -0
- package/vault/wiki/questions/Research: claude-mem over Obsidian for Harness Layer.md +71 -0
- 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
- package/vault/wiki/questions/Research: context-mode vs lean-ctx.md +72 -0
- package/vault/wiki/questions/Research: cursor.sh Harness Innovations.md +92 -0
- package/vault/wiki/questions/Research: executor.sh Harness Integration.md +170 -0
- package/vault/wiki/questions/Research: how GSD fits into our coding harness setup.md +97 -0
- 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
- package/vault/wiki/questions/Research: pi-vcc.md +113 -0
- package/vault/wiki/questions/Research: semantic code search tools.md +69 -0
- package/vault/wiki/questions/Research: vcc extension for pi coding agent.md +73 -0
- package/vault/wiki/questions/how-to-enable-semantic-code-search-now.md +111 -0
- package/vault/wiki/questions/mvp-implementation-blueprint.md +552 -0
- package/vault/wiki/questions/research-agent-first-codebase-exploration.md +199 -0
- package/vault/wiki/questions/research-agentic-coding-harness-latest-papers.md +142 -0
- package/vault/wiki/questions/research-gitingest-gitreverse-integration.md +100 -0
- package/vault/wiki/questions/research-wozcode-token-reduction.md +67 -0
- package/vault/wiki/questions/resolved-context-pruning-inplace-vs-restart.md +95 -0
- package/vault/wiki/questions/resolved-context-window-economics.md +167 -0
- package/vault/wiki/questions/resolved-imad-debate-gating-transfer.md +126 -0
- package/vault/wiki/questions/resolved-mcp-tool-preference.md +112 -0
- package/vault/wiki/questions/resolved-small-model-meta-agents.md +107 -0
- package/vault/wiki/questions/resolved-treesitter-dynamic-languages.md +95 -0
- package/vault/wiki/sources/Auggie Context MCP Server.md +63 -0
- package/vault/wiki/sources/Augment Code Codacy AI Giants.md +61 -0
- package/vault/wiki/sources/Augment Code MCP SiliconAngle.md +49 -0
- package/vault/wiki/sources/Augment Code WorkOS ERC 2025.md +55 -0
- package/vault/wiki/sources/Augment Context Engine Official.md +71 -0
- package/vault/wiki/sources/Augment SWE-bench Agent GitHub.md +74 -0
- package/vault/wiki/sources/Augment SWE-bench Pro Blog.md +58 -0
- package/vault/wiki/sources/Source: AgentBus Jinja2 Prompt Pipelines.md +75 -0
- package/vault/wiki/sources/Source: Arxiv /342/200/224 Don't Break the Cache.md" +85 -0
- package/vault/wiki/sources/Source: Augment - Harness Engineering for AI Coding Agents.md +58 -0
- package/vault/wiki/sources/Source: Blake Crosley Agent Architecture Guide.md +100 -0
- package/vault/wiki/sources/Source: Bolt.new Architecture & Case Study.md +75 -0
- package/vault/wiki/sources/Source: Build-Time Prompt Compilation Architecture.md +107 -0
- package/vault/wiki/sources/Source: Claude API Agent Skills Overview.md +70 -0
- package/vault/wiki/sources/Source: Gemini CLI Changelogs.md +88 -0
- package/vault/wiki/sources/Source: Google Blog - Gemini CLI Announcement.md +57 -0
- package/vault/wiki/sources/Source: Google Gemini CLI Architecture Docs.md +53 -0
- package/vault/wiki/sources/Source: LangChain - Anatomy of Agent Harness.md +65 -0
- package/vault/wiki/sources/Source: Lovable Architecture & Clone Analysis.md +83 -0
- package/vault/wiki/sources/Source: Martin Fowler - Harness Engineering.md +70 -0
- package/vault/wiki/sources/Source: OpenAI Harness Engineering Five Principles.md +58 -0
- package/vault/wiki/sources/Source: OpenAI Harness Engineering /342/200/224 0 Lines of Human Code.md" +101 -0
- package/vault/wiki/sources/Source: OpenDev /342/200/224 Building AI Coding Agents for the Terminal.md" +100 -0
- package/vault/wiki/sources/Source: Render AI Coding Agents Benchmark 2025.md +53 -0
- package/vault/wiki/sources/Source: Rocket.new /342/200/224 Vibe Solutioning Platform.md" +70 -0
- package/vault/wiki/sources/Source: SwirlAI Agent Skills Progressive Disclosure.md +71 -0
- package/vault/wiki/sources/Source: TianPan Prompt Caching Architecture.md +89 -0
- package/vault/wiki/sources/Source: Vercel Labs agent-browser.md +155 -0
- package/vault/wiki/sources/Source: browser-harness CDP Harness.md +126 -0
- package/vault/wiki/sources/agent-drift-academic-paper.md +79 -0
- package/vault/wiki/sources/aider-repomap-tree-sitter.md +42 -0
- package/vault/wiki/sources/anthropic-compaction-api.md +58 -0
- package/vault/wiki/sources/anthropic-effective-harnesses.md +42 -0
- package/vault/wiki/sources/anthropic-prompt-best-practices.md +100 -0
- package/vault/wiki/sources/anthropic2026-harness-design.md +63 -0
- package/vault/wiki/sources/barrel-files-tkdodo.md +38 -0
- package/vault/wiki/sources/birth-of-unix-kernighan-interview.md +57 -0
- package/vault/wiki/sources/bockeler2026-harness-engineering.md +69 -0
- package/vault/wiki/sources/cast-code-chunking-paper.md +50 -0
- package/vault/wiki/sources/ck-semantic-search.md +78 -0
- package/vault/wiki/sources/claude-code-architecture-karaxai-2026.md +71 -0
- package/vault/wiki/sources/claude-code-architecture-qubytes-2026.md +50 -0
- package/vault/wiki/sources/claude-code-architecture-vila-lab-2026.md +64 -0
- package/vault/wiki/sources/claude-code-security-architecture-penligent-2026.md +70 -0
- package/vault/wiki/sources/claude-context-editing-docs.md +13 -0
- package/vault/wiki/sources/cloudflare-codemode.md +63 -0
- package/vault/wiki/sources/code-chunk-library-supermemory.md +63 -0
- package/vault/wiki/sources/codeact-apple-2024.md +62 -0
- package/vault/wiki/sources/codex-dsc-rfc-8573.md +41 -0
- package/vault/wiki/sources/codex-open-source-agent-2026.md +110 -0
- package/vault/wiki/sources/coir-code-retrieval-benchmark.md +51 -0
- package/vault/wiki/sources/colinmcnamara-context-optimization-codemode.md +48 -0
- package/vault/wiki/sources/context-folding-paper.md +61 -0
- package/vault/wiki/sources/context-mode-website.md +63 -0
- package/vault/wiki/sources/cursor-agent-best-practices-2026.md +62 -0
- package/vault/wiki/sources/cursor-fork-29b-2025.md +50 -0
- package/vault/wiki/sources/cursor-harness-april-2026.md +76 -0
- package/vault/wiki/sources/cursor-instant-apply-2024.md +45 -0
- package/vault/wiki/sources/cursor-shadow-workspace-2024.md +52 -0
- package/vault/wiki/sources/cursor-shipped-coding-agent-2026.md +53 -0
- package/vault/wiki/sources/cursor-vs-antigravity-2026.md +51 -0
- package/vault/wiki/sources/disler-pi-vs-claude-code.md +69 -0
- package/vault/wiki/sources/distill-deterministic-context-compression.md +53 -0
- package/vault/wiki/sources/embedding-models-benchmark-supermemory-2025.md +48 -0
- package/vault/wiki/sources/executor-rhyssullivan.md +122 -0
- package/vault/wiki/sources/fallow-rs-codebase-intelligence.md +125 -0
- package/vault/wiki/sources/fan2025-imad.md +60 -0
- package/vault/wiki/sources/forgecode-gpt5-agent-improvements.md +63 -0
- package/vault/wiki/sources/gemini-3-prompting-guide.md +78 -0
- package/vault/wiki/sources/gh-cli-sub-issue-rfc.md +50 -0
- package/vault/wiki/sources/gh-sub-issue-extension.md +72 -0
- package/vault/wiki/sources/github-fork-issues-discussion.md +44 -0
- package/vault/wiki/sources/github-issue-dependencies-docs.md +49 -0
- package/vault/wiki/sources/github-sub-issues-docs.md +51 -0
- package/vault/wiki/sources/gitingest.md +91 -0
- package/vault/wiki/sources/gitreverse.md +63 -0
- package/vault/wiki/sources/google-antigravity-official-blog.md +47 -0
- package/vault/wiki/sources/google-antigravity-wikipedia.md +53 -0
- package/vault/wiki/sources/gsd-codecentric-deep-dive.md +57 -0
- package/vault/wiki/sources/gsd-github-repo.md +51 -0
- package/vault/wiki/sources/gsd-hn-discussion.md +59 -0
- package/vault/wiki/sources/guido-python-design-philosophy.md +56 -0
- package/vault/wiki/sources/hejlsberg-7-learnings.md +48 -0
- package/vault/wiki/sources/ironclaw-drift-monitor.md +80 -0
- package/vault/wiki/sources/langsight-loop-detection.md +80 -0
- package/vault/wiki/sources/leanctx-website.md +69 -0
- package/vault/wiki/sources/lee2026-meta-harness.md +59 -0
- package/vault/wiki/sources/linux-kernel-coding-workflow.md +50 -0
- package/vault/wiki/sources/lou2026-autoharness.md +53 -0
- package/vault/wiki/sources/martin-fowler-harness-engineering.md +73 -0
- package/vault/wiki/sources/mcp-architecture-docs.md +13 -0
- package/vault/wiki/sources/meng2026-agent-harness-survey.md +79 -0
- package/vault/wiki/sources/mindstudio-four-agent-types.md +68 -0
- package/vault/wiki/sources/ms-chat-history-management.md +13 -0
- package/vault/wiki/sources/openai-prompt-guidance.md +104 -0
- package/vault/wiki/sources/openclaw-session-pruning.md +13 -0
- package/vault/wiki/sources/opencode-dcp.md +13 -0
- package/vault/wiki/sources/opendev-arxiv-2603.05344v1.md +79 -0
- package/vault/wiki/sources/openhands-platform.md +39 -0
- package/vault/wiki/sources/oss-guide-codebase-exploration.md +53 -0
- package/vault/wiki/sources/pi-compaction-extensions-ecosystem.md +102 -0
- package/vault/wiki/sources/pi-context-prune-github-repo.md +38 -0
- package/vault/wiki/sources/pi-mono-compaction-docs.md +38 -0
- package/vault/wiki/sources/pi-omni-compact-github-repo.md +50 -0
- package/vault/wiki/sources/pi-rtk-optimizer-github-repo.md +45 -0
- package/vault/wiki/sources/pi-vcc-github-repo.md +69 -0
- package/vault/wiki/sources/pi-vscode-marketplace.md +41 -0
- package/vault/wiki/sources/pi-vscode-model-provider-marketplace.md +39 -0
- package/vault/wiki/sources/py-tree-sitter.md +13 -0
- package/vault/wiki/sources/sentrux-dev-landing.md +40 -0
- package/vault/wiki/sources/sentrux-docs-pro-architecture.md +75 -0
- package/vault/wiki/sources/sentrux-docs-quality-signal.md +46 -0
- package/vault/wiki/sources/sentrux-docs-root-cause-metrics.md +57 -0
- package/vault/wiki/sources/sentrux-docs-rules-engine.md +58 -0
- package/vault/wiki/sources/sentrux-github-repo.md +56 -0
- package/vault/wiki/sources/superpowers-github-repo.md +56 -0
- package/vault/wiki/sources/superpowers-release-blog.md +54 -0
- package/vault/wiki/sources/superpowers-termdock-analysis.md +45 -0
- package/vault/wiki/sources/swe-agent-aci.md +42 -0
- package/vault/wiki/sources/swe-bench.md +45 -0
- package/vault/wiki/sources/swe-pruner-context-pruning.md +13 -0
- package/vault/wiki/sources/think-in-code-blog.md +48 -0
- package/vault/wiki/sources/tree-sitter-docs.md +13 -0
- package/vault/wiki/sources/ts-best-practices-2025-devto.md +42 -0
- package/vault/wiki/sources/ts-folder-structure-mingyang.md +58 -0
- package/vault/wiki/sources/ts-monorepo-koerselman.md +44 -0
- package/vault/wiki/sources/ts-result-error-handling-kkalamarski.md +52 -0
- package/vault/wiki/sources/ts-runtimes-comparison-betterstack.md +42 -0
- package/vault/wiki/sources/ts-strict-mode-rishikc.md +43 -0
- package/vault/wiki/sources/unix-philosophy.md +48 -0
- package/vault/wiki/sources/vectara-chunking-vs-embedding-naacl2025.md +39 -0
- package/vault/wiki/sources/vectara-guardian-agents.md +79 -0
- package/vault/wiki/sources/vgrep-semantic-search.md +76 -0
- package/vault/wiki/sources/vitest-official.md +41 -0
- package/vault/wiki/sources/vscode-pi-community-extension.md +40 -0
- package/vault/wiki/sources/wozcode.md +79 -0
- package/.agents/skills/compress/SKILL.md +0 -111
- package/.agents/skills/compress/scripts/__init__.py +0 -9
- package/.agents/skills/compress/scripts/__main__.py +0 -3
- package/.agents/skills/compress/scripts/benchmark.py +0 -78
- package/.agents/skills/compress/scripts/cli.py +0 -73
- package/.agents/skills/compress/scripts/compress.py +0 -227
- package/.agents/skills/compress/scripts/detect.py +0 -121
- package/.agents/skills/compress/scripts/validate.py +0 -189
- package/.agents/skills/emil-design-eng/SKILL.md +0 -679
- package/.agents/skills/lean-ctx/SKILL.md +0 -149
- package/.agents/skills/lean-ctx/scripts/install.sh +0 -95
- package/.agents/skills/scrapling-official/LICENSE.txt +0 -28
- package/.agents/skills/scrapling-official/SKILL.md +0 -390
- package/.agents/skills/scrapling-official/examples/01_fetcher_session.py +0 -26
- package/.agents/skills/scrapling-official/examples/02_dynamic_session.py +0 -26
- package/.agents/skills/scrapling-official/examples/03_stealthy_session.py +0 -26
- package/.agents/skills/scrapling-official/examples/04_spider.py +0 -58
- package/.agents/skills/scrapling-official/examples/README.md +0 -45
- package/.agents/skills/scrapling-official/references/fetching/choosing.md +0 -78
- package/.agents/skills/scrapling-official/references/fetching/dynamic.md +0 -352
- package/.agents/skills/scrapling-official/references/fetching/static.md +0 -432
- package/.agents/skills/scrapling-official/references/fetching/stealthy.md +0 -255
- package/.agents/skills/scrapling-official/references/mcp-server.md +0 -214
- package/.agents/skills/scrapling-official/references/migrating_from_beautifulsoup.md +0 -86
- package/.agents/skills/scrapling-official/references/parsing/adaptive.md +0 -212
- package/.agents/skills/scrapling-official/references/parsing/main_classes.md +0 -586
- package/.agents/skills/scrapling-official/references/parsing/selection.md +0 -494
- package/.agents/skills/scrapling-official/references/spiders/advanced.md +0 -344
- package/.agents/skills/scrapling-official/references/spiders/architecture.md +0 -94
- package/.agents/skills/scrapling-official/references/spiders/getting-started.md +0 -164
- package/.agents/skills/scrapling-official/references/spiders/proxy-blocking.md +0 -235
- package/.agents/skills/scrapling-official/references/spiders/requests-responses.md +0 -196
- package/.agents/skills/scrapling-official/references/spiders/sessions.md +0 -205
- package/.github/banner.png +0 -0
- package/PLAN.md +0 -11
- package/extensions/lean-ctx-enforce.ts +0 -166
- package/skills-lock.json +0 -35
- package/wiki/README.md +0 -10
- package/wiki/decisions/0001-establish-project-wiki-and-decision-record-format.md +0 -25
- package/wiki/decisions/0002-add-project-banner-to-readme.md +0 -26
- package/wiki/decisions/0003-remove-redundant-readme-title-heading.md +0 -26
- package/wiki/decisions/0004-publish-package-to-npm-as-ultimate-pi.md +0 -26
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: meta
|
|
3
|
+
status: active
|
|
4
|
+
created: 2026-04-28
|
|
5
|
+
updated: 2026-05-05
|
|
6
|
+
tags: [meta, log, operations]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Wiki Operations Log
|
|
10
|
+
|
|
11
|
+
## [2026-05-05] wiki-autoresearch | pi-vcc (ecosystem expansion + SOTA update)
|
|
12
|
+
- Rounds: 2 (broad search across 4 angles + targeted gap fill on 3 new extensions + 2 SOTA developments)
|
|
13
|
+
- Searches: 8 | Sources found: 5 new (pi-rtk-optimizer, pi-omni-compact, pi-context-prune, Anthropic Compaction API, Context Folding paper)
|
|
14
|
+
- Pages created: [[pi-rtk-optimizer-github-repo]], [[pi-omni-compact-github-repo]], [[pi-context-prune-github-repo]], [[anthropic-compaction-api]], [[context-folding-paper]] (sources), [[context-folding]] (concept)
|
|
15
|
+
- Pages updated: [[pi-compaction-extensions-ecosystem]] (4→7 extensions, 3-layer architecture), [[deterministic-session-compaction]] (context folding comparison, 3-layer model), [[Research: pi-vcc]] (major update: 10 findings, expanded ecosystem, SOTA developments), [[index]], [[log]], [[hot]]
|
|
16
|
+
- Key finding: Pi compaction ecosystem grew from 4 to 7 extensions across three layers (prevention → pruning → compression). Anthropic launched official server-side compaction API (beta Jan 2026). Context Folding (arXiv 2510.11967) achieves 10x context reduction via RL-trained branch/return. Tool-calling accuracy collapses ~40% past 80K tokens (hard cliff). pi-vcc remains the only zero-LLM option across all 7 extensions and the official API.
|
|
17
|
+
|
|
18
|
+
## [2026-05-05] wiki-autoresearch | pi-vcc (metrics refresh)
|
|
19
|
+
- Rounds: 2 (broad pass + targeted gap fill)
|
|
20
|
+
- Searches: 7 | Sources found: 4 (pi-vcc repo, pi.dev package page, pi core compaction docs, Codex DSC issue)
|
|
21
|
+
- Pages created: none (refresh run)
|
|
22
|
+
- Pages updated: [[pi-vcc-github-repo]] (stars/install metrics refreshed), [[Research: pi-vcc]] (overview + source stats refreshed), [[index]], [[log]], [[hot]]
|
|
23
|
+
- Key finding: Core findings remain stable: pi-vcc is still the only deterministic compaction extension in Pi's current ecosystem. Fresh metrics now show 75 stars and 3,299 monthly / 606 weekly installs, indicating gradual adoption while the architectural differentiation remains unchanged.
|
|
24
|
+
|
|
25
|
+
## [2026-05-05] wiki-autoresearch | pi-vcc (competitive landscape)
|
|
26
|
+
- Rounds: 2 (broad search across 4 angles + targeted gap fill on 3 gaps)
|
|
27
|
+
- Searches: 7 | Sources found: 5 (pi-vcc repo, pi core docs, Distill repo, Codex DSC RFC, Pi compaction ecosystem)
|
|
28
|
+
- Pages created: [[distill-deterministic-context-compression]] (source), [[codex-dsc-rfc-8573]] (source), [[pi-compaction-extensions-ecosystem]] (source), [[deterministic-session-compaction]] (concept)
|
|
29
|
+
- Pages updated: [[pi-vcc-github-repo]] (enriched with benchmarks, forks, ecosystem position), [[vcc-conversation-compaction-for-pi]] (competitive context added), [[Research: pi-vcc]] (major rewrite: 8 findings, competitive landscape, 5 open questions), [[index]], [[log]], [[hot]]
|
|
30
|
+
- Key finding: pi-vcc is uniquely positioned as the only fully deterministic compaction extension in Pi's 4-extension ecosystem. The pattern is independently validated by Codex DSC RFC (rejected but technically sound), Distill (143 stars, different layer), and MemoSift. The recall capability (`vcc_recall` over raw JSONL) is the killer differentiator no competitor offers.
|
|
31
|
+
|
|
32
|
+
## [2026-05-05] wiki-autoresearch | pi-vcc (refresh)
|
|
33
|
+
- Rounds: 2 (broad verification + targeted gap fill)
|
|
34
|
+
- Sources found: 3 (pi-vcc repo, npm package metadata, pi core compaction docs)
|
|
35
|
+
- Pages created: none (existing pages refreshed)
|
|
36
|
+
- Pages updated: [[pi-vcc-github-repo]], [[Research: pi-vcc]], [[index]], [[log]], [[hot]]
|
|
37
|
+
- Key finding: `pi-vcc` can explicitly take over `/compact` and auto-compaction routing with `overrideDefaultCompaction: true`, clarifying deployment mode versus Pi core defaults.
|
|
38
|
+
|
|
39
|
+
## [2026-05-05] wiki-autoresearch | pi-vcc
|
|
40
|
+
- Rounds: 2 (broad topic framing + targeted gap fill)
|
|
41
|
+
- Sources found: 2 (pi-vcc repo/package docs, pi core compaction docs)
|
|
42
|
+
- Pages created: [[pi-mono-compaction-docs]] (source), [[Research: pi-vcc]] (synthesis)
|
|
43
|
+
- Pages updated: [[index]] (added source and synthesis entries), [[log]] (this entry), [[hot]] (new pi-vcc section)
|
|
44
|
+
- Key finding: Pi already has built-in compaction; `pi-vcc` is a deterministic compaction + recall extension that adds predictable behavior and lineage recall ergonomics rather than introducing compaction from zero.
|
|
45
|
+
|
|
46
|
+
## [2026-05-05] wiki-autoresearch | vcc extension for pi coding agent
|
|
47
|
+
- Rounds: 2 (broad search + ambiguity gap-fill)
|
|
48
|
+
- Sources found: 4 (pi0 marketplace, tintinweb model provider marketplace, cdervis community marketplace, sting8k/pi-vcc)
|
|
49
|
+
- Pages created: [[pi-vscode-marketplace]], [[pi-vscode-model-provider-marketplace]], [[vscode-pi-community-extension]], [[pi-vcc-github-repo]] (sources), [[pi-vscode-extension-landscape]], [[vcc-conversation-compaction-for-pi]] (concepts), [[Research: vcc extension for pi coding agent]] (synthesis)
|
|
50
|
+
- Pages updated: [[index]] (added concepts, sources, synthesis entries), [[log]] (this entry), [[hot]] (new research section)
|
|
51
|
+
- Key finding: "vcc extension for pi coding agent" has two valid meanings. VS Code side has three active extension patterns (official bridge, LM provider, community full UI). Literal VCC side maps to `pi-vcc`, a deterministic Pi compaction/recall package (not a VS Code UI extension).
|
|
52
|
+
|
|
53
|
+
## [2026-05-05] wiki-autoresearch | how GSD fits into our coding harness setup
|
|
54
|
+
- Rounds: 1 (primary source scrape + 3 search angles + HN discussion + community analysis)
|
|
55
|
+
- Sources found: 4 (GSD GitHub repo, codecentric deep dive, HN discussion ~473 pts, freeCodeCamp GAN comparison)
|
|
56
|
+
- Pages created: [[gsd-github-repo]], [[gsd-codecentric-deep-dive]], [[gsd-hn-discussion]] (sources), [[gsd-get-shit-done]] (entity), [[Research: how GSD fits into our coding harness setup]] (synthesis)
|
|
57
|
+
- Pages updated: [[index]] (added 5 entries), [[log]] (this entry), [[hot]] (new research section)
|
|
58
|
+
- Key finding: GSD is downstream (builds apps). Our harness is upstream (controls agent behavior). They are complementary, not competitive. GSD's context engineering + wave execution patterns are adoptable. GSD lacks adversarial verification — our L4 fills that gap. GSD's community limitations (token-heavy, degrades at scale) validate our harness design.
|
|
59
|
+
|
|
60
|
+
## [2026-05-05] wiki-autoresearch | Superpowers skill for agentic coding agents
|
|
61
|
+
- Rounds: 1 (broad search with 5 angles, rich primary sources found directly)
|
|
62
|
+
- Sources found: 3 (GitHub repo, release blog, Termdock analysis) + 5 search angle results
|
|
63
|
+
- Pages created: [[questions/Research-superpowers-skill-for-agentic-coding-agents]] (synthesis), [[superpowers-github-repo]] (source), [[superpowers-release-blog]] (source), [[superpowers-termdock-analysis]] (source), [[superpowers-methodology]] (concept), [[agent-skills-ecosystem]] (concept), [[jesse-vincent]] (entity)
|
|
64
|
+
- Pages updated: [[index]] (added 7 entries to Concepts, Entities, Sources, Research sections), [[log]], [[hot]]
|
|
65
|
+
- Key finding: Superpowers (179K ⭐) validates our skill-first architecture. It can be integrated as `.pi/skills/superpowers/` skill set, adding hard-gate methodology enforcement (brainstorm→plan→TDD→subagent→review). But Superpowers cannot replace our deterministic code-level enforcement (drift monitor). Best approach: adopt Superpowers as methodology layer (probabilistic) + our harness for enforcement layer (deterministic).
|
|
66
|
+
|
|
67
|
+
## [2026-05-05] wiki-autoresearch | 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
|
|
68
|
+
- Rounds: 2 (broad architecture pass + targeted evidence-gap check)
|
|
69
|
+
- Sources found: 5 (existing authoritative vault sources)
|
|
70
|
+
- Pages created: [[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]]
|
|
71
|
+
- Synthesis: [[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]]
|
|
72
|
+
- Key finding: claude-mem complements wiki as fast cache. It does not replace wiki as canonical memory without new evidence for provenance, durability, and conflict-safe governance.
|
|
73
|
+
|
|
74
|
+
## [2026-05-05] wiki-autoresearch | 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
|
|
75
|
+
- Rounds: 2 (broad local corpus scan + targeted gap check)
|
|
76
|
+
- Sources found: 5 (from existing vault corpus)
|
|
77
|
+
- Pages created: [[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]]
|
|
78
|
+
- Synthesis: [[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]]
|
|
79
|
+
- Key finding: Do not replace Obsidian as canonical Layer 6 memory now. Use claude-mem, if adopted, as non-authoritative cache with mandatory wiki write-back gates.
|
|
80
|
+
|
|
81
|
+
## [2026-05-05] wiki-autoresearch | claude-mem over Obsidian for Harness Layer
|
|
82
|
+
- Rounds: 2 (local corpus scan + targeted gap check)
|
|
83
|
+
- Sources found: 5
|
|
84
|
+
- Pages created: [[questions/Research: claude-mem over Obsidian for Harness Layer]], [[concepts/memory-system-of-record-vs-ephemeral-cache]]
|
|
85
|
+
- Synthesis: [[Research: claude-mem over Obsidian for Harness Layer]]
|
|
86
|
+
- Key finding: Do not replace Obsidian as Layer 6 memory system-of-record. If claude-mem is introduced, use it as non-authoritative cache and keep wiki as canonical source with hook-enforced write-back.
|
|
87
|
+
|
|
88
|
+
## [2026-05-04] implement | Layer 2: grep interception + file watcher for ck
|
|
89
|
+
- **ck-enforce pi extension** (`.pi/extensions/ck-enforce.ts`): Overrides lean-ctx's `grep` tool on `session_start`. Detects conceptual patterns (multi-word, no regex) and reroutes to `ck --hybrid`. Literal/exact patterns pass through to native rg. Status command: `/ck-enforce`.
|
|
90
|
+
- **File watcher** (`.pi/scripts/ck-watch.sh`): Node.js fs.watch-based auto-reindexer. Watches for source file changes (ts, js, py, rs, md, json, etc.) with 1500ms debounce. Excludes node_modules, .ck, .git, dist, build, .pi/npm. Verified: reindexes in ~400ms on change.
|
|
91
|
+
- **Dependency added**: `@sinclair/typebox` (devDependency, for grep tool schema)
|
|
92
|
+
- Pages updated: `.pi/SYSTEM.md` (unchanged — policy already there), `wiki/index.md` (updated question status), `wiki/log.md` (this entry)
|
|
93
|
+
- Key finding: Registration on `session_start` required because lean-ctx loads as a package after project extensions. Without session_start delay, lean-ctx's grep would overwrite ck-enforce's grep.
|
|
94
|
+
- Verification: TypeScript compiles clean, ck-watch reindexes correctly, ck-index status shows 342 files / 1593 chunks.
|
|
95
|
+
|
|
96
|
+
## [2026-05-04] implement | Semantic code search enabled — ck installed, indexed, enforced
|
|
97
|
+
- **P13 Implemented**: ck (BeaconBay/ck) installed, semantic index built (342 files, 1,593 chunks, 2.7MB, BAAI/bge-small-en-v1.5)
|
|
98
|
+
- **Skill created**: `.pi/skills/ck-search/SKILL.md` — teaches agent when/how to use ck vs grep, search decision tree, token efficiency guidance
|
|
99
|
+
- **System prompt enforced**: `SYSTEM.md` updated with CODEBASE SEARCH POLICY section — NEVER raw grep for exploration, ALWAYS ck --hybrid
|
|
100
|
+
- **Index built**: `ck index .` — 342 files indexed, hybrid search working (BM25 + semantic RRF fusion)
|
|
101
|
+
- **Gitignore updated**: `.ck/` added to .gitignore (regenerable, like wiki-search index)
|
|
102
|
+
- **Pages created**: [[how-to-enable-semantic-code-search-now]] (question/answer synthesis)
|
|
103
|
+
- **Pages updated**: [[index]] (new question entry), [[log]] (this entry)
|
|
104
|
+
- Key finding: Augment Code proves semantic indexing beats grep at scale — same model scores 1.59% higher on SWE-bench Pro with better context. Three-layer enforcement (prompt rules → skill guidance → future pre-exec hook) is the proven strategy. ck search returns ranked, scored results (~500-1000 tokens) vs raw grep output (~5000-20000 tokens).
|
|
105
|
+
|
|
106
|
+
## [2026-05-04] cleanup | Removed custom event bus — pi now has built-in event bus
|
|
107
|
+
- Pi's latest version ships a native event bus — custom `events.ts` and `harness-event-bus.ts` no longer needed
|
|
108
|
+
- Code layer reduced: 4 files → 3 files (types, config, drift-monitor). Event bus removed.
|
|
109
|
+
- Pages updated: [[adr-017]] (superseded), [[skill-first-architecture]] (event bus removed from code layer), [[Research: Skill-First Harness Architecture]] (architecture table updated), [[mvp-implementation-blueprint]] (19 files, event bus removed), [[index]] (ADR-017 status), [[hot]] (Skill-First section), [[log]] (this entry)
|
|
110
|
+
- Key finding: Skills register directly with pi's built-in event bus. No custom wiring needed. Reduces code surface: 3 TS files, ~600 lines (was 4 files, ~800 lines).
|
|
111
|
+
|
|
112
|
+
## [2026-05-03] wiki-autoresearch | pi-vs-claude-code Agentic Orchestration Pipeline
|
|
113
|
+
- Rounds: 2 (repo scrape + 4 broad searches + 2 gap-fill searches)
|
|
114
|
+
- Sources found: 5
|
|
115
|
+
- Pages created: [[sources/disler-pi-vs-claude-code]], [[sources/opendev-arxiv-2603.05344v1]], [[sources/martin-fowler-harness-engineering]], [[sources/mindstudio-four-agent-types]], [[sources/anthropic-effective-harnesses]] (sources), [[concepts/agentic-orchestration-pipeline]], [[concepts/agent-harness-architecture]], [[concepts/multi-agent-specialization]], [[concepts/context-engineering]], [[concepts/safety-defense-in-depth]] (concepts), [[entities/pi-coding-agent]], [[entities/disler-indydevdan]], [[entities/opendev]] (entities), [[questions/Research-pi-vs-claude-code-agentic-orchestration-pipeline]] (synthesis)
|
|
116
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
117
|
+
- Key finding: Pi's extension system can implement full multi-agent orchestration (subagent delegation, team dispatch, sequential chaining) entirely in user-space TypeScript. Three orchestration patterns + five-layer safety architecture + staged context compaction. Schema-level tool isolation more robust than runtime permission checks. Harness = Guides + Sensors + Steering Loop. Our harness can adopt all three orchestration patterns as `.pi/skills/` extensions backed by YAML config.
|
|
118
|
+
|
|
119
|
+
## [2026-05-03] harness-update | sentrux integration into harness implementation plan
|
|
120
|
+
- Replaced Fallow (P44a-g) with sentrux for structural quality gate
|
|
121
|
+
- Added sentrux MCP (9 tools) to L2.5 drift monitor, L3 grounding, P20 gate, L5 observability
|
|
122
|
+
- Updated: [[harness-implementation-plan]], [[harness]], [[Research: sentrux.dev]], [[index]], [[hot]]
|
|
123
|
+
- sentrux adds 0 LLM tokens — all tools are deterministic Rust computations
|
|
124
|
+
|
|
125
|
+
## [2026-05-03] wiki-autoresearch | sentrux.dev
|
|
126
|
+
- Rounds: 1 (primary source scrape + docs + 1 external search)
|
|
127
|
+
- Sources found: 7 (GitHub README, sentrux.dev, 4 docs pages, Pro architecture doc, Reddit launch post)
|
|
128
|
+
- Pages created: [[sentrux-github-repo]], [[sentrux-dev-landing]], [[sentrux-docs-quality-signal]], [[sentrux-docs-root-cause-metrics]], [[sentrux-docs-rules-engine]], [[sentrux-docs-pro-architecture]] (sources), [[Quality Signal (sentrux)]], [[Five Root Cause Metrics (sentrux)]], [[sentrux Rules Engine]], [[sentrux MCP Integration]] (concepts), [[sentrux (tool)]] (entity), [[Research: sentrux.dev]] (synthesis)
|
|
129
|
+
- Key finding: sentrux positions itself as the missing feedback loop for AI-agent code quality — 5 graph-theoretic metrics aggregated via geometric mean (Nash theorem), MCP integration with 9 tools, 52 languages via tree-sitter. <2 months old, 1.9k stars, mixed community reception.
|
|
130
|
+
|
|
131
|
+
## [2026-05-03] autoresearch | Automating Software Engineering — Lovable, Bolt, Emergent, Rocket
|
|
132
|
+
- Rounds: 1 (5 broad searches + 11 scrapes)
|
|
133
|
+
- Sources found: 6 (Lovable architecture/clone/docs, Bolt architecture/EvilMartians, OpenAI Codex blog, OpenDev arxiv, Anthropic harness blog, Rocket platform + TechCrunch, Emergent website)
|
|
134
|
+
- Pages created: [[Source: Lovable Architecture & Clone Analysis]], [[Source: Bolt.new Architecture & Case Study]], [[Source: Rocket.new — Vibe Solutioning Platform]], [[Source: OpenAI Harness Engineering — 0 Lines of Human Code]], [[Source: OpenDev — Building AI Coding Agents for the Terminal]] (sources), [[Context-Aware System Reminders]], [[Multi-Agent AI Coding Architecture]] (concepts), [[Lovable (company)]], [[Bolt.new (StackBlitz)]], [[Rocket.new]], [[Emergent Labs]] (entities), [[Research: Automating Software Engineering - Lovable, Bolt, Emergent, Rocket]] (synthesis)
|
|
135
|
+
- Pages updated: [[context-engineering]] (stub → developing, enriched with OpenDev/OpenAI/Anthropic findings)
|
|
136
|
+
- Key finding: Multi-agent architecture (Planner→Architect→Coder/Generator→Evaluator) is universal across all platforms. Environment control (WebContainers, Chrome DevTools MCP, Playwright) is the moat — agents must run and verify code, not just generate it. Context engineering is the central design constraint — progressive disclosure, adaptive compaction, system reminders at decision points. OpenAI built product with 0 lines of human code over 5 months (~1M lines, ~1.5K PRs). Rocket.new thesis: code generation is a commodity; deciding what to build is the missing piece.
|
|
137
|
+
|
|
138
|
+
## [2026-05-03] autoresearch | Engineering Workflows of Legendary Programmers and AI Harness Mapping
|
|
139
|
+
- Rounds: 2 (5 broad searches + 11 scrapes + 3 gap-fill searches)
|
|
140
|
+
- Sources found: 5 (Linux coding style, Unix philosophy, Kernighan interview, Hejlsberg 7 learnings, Guido design philosophy)
|
|
141
|
+
- Pages created: [[linux-kernel-coding-workflow]], [[unix-philosophy]], [[birth-of-unix-kernighan-interview]], [[hejlsberg-7-learnings]], [[guido-python-design-philosophy]] (sources), [[legendary-engineering-patterns-harness]] (concept), [[Linus Torvalds]], [[Ken Thompson]], [[Dennis Ritchie]], [[Anders Hejlsberg]], [[Guido van Rossum]], [[Bjarne Stroustrup]] (entities), [[Research: Engineering Workflows of Legendary Programmers and AI Harness Mapping]] (synthesis)
|
|
142
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
143
|
+
- Key finding: 10 cross-cutting engineering patterns from 6 legendary programmers map directly to harness layers. Core insight: same principles that produced Linux/Unix/C/C++/Python/TypeScript must constrain AI-generated code. Type systems (Hejlsberg, Stroustrup) emerge as essential AI guardrails — deterministic constraints matter MORE with AI, not less. All six programmers oppose vibe coding; human architectural control is non-negotiable. Thompson's productivity demonstrates that deep system understanding enables extreme leverage — semantic codebase indexing is prerequisite, not optional. Subtractive design (McIlroy/Thompson's "what can we throw out") is the antidote to AI bloat but not yet implemented in any harness layer.
|
|
144
|
+
|
|
145
|
+
## [2026-05-03] autoresearch | Skill-First MVP & Harness Implementation Architecture
|
|
146
|
+
- Rounds: 2 (5 broad searches + 5 primary scrapes + 2 gap-fill searches)
|
|
147
|
+
- Sources found: 3 (SwirlAI Skills, Claude API Skills, Blake Crosley Agent Architecture)
|
|
148
|
+
- Pages created: [[Source: SwirlAI Agent Skills Progressive Disclosure]], [[Source: Claude API Agent Skills Overview]], [[Source: Blake Crosley Agent Architecture Guide]] (sources), [[skill-first-architecture]] (concept), [[Research: Skill-First Harness Architecture]] (synthesis)
|
|
149
|
+
- Pages rewritten (major): [[mvp-implementation-blueprint]] (Skill-First v2), [[harness-implementation-plan]] (Skill-First v2)
|
|
150
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
151
|
+
- Key finding: Harness layers should be markdown-based skills, not TypeScript code. Only deterministic infrastructure needs code: event bus, drift monitor, types, config. Cuts code surface from 15 TS files to 4. Progressive disclosure keeps context lean (~480 tokens for all 6 harness skills at discovery vs ~15K tokens for loaded code modules). Independently validated by Anthropic, OpenAI, Google, GitHub, Cursor all adopting the SKILL.md open standard within weeks of release. 20 total files (4 code + 12 skill + 4 config). ~8 weeks to MVP (down from ~9).
|
|
152
|
+
|
|
153
|
+
## [2026-05-03] question | MVP Implementation Blueprint Filed
|
|
154
|
+
- **Page**: [[mvp-implementation-blueprint]] — Filed to `vault/wiki/questions/`.
|
|
155
|
+
- **Source**: Deep wiki query synthesizing HARNESS-PRD, harness-implementation-plan, 18 ADRs (008-025), drift-detection-unified.
|
|
156
|
+
- **Content**: Comprehensive MVP build plan for Groups 1-3 + P20 gate per ADR-015 pipeline-first order. 15 source files defined with type interfaces, config architecture, drift monitor patterns (LLM-first Haiku 4.5 + 6-rule pre-filter), L4 critic via @tintinweb/pi-subagents, P20 deterministic gate (biome+tsc+fallow), L5-L8 trace/memory. ~9-week build order with incremental delivery milestones.
|
|
157
|
+
- Pages updated: [[index]] (added Questions section), [[log]].
|
|
158
|
+
|
|
159
|
+
## [2026-05-02] correction | Fabricated npm packages removed, real tools documented, browser-harness replaces Puppeteer
|
|
160
|
+
- Rounds: 1 (correction research — npm verification + firecrawl searches + GitHub scrapes)
|
|
161
|
+
- Sources created: [[Source: Build-Time Prompt Compilation Architecture]], [[Source: browser-harness CDP Harness]]
|
|
162
|
+
- Concepts created: [[browser-harness-agent]]
|
|
163
|
+
- Pages corrected (PromptKit PackC → real tools): [[Source: PromptKit PackC Compiler]] (replaced by [[Source: Build-Time Prompt Compilation Architecture]]), [[Build-Time Prompt Compilation]], [[Prompt Renderer]], [[Research: Prompt Renderer for Multi-Model Agent Harness]], [[hot]], [[log]], [[index]]
|
|
164
|
+
- Pages corrected (Puppeteer → browser-use): [[browser-subagent-visual-verification]], [[harness-implementation-plan]] (P30), [[HARNESS-PRD]] (P30 + P22b + Q10 + dependency table)
|
|
165
|
+
- Key finding: "PromptKit PackC" was fabricated by LLM hallucination — no such npm package exists. Real alternatives: Microsoft prompt-engine (2.8K stars, MIT, YAML→prompt, abandoned 2022) validates the pattern; PromptWeaver (`@iqai/prompt-weaver`, MIT, Dec 2025) provides Handlebars template compilation + Zod validation. Implementation: DIY pipeline (js-yaml + PromptWeaver + per-model renderer plugins). For browser subagent: browser-harness (9.4K stars, MIT) — thin CDP harness by browser-use — replaces Puppeteer as the LLM-to-Chrome bridge for P30.
|
|
166
|
+
|
|
167
|
+
## [2026-05-02] autoresearch | TypeScript Best Practices and Codebase Structure
|
|
168
|
+
- Rounds: 2 (5 broad searches + 5 primary fetches + 5 gap-fill searches + 5 gap-fill fetches)
|
|
169
|
+
- Sources found: 10 | Fetched: 10
|
|
170
|
+
- Pages created: [[ts-strict-mode-rishikc]], [[ts-runtimes-comparison-betterstack]], [[barrel-files-tkdodo]], [[ts-monorepo-koerselman]], [[vitest-official]], [[ts-folder-structure-mingyang]], [[ts-best-practices-2025-devto]], [[ts-result-error-handling-kkalamarski]] (sources), [[typescript-strict-mode]], [[barrel-files]], [[monorepo-architecture]], [[result-monad-error-handling]] (concepts), [[javascript-runtimes]], [[vitest]] (entities), [[Research: TypeScript Best Practices and Codebase Structure]] (synthesis)
|
|
171
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
172
|
+
- Key finding: Enable `strict: true` by default. Avoid barrel files in app code (68% module bloat). Node.js remains safest runtime choice. Built-package strategy preferred for TS monorepos. Vitest replaced Jest as default test runner. Backend folders should be named by technical capability, not feature. Result monad pattern enables declarative error handling. ESLint `@typescript-eslint/recommended-type-checked` pairs with strict mode for defense-in-depth.
|
|
173
|
+
|
|
174
|
+
## [2026-05-02] autoresearch | Prompt Renderer for Multi-Model Agent Harness (CORRECTED 2026-05-02)
|
|
175
|
+
- Rounds: 2 (5 broad searches + 6 primary fetches + 2 gap-fill searches)
|
|
176
|
+
- Sources found: 4 (AgentBus Jinja2, TianPan Caching, Arxiv "Don't Break the Cache", Microsoft prompt-engine)
|
|
177
|
+
- Pages created: [[Prompt Renderer]], [[Build-Time Prompt Compilation]] (concepts), [[Source: Build-Time Prompt Compilation Architecture]], [[Source: AgentBus Jinja2 Prompt Pipelines]], [[Source: TianPan Prompt Caching Architecture]], [[Source: Arxiv — Don't Break the Cache]] (sources), [[Research: Prompt Renderer for Multi-Model Agent Harness]] (synthesis)
|
|
178
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
179
|
+
- **CORRECTION (2026-05-02)**: "PromptKit PackC" (npm, v1.4.6, 48 versions) does NOT exist — it was fabricated. The architecture pattern is valid but no mature off-the-shelf npm package implements it. Real tools: Microsoft prompt-engine (2.8K stars, MIT, abandoned 2022) validates YAML→prompt pattern; PromptWeaver (`@iqai/prompt-weaver`, MIT, Dec 2025) provides Handlebars template compilation + Zod validation. Implementation: DIY pipeline (js-yaml + PromptWeaver + per-model renderer plugins). See [[Source: Build-Time Prompt Compilation Architecture]].
|
|
180
|
+
- Key finding: Build-time prompt compilation is a PROVEN ARCHITECTURAL PATTERN — but no off-the-shelf npm package exists. Implementation: DIY pipeline (js-yaml + @iqai/prompt-weaver + per-model renderers). The architecture: base prompt spec (YAML) → per-model renderers (GPT/Claude/Gemini plugins applying each provider's official conventions) → compiled JSON shipped in npm → runtime just does string substitution for variables. Multi-tier caching (semantic → prefix → full) is well understood (41-80% cost savings, Arxiv-validated). Each model needs fundamentally DIFFERENT prompting conventions — OpenAI constraints-first, Anthropic XML tags, Google constraints-last — a single canonical prompt relaxed per model is WRONG. Two-phase variable system: compile-time vars produce multiple compiled variants, runtime vars are simple string-replace placeholders. Integration: new harness module (Phase P22b from prior research), compiler as `npm run compile-prompts` build step, compiled output in `dist/prompts/`.
|
|
181
|
+
|
|
182
|
+
## [2026-05-01] autoresearch | executor.sh Harness Integration
|
|
183
|
+
- Rounds: 1 (1 search, 3 fetches: executor.sh landing, GitHub README, DeepWiki architecture)
|
|
184
|
+
- Sources updated: [[executor-rhyssullivan]] (major rewrite — added product positioning, architecture, policy engine, DeepWiki details)
|
|
185
|
+
- Pages created (synthesis): [[Research: executor.sh Harness Integration]]
|
|
186
|
+
- Pages updated: [[harness-implementation-plan]] (new P43b + P43c sub-phases from Executor patterns, executor.sh research linked in related, new sub-phases in TS Execution Layer Validation table), [[index]], [[log]], [[hot]]
|
|
187
|
+
- Key finding: executor.sh positions RhysSullivan/executor as an **integration layer** (not just TS execution layer) — a unified catalog + auth + policy + execution runtime spanning OpenAPI, GraphQL, MCP, and custom sources. This scope is broader than our P43 classification. Three gaps revealed: (1) no tool catalog with intent-based discovery (`tools.discover()`), (2) no shared auth for external tools, (3) no execution pause/resume for human-in-the-loop. New P43b (Tool Catalog with Discovery) and P43c (Policy-Aware Execution) sub-phases added. Executor independently validates our First Principle #19 (code > JSON for tool calling) and extends it with policy/auth/execution lifecycle. Build vs integrate: use Executor as dependency for external API integration (post-v1); build custom runtime for harness-native L3 tools with borrowed catalog/discovery/policy patterns.
|
|
188
|
+
|
|
189
|
+
## [2026-05-01] autoresearch | Fallow Codebase Intelligence Harness Integration
|
|
190
|
+
- Rounds: 1 (3 DuckDuckGo searches, 1 primary GitHub fetch, 4 ecosystem searches)
|
|
191
|
+
- Sources fetched: 1 (fallow-rs/fallow GitHub README + docs)
|
|
192
|
+
- Pages created (sources): [[fallow-rs-codebase-intelligence]]
|
|
193
|
+
- Pages created (concepts): [[codebase-intelligence-harness-integration]], [[codebase-intelligence-ecosystem-comparison]]
|
|
194
|
+
- Pages created (synthesis): [[Research: Fallow Codebase Intelligence Harness Integration]]
|
|
195
|
+
- Pages updated: [[harness-implementation-plan]] (new phases P44a-P44g, Fallow Validation section, New Tools table, updated sources/related), [[index]] (fallow source + concepts + synthesis), [[log]], [[hot]]
|
|
196
|
+
- Key finding: Fallow (1.7K stars, MIT, Rust-native) is the ONLY codebase intelligence tool across TS/JS, Python, Go, Rust, and Elixir that provides dead code + duplication + complexity + boundaries in one sub-second package. Purpose-built for AI agents (MCP server, JSON `actions` array, `auto_fixable` flags). Fits 7 harness integration points: L3 tool calling (P44a), P15b pre-verify (P44b), Phase 16 gate (P44c), L5 observability (P44d), P29 error classification (P44e), L6 baselines (P44f), P42 automations (P44g). No ecosystem has a fallow-equivalent — every other language requires 3-5 separate tools for similar coverage.
|
|
197
|
+
|
|
198
|
+
## [2026-05-01] autoresearch | TypeScript Execution Layer for Agent Tool Calling
|
|
199
|
+
- Rounds: 1 (5 searches, 8 fetches across CodeAct, Cloudflare Code Mode, Executor, McNamara analysis)
|
|
200
|
+
- Sources fetched: 4 (Apple CodeAct research page, Cloudflare Code Mode official docs + GitHub, Executor GitHub README, McNamara context optimization analysis)
|
|
201
|
+
- Pages created (sources): [[codeact-apple-2024]], [[cloudflare-codemode]], [[executor-rhyssullivan]], [[colinmcnamara-context-optimization-codemode]]
|
|
202
|
+
- Pages created (concepts): [[ts-execution-layer]]
|
|
203
|
+
- Pages created (synthesis): [[Research: TypeScript Execution Layer for Agent Tool Calling]]
|
|
204
|
+
- Pages updated: [[harness-implementation-plan]] (new First Principle #19, new L3 phase P43, TS Execution Layer Validation section, updated savings mechanisms), [[mcp-tool-routing]] (added TS execution layer as alternative #4), [[agentic-harness-context-enforcement]] (added Layer 6: TypeScript Execution Layer, recommendation #6), [[index]], [[log]], [[hot]]
|
|
205
|
+
- Key finding: Three independent systems converge on the TypeScript execution layer pattern — Apple CodeAct (ICML 2024: +20% success, -30% turns), Cloudflare Code Mode (production: 3-4x context reduction, Worker sandbox), Executor (open-source: 1.3K stars, local-first TS runtime). Core insight: LLMs are better at writing code to orchestrate tools than at making individual tool calls. New P43 phase adds single `write_ts` tool + sandboxed TypeScript runtime with typed API for all L3 tools. Extends P14 (Think-in-Code) from data analysis to full tool orchestration. 3-4x context reduction on multi-tool workflows.
|
|
206
|
+
|
|
207
|
+
## [2026-05-01] autoresearch | Gemini CLI SOTA + Harness Integration from First Principles
|
|
208
|
+
- Rounds: 1 (5 broad searches, 8 primary fetches, 3 gap-fill fetches)
|
|
209
|
+
- Sources fetched: 8 (official architecture docs, official blog announcement, Render benchmark, Martin Fowler harness engineering, LangChain harness anatomy, OpenAI 5 principles summary, Augment harness engineering guide, Gemini CLI changelogs)
|
|
210
|
+
- Pages created (sources): [[Source: Google Gemini CLI Architecture Docs]], [[Source: Google Blog - Gemini CLI Announcement]], [[Source: Render AI Coding Agents Benchmark 2025]], [[Source: Martin Fowler - Harness Engineering]], [[Source: LangChain - Anatomy of Agent Harness]], [[Source: OpenAI Harness Engineering Five Principles]], [[Source: Augment - Harness Engineering for AI Coding Agents]], [[Source: Gemini CLI Changelogs]]
|
|
211
|
+
- Pages created (concepts): [[harness-engineering-first-principles]], [[agent-skills-pattern]], [[policy-engine-pattern]], [[gemini-cli-architecture]]
|
|
212
|
+
- Pages created (synthesis): [[Research: Gemini CLI SOTA Harness Integration]]
|
|
213
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
214
|
+
- Key finding: Gemini CLI (launched June 2025, v0.40+, 103k GitHub stars, 6,005 commits) introduced 15 SOTA harness primitives: agent skills with progressive disclosure, Plan Mode, codebase investigator subagent, context compression, chapters narrative, policy engine, subagents+remote agents (A2A), event-driven hooks, four-tier memory, multi-registry architecture, browser agent, model routing, sandboxing stack, git worktrees, extensions ecosystem. Seven integration opportunities identified from first principles (not feature-copying): P-F1 pre-execution policy gates, P-F2 skills activation mechanism, P-F3 research subagents for planning, P-F4 event-driven hooks middleware, P-F5 git worktree sessions, P-F6 chapters narrative, P-F7 browser agent. Each derived from harness engineering first principles (Feedforward-Feedback, Mechanical Enforcement, Progressive Disclosure, Model-Harness Independence). Benchmark shows Gemini CLI excels at editing existing codebases (context-driven) but struggles on greenfield — validates our grounding-heavy approach.
|
|
215
|
+
|
|
216
|
+
## [2026-05-01] autoresearch | Codex State-of-the-Art Harness Improvements
|
|
217
|
+
- Rounds: 1 (1 round, 8 primary fetches from GitHub + official docs)
|
|
218
|
+
- Sources fetched: 8 (GitHub repo README, AGENTS.md, codex-rs README, official docs subagents/memories/sandboxing/hooks/skills/workflows pages)
|
|
219
|
+
- Pages created (sources): [[codex-open-source-agent-2026]]
|
|
220
|
+
- Pages created (concepts): [[codex-harness-innovations]]
|
|
221
|
+
- Pages created (synthesis): [[Research: Codex State-of-the-Art Harness Improvements]]
|
|
222
|
+
- Pages updated: [[harness-implementation-plan]] (new First Principles #16-18, Codex Validation section, phases P38-P42, updated master description), [[index]], [[hot]], [[log]]
|
|
223
|
+
- Key finding: Codex (79.2K GitHub stars, open-source Apache 2.0, Rust 96.3%) independently validated 7 of our planned features (model-adaptive, skills, hooks, subagents, pre-verification, memory, worktrees) and revealed 5 new gaps: OS-level sandbox enforcement (P38), MCP server mode (P39), skills ecosystem tooling (P40), implicit memory capture (P41), scheduled automations (P42). Three novel architectural patterns: multi-surface agent architecture, Rust-native implementation as first-principles choice, sandbox as foundation with permissions as policy layer (FP #16). Codex also introduces bidirectional MCP (FP #17) and Chronicle-style implicit memory (FP #18).
|
|
224
|
+
|
|
225
|
+
## [2026-05-01] autoresearch | Claude Code State-of-the-Art Harness Improvements
|
|
226
|
+
- Rounds: 1 (4 broad searches, 6 primary fetches, official docs verification)
|
|
227
|
+
- Sources fetched: 6 (VILA-Lab arxiv paper, Qubytes architecture deep-dive, KaraxAI systems walkthrough, Penligent security architecture, official Agent SDK docs, official Hooks reference)
|
|
228
|
+
- Pages created (sources): [[claude-code-architecture-vila-lab-2026]], [[claude-code-architecture-qubytes-2026]], [[claude-code-architecture-karaxai-2026]], [[claude-code-security-architecture-penligent-2026]]
|
|
229
|
+
- Pages created (concepts): [[structured-compaction]], [[lifecycle-hooks]], [[subagent-worktree-isolation]]
|
|
230
|
+
- Pages created (synthesis): [[Research: Claude Code State-of-the-Art Harness Improvements]]
|
|
231
|
+
- Pages updated: [[harness-implementation-plan]] (new First Principles #12-15, Claude Code Validation section, phases P33-P37, updated gaps), [[index]], [[hot]], [[log]]
|
|
232
|
+
- Key finding: Claude Code's architecture (reverse-engineered from 510K-line TypeScript codebase, 82K+ GitHub stars) is the most sophisticated production agent harness. Six major innovations not in our plan: five-layer structured compaction (P34), 30+ lifecycle hook events with exit-code semantics (P33), permission subsystem with ML classifier (P35), subagent worktree isolation (P25b), additive config hierarchy (P37), session storage with checkpointing (P36). Claude Code validated 3 of our features (FP #1 harness>model, model-adaptive, skills system). Design tensions: embeddings (P13) vs agentic search, pipeline vs reactive loop. Four deliberate non-adoptions: plugin ecosystem, multi-surface interface, OS sandboxing, CLAUDE.md every-turn injection.
|
|
233
|
+
|
|
234
|
+
## [2026-05-01] autoresearch | Google Antigravity Harness Integration
|
|
235
|
+
- Rounds: 2 (5 broad searches, 4 gap-fill searches, 8 sources fetched)
|
|
236
|
+
- Sources fetched: 8 (Google official blog, Wikipedia, Cursor-vs-Antigravity comparison, Architecture deep dive, VentureBeat, MarkTechPost, The New Stack hands-on, engineering.01cloud deep dive)
|
|
237
|
+
- Pages created (sources): [[google-antigravity-official-blog]], [[google-antigravity-wikipedia]], [[cursor-vs-antigravity-2026]]
|
|
238
|
+
- Pages created (concepts): [[antigravity-agent-first-architecture]], [[agent-artifacts-verifiable-deliverables]], [[browser-subagent-visual-verification]]
|
|
239
|
+
- Pages created (synthesis): [[Research: Google Antigravity Harness Integration]]
|
|
240
|
+
- Pages updated: [[harness-implementation-plan]] (new First Principle #11, Antigravity Validation section, new phases P30/P31/P32, updated token budget), [[index]] (antigravity concepts + sources), [[hot]] (antigravity section), [[log]]
|
|
241
|
+
- Key finding: Google Antigravity (launched Nov 2025, Windsurf $2.4B acq) independently validated 7 of our planned features (model-adaptive, pre-verification isolation, subagent specialization, self-evolving harness, skills system, adversarial verification, dynamic context — different approaches). Revealed 3 critical gaps: no browser/visual verification (P30), no artifact generation for human review (P31), no cross-project learning (P32). First-principles lesson: trust requires proof (artifacts), not just criticism (adversarial review) — both are mandatory. Deliberately NOT adopting: 1M token context window (too expensive), full IDE integration (we are CLI), Google Cloud lock-in, $249.99/mo pricing.
|
|
242
|
+
|
|
243
|
+
## [2026-05-01] autoresearch | cursor.sh Harness Innovations
|
|
244
|
+
- Rounds: 2 (5 broad searches, 5 primary fetches, 2 gap-fill fetches)
|
|
245
|
+
- Sources fetched: 7 (Cursor engineering blog: shadow workspace, agent best practices, harness evolution, instant apply; ByteByteGo deep dive; MMNTM architecture analysis; speculative editing analysis)
|
|
246
|
+
- Pages created (sources): [[cursor-shadow-workspace-2024]], [[cursor-agent-best-practices-2026]], [[cursor-harness-april-2026]], [[cursor-shipped-coding-agent-2026]], [[cursor-instant-apply-2024]], [[cursor-fork-29b-2025]]
|
|
247
|
+
- Pages created (concepts): [[cursor-harness-innovations]]
|
|
248
|
+
- Pages created (synthesis): [[Research: cursor.sh Harness Innovations]]
|
|
249
|
+
- Pages updated: [[harness-implementation-plan]] (new First Principles #8-10, new phases P15b/P28/P29, P25 evolved to Subagent Specialization Router, P21 extended with Keep Rate + LLM-as-Judge, P10 extended with full-file rewrite mode, Cursor Validation section, F4 sandbox-as-infra), [[index]], [[log]], [[hot]]
|
|
250
|
+
- Key finding: Cursor's production harness ($1B ARR, 400M+ daily requests) independently validated 5 of our planned features (model-adaptive harness, dynamic context, P27 context anxiety, F1 self-evolving harness, P10 fuzzy edits) and revealed 4 critical gaps now incorporated: pre-verification isolation sandbox (P15b), positive agent loop hooks (P28), per-tool per-model error classification (P29), and subagent specialization routing (P25 evolved). First-principles lesson: pre-verification beats post-verification, Keep Rate > benchmark scores, error classification enables self-healing, positive loops as important as negative loops.
|
|
251
|
+
|
|
252
|
+
## [2026-05-01] research | Model-Specific Prompting Guides — Harness Redesign
|
|
253
|
+
- Rounds: 1 (direct fetch of official provider documentation)
|
|
254
|
+
- Sources fetched: 3 (OpenAI, Anthropic, Google Cloud official prompting guides)
|
|
255
|
+
- Pages created (sources): [[openai-prompt-guidance]], [[anthropic-prompt-best-practices]], [[gemini-3-prompting-guide]]
|
|
256
|
+
- Pages created (concepts): [[provider-native-prompting]]
|
|
257
|
+
- Pages created (synthesis): [[Research: Model-Specific Prompting Guides]]
|
|
258
|
+
- Pages rewritten: [[model-adaptive-harness]] (v2 redesign — retired "write once for strictest" principle), [[harness-configuration-layers]] (added Gemini column, provider-native dimensions, official sources)
|
|
259
|
+
- Pages updated: [[index]], [[log]]
|
|
260
|
+
- Key finding: Every major model provider now publishes OFFICIAL prompting guidance specific to their models. The current harness design ("write once for strictest, relax for forgiving") is WRONG according to official guidance. Each provider specifies fundamentally DIFFERENT prompting conventions — not just different strictness levels. OpenAI says constraints-first, Google says constraints-LAST. OpenAI (5.5+) says shorter outcome-first, the harness generates verbose constraint-heavy prompts. Anthropic mandates XML tags, Google uses plain text. The redesign: generate provider-native prompts from a semantic spec via pluggable renderers — never generate a single canonical prompt and relax it. New module: Prompt Renderer (Phase P22b).
|
|
261
|
+
|
|
262
|
+
## [2026-04-30] autoresearch | Augment Embedding Model, Chunking Strategy, Local vs Cloud Embeddings
|
|
263
|
+
- Rounds: 2 (5 broad searches, 5 gap-fill searches, 5 sources fetched)
|
|
264
|
+
- Sources fetched: 5 (cAST paper, code-chunk blog, embedding benchmark, CoIR benchmark, Vectara NAACL 2025)
|
|
265
|
+
- Pages created (sources): [[cast-code-chunking-paper]], [[vectara-chunking-vs-embedding-naacl2025]], [[coir-code-retrieval-benchmark]], [[code-chunk-library-supermemory]], [[embedding-models-benchmark-supermemory-2025]]
|
|
266
|
+
- Pages created (concepts): [[AST-Aware Code Chunking]], [[Contextualized Text Embedding]], [[Late Chunking vs Early Chunking]]
|
|
267
|
+
- Pages updated: [[Research: Augment Code Context Engine]] (3 open questions resolved, 4 remaining)
|
|
268
|
+
- Key finding: Augment's exact embedding model + vector DB remain undisclosed, but latest research (cAST paper June 2025, Vectara NAACL 2025) shows AST-aware chunking matters more than model choice. MiniLM-L6-v2 is 5-8% less accurate than larger models but this gap can be partially closed by AST-aware chunking + contextualized text prepending. Recommendation: start with MiniLM-L6-v2 + tree-sitter AST chunking + contextualized text, run CoIR benchmark eval, upgrade to BGE-code-v1 if needed.
|
|
269
|
+
|
|
270
|
+
## [2026-04-30] autoresearch | Augment Code Context Engine
|
|
271
|
+
- Rounds: 1
|
|
272
|
+
- Sources found: 8
|
|
273
|
+
- Pages created: [[Research: Augment Code Context Engine]] (synthesis), [[Augment Context Engine Official]], [[Augment SWE-bench Agent GitHub]], [[Augment SWE-bench Pro Blog]], [[Augment Code WorkOS ERC 2025]], [[Augment Code Codacy AI Giants]], [[Augment Code MCP SiliconAngle]], [[Auggie Context MCP Server]], [[Context Engine (AI Coding)]], [[Semantic Codebase Indexing]], [[Dual-Model Agent Architecture]], [[Prompt Enhancement]], [[Majority Vote Ensembling]], [[Contractor vs Employee AI Model]], [[Augment Code]]
|
|
274
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
275
|
+
- Key finding: Augment Code's Context Engine is a semantic codebase search engine that achieves #1 SWE-bench Pro (51.80%). Same model (Claude Opus 4.5) scores 6 points higher with better context. Context quality > model intelligence. Implementation plan: 6 modules (semantic indexer, context retrieval, prompt enhancer, MCP server, dual-model agent, multi-source aggregator) integrable into our harness using existing infrastructure (lean-ctx, wiki, ctx_knowledge) + new components (LanceDB/ChromaDB embeddings, tree-sitter AST chunking, watchdog sync).
|
|
276
|
+
|
|
277
|
+
## [2026-04-30] autoresearch | Resolution of 46 Open Questions Across 6 Themes
|
|
278
|
+
- Rounds: 2 (6 theme searches, 12 sources fetched)
|
|
279
|
+
- Pages created: [[resolved-context-pruning-inplace-vs-restart]], [[resolved-treesitter-dynamic-languages]], [[resolved-imad-debate-gating-transfer]], [[resolved-small-model-meta-agents]], [[resolved-mcp-tool-preference]], [[resolved-context-window-economics]]
|
|
280
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
281
|
+
- Key finding: 46 open questions across 11 wiki pages resolved via 6 cross-cutting theme resolutions. Major outcomes: (1) In-place context editing is the production pattern — session restart is fallback. Claude API, OpenCode DCP, OpenClaw all use in-place clearing. (2) Tree-sitter handles 80% of dynamic language parsing — static analysis (mypy/Pyright) + runtime profiling cover remaining 20%. (3) iMAD debate gating transfers from QA to code review in principle, needs code-specific hesitation cues and model-specific classifiers. (4) Haiku/Flash can serve as meta-agent drift detectors at near-zero cost. (5) MCP has no priority system — tool preference achieved through prompt engineering + harness interception. (6) Token allocation follows 10-20-40 rule (repo-map/conversation/files), monorepos need hierarchical L0-L2 progressive disclosure, pre-computed repo maps are primary optimization.
|
|
282
|
+
|
|
283
|
+
## [2026-04-30] harness | Mandatory consensus-to-wiki filing rule
|
|
284
|
+
- Decision: Winning consensus from any agent debate MUST be filed in project wiki for permanent agent alignment.
|
|
285
|
+
- Pages updated: [[consensus-debate]] (converted open question to mandatory rule, updated verdict semantics, integration points), [[harness-implementation-plan]] (new First Principle #7, new build phase P19b, new Consensus Filing Contract section, updated wiki contract), [[adr-011]] (strengthened wiki filing from mitigation to mandatory, added alignment benefit), [[selective-debate-routing]] (added wiki filing to implementation sketch), [[harness]] (updated key design decisions)
|
|
286
|
+
- Pages created: [[consensus-records]] (consensus records directory with template)
|
|
287
|
+
- Key finding: Without permanent alignment records, future agents re-litigate settled debates. Wiki consensus records close this loop — agents query before forming positions, harness blocks contradictions. All 4 verdict types file (CONSENSUS_REACHED, DEADLOCK, BUDGET_EXHAUSTED, TIMEOUT). Enforced by L7 write-after contract per ADR-010.
|
|
288
|
+
|
|
289
|
+
## [2026-04-30] autoresearch | GitHub Issues as Harness Spec Storage
|
|
290
|
+
- Rounds: 1 (+ fork/multi-tenant deep dive)
|
|
291
|
+
- Sources found: 5 (GH docs: sub-issues, dependencies; community: gh-sub-issue extension; feature request: cli/cli#10298; fork discussion: #161368)
|
|
292
|
+
- Pages created: [[Research: GitHub Issues as Harness Spec Storage]], [[github-sub-issues-docs]], [[github-issue-dependencies-docs]], [[gh-sub-issue-extension]], [[gh-cli-sub-issue-rfc]], [[github-fork-issues-discussion]]
|
|
293
|
+
- Pages created (concepts): [[fork-safe-spec-storage]], [[content-addressed-spec-identity]]
|
|
294
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
295
|
+
- Key finding: GitHub Issues has native sub-issues (April 2025, up to 8 levels deep) and issue dependencies (blocked-by/blocking) — both map directly to harness spec decomposition (L1) and task DAGs (L2). `gh` CLI lacks native support but `gh-sub-issue` extension bridges the gap. Recommended architecture: dual-tier (local JSON cache + GitHub Issue ledger) — cloud persistence for major state transitions only, not every micro-step.
|
|
296
|
+
- Integration: L1 spec hardening → create parent issue. L2 structured planning → create sub-issues for tasks, link with dependencies. Issue comments as immutable execution audit log. Labels encode machine-readable state.
|
|
297
|
+
- Fork safety: `.pi/harness/specs/` gitignored (runtime cache, never committed). Forks get clean issue tracker via `ultimate-pi harness init` bootstrap (enable issues, create labels, set repo context). No upstream spec leakage.
|
|
298
|
+
|
|
299
|
+
## [2026-04-30] consolidate | First-Principles Harness Consolidation
|
|
300
|
+
- All April 2026 research integrated into master plan
|
|
301
|
+
- Pages created: [[harness-control-frameworks]] (unified H-formalism + feedforward-feedback + generator-evaluator), [[drift-detection-unified]] (3 complementary drift paradigms with clear boundaries), [[think-in-code-enforcement]] (L3 module with 3-layer enforcement)
|
|
302
|
+
- Pages rewritten: [[harness-implementation-plan]] (27 build phases, unified token budget, all tools/research), [[harness]] (updated pipeline with L2.5 + cross-cutting tools), [[index]] (full reorganization, all 30+ concepts), [[adr-011]] (selective routing per iMAD), [[model-adaptive-harness]] (canonical entry point, de-duplicated)
|
|
303
|
+
- Duplication resolved: layer numbering (P0-P27 mapped to layers), drift detection (3 paradigms unified), token budget (single table), model profiles (entry + detailed split), control frameworks (3 frameworks as orthogonal dimensions), ADR-011 staleness (selective routing), index freshness (all concepts listed)
|
|
304
|
+
- New tools integrated: ck (P13), Gitingest (P15), pi-messenger (P17), pi-lean-ctx (done)
|
|
305
|
+
- New paradigms: Think-in-Code L3 module, selective debate routing (92% savings), context drift as positive feedback loop, 3 quality concerns → 3 timings
|
|
306
|
+
- Unified token budget: ~15K-16K/subtask (down from ~17.5K baseline)
|
|
307
|
+
|
|
308
|
+
## [2026-04-30] autoresearch | Meta-Agent Context Drift Detection
|
|
309
|
+
- Rounds: 2
|
|
310
|
+
- Sources found: 10 (searched), 9 fetched, 4 filed as source pages
|
|
311
|
+
- Pages created: [[Research: Meta-Agent Context Drift Detection]], [[ironclaw-drift-monitor]], [[langsight-loop-detection]], [[agent-drift-academic-paper]], [[vectara-guardian-agents]], [[context-drift-in-agents]], [[meta-agent-context-pruning]], [[agent-loop-detection-patterns]], [[guardian-agent-pattern]]
|
|
312
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
313
|
+
- Key finding: The meta-agent concept (detect stuck → prune context → restart) is a NOVEL SYNTHESIS. Each component exists independently (ironclaw DriftMonitor for detection, SWE-Pruner for context pruning, LangSight for loop detection, Vectara for guardian agents) but no system combines all three phases. The closest prior art is nearai/ironclaw #1634 (March 2026) which implements detection + injection but does NOT prune context. Academic foundation: Agent Drift paper (arxiv 2601.04170) quantifies 42% task success reduction from drift, ASI framework across 12 dimensions. Proposed harness integration: Layer 2.5 — Runtime Drift Monitor between L2 (Plan) and L3 (Execute).
|
|
314
|
+
|
|
315
|
+
## [2026-04-30] autoresearch | Agentic Coding Harness Latest Papers & Pipeline Improvements
|
|
316
|
+
- Rounds: 2
|
|
317
|
+
- Sources found: 9 (2 surveys, 5 papers, 2 production engineering blogs)
|
|
318
|
+
- Pages created: [[research-agentic-coding-harness-latest-papers]] (synthesis), [[meng2026-agent-harness-survey]], [[anthropic2026-harness-design]], [[bockeler2026-harness-engineering]], [[lou2026-autoharness]], [[lee2026-meta-harness]], [[fan2025-imad]], [[harness-h-formalism]], [[feedforward-feedback-harness]], [[generator-evaluator-architecture]], [[self-evolving-harness]], [[selective-debate-routing]], [[context-anxiety]]
|
|
319
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
320
|
+
- Key finding: Harness has a formal model H=(E,T,C,S,L,V). Self-evaluation fundamentally broken — separate generator from evaluator. Debate should be selective not always-on (iMAD: 92% token savings). Harnesses can self-evolve (AutoHarness, Meta-Harness). 5 immediate pipeline improvements identified: hard-threshold L4 criteria, sprint contracts at L2, pre-debate gating classifier, H-formalism mapping, feedforward/feedback audit. 3 future phases proposed: harness auto-optimization, behaviour harness, context anxiety guard.
|
|
321
|
+
|
|
322
|
+
## [2026-04-30] research | Model-Adaptive Agent Harness Design
|
|
323
|
+
- Rounds: 1 (deep first-principles analysis + Forge Code source)
|
|
324
|
+
- Sources found: 1 (Forge Code blog: GPT 5.4 vs Opus 4.6 on TermBench 2.0)
|
|
325
|
+
- Pages created: [[Research: Model-Adaptive Agent Harness Design]], [[forgecode-gpt5-agent-improvements]], [[model-adaptive-harness]], [[harness-configuration-layers]]
|
|
326
|
+
- Pages updated: [[index]], [[log]], [[hot]]
|
|
327
|
+
- Key finding: Agent harness must be a model-specialized system, not a one-size-fits-all script. Four configurable layers (Signal, Gate, Channel, Completion) each have dimensions that vary by model. GPT needs flat structure, constraints-first ordering, enforced gates, in-band signals. Opus tolerates nesting, infers from metadata, self-corrects. The harness pipeline we are building must incorporate per-model specialization — write once for strict (GPT-safe), relax for forgiving (Opus).
|
|
328
|
+
|
|
329
|
+
## [2026-04-30] harness | First-principles rethink: split lint+format from inline validation → new Phase 16
|
|
330
|
+
- Decision: Lint + format must NEVER run inline. Syntax validation (compilers/parsers) stays inline (Phase 12). Lint + format becomes final gate (Phase 16, post-L4).
|
|
331
|
+
- Pages updated: [[harness-implementation-plan]] (Phase 12 renamed, Phase 16 added, build phases table, token budget, architecture changes), [[inline-post-edit-validation]] (removed linters from inline, added Phase 16 pointer, split validator tables), [[hot]] (new entry), [[log]] (this entry)
|
|
332
|
+
- Key finding: Three distinct quality concerns with different timing — syntax (inline, blocks progress), semantics (L4, needs LLM), style (final gate, deterministic tools). Bundling them wastes tokens + breaks edit tool contracts. Formatting MUST be last: it touches every line, invalidating all line numbers for any subsequent operation.
|
|
333
|
+
- Pipeline order: L3(Edit+Syntax) → L4(Verify) → Phase 16(Lint+Format) → L5(Observe)
|
|
334
|
+
|
|
335
|
+
## [2026-04-30] research | Consensus Debate: Multi-Agent Argument for Harness
|
|
336
|
+
- Rounds: 1 (direct first-principles analysis + pi-messenger source analysis)
|
|
337
|
+
- Sources found: 1 (pi-messenger GitHub: registry, store, handlers, crew source)
|
|
338
|
+
- Pages created: [[adr-011]], [[consensus-debate]], [[pi-messenger-analysis]]
|
|
339
|
+
- Pages updated: [[harness-implementation-plan]] (added Phases 14-15), [[index]], [[hot]]
|
|
340
|
+
- Synthesis: This page (log entry)
|
|
341
|
+
- Key finding: Best human software decisions come from back-and-forth arguing. This applies even more to agents — multi-round dialectical debate is a substitute for the intuition agents lack. pi-messenger's file-based agent messaging (registry, inbox, fs.watch) is the right transport layer. Strip all overlays (chat UI, status bar, activity feed, crew orchestration). Build consensus protocol on top: DebateSession, ConsensusBudget, turn protocol, convergence detection, verdict generation. Integration points: L1 (spec debate), L2 (plan debate), L4 (multi-round adversarial). Adds ~13K tokens/subtask but self-funding — one caught flaw saves downstream cost.
|
|
342
|
+
- Architecture: pi-messenger transport (stripped) → Consensus protocol layer → Harness L1/L2/L4 debate spawns. File-based, no server, no daemon. Agents communicate peer-to-peer via inbox directories.
|
|
343
|
+
|
|
344
|
+
## [2026-04-30] harness | adopt pi-lean-ctx native package, drop custom extension
|
|
345
|
+
- Decision: [[2026-04-30-pi-lean-ctx-native]]
|
|
346
|
+
- Changes: deleted `extensions/lean-ctx-enforce.ts`, added `npm:pi-lean-ctx` to `.pi/settings.json`, updated SYSTEM.md, package.json, SKILL.md
|
|
347
|
+
- Key finding: pi-lean-ctx (v3.4.5) provides 48 MCP tools, auto read-mode selection, spawnHook bash wrapping, compression stats. Replaces basic custom extension completely.
|
|
348
|
+
- Verification: tsc check passes, all peer deps satisfied, @sinclair/typebox aliased by jiti loader.
|
|
349
|
+
|
|
350
|
+
## [2026-04-30] autoresearch | semantic code search tools
|
|
351
|
+
- Rounds: 2
|
|
352
|
+
- Sources found: 5
|
|
353
|
+
- Pages created: [[ck-semantic-search]], [[vgrep-semantic-search]], [[ck-tool]], [[vgrep-tool]], [[hybrid-code-search]], [[agent-search-enforcement]], [[mcp-tool-routing]], [[Research: semantic code search tools]]
|
|
354
|
+
- Synthesis: [[Research: semantic code search tools]]
|
|
355
|
+
- Key finding: ck (BeaconBay/ck, 1.6k ⭐) is best drop-in semantic grep for AI agents. Enforcement needs 3-layer defense: system prompt rules + MCP registration + shell/harness routing. No tool currently auto-enforces.
|
|
356
|
+
|
|
357
|
+
## [2026-04-30] autoresearch | context-mode vs lean-ctx
|
|
358
|
+
- Rounds: 1 (truncated — sufficient data from direct sources)
|
|
359
|
+
- Sources found: 3
|
|
360
|
+
- Pages created: [[context-mode-website]], [[leanctx-website]], [[think-in-code-blog]], [[think-in-code]], [[agentic-harness-context-enforcement]], [[Research: context-mode vs lean-ctx]]
|
|
361
|
+
- Synthesis: [[Research: context-mode vs lean-ctx]]
|
|
362
|
+
- Key finding: context-mode excels at sandbox enforcement + Think in Code paradigm; lean-ctx excels at intelligent compression + agent governance. They address different halves of the context problem and could theoretically coexist.
|
|
363
|
+
|
|
364
|
+
## [2026-04-30] autoresearch | GitIngest and GitReverse Integration
|
|
365
|
+
- Rounds: 1 (direct source analysis — both service homepages, READMEs, APIs, output formats)
|
|
366
|
+
- Sources found: 2
|
|
367
|
+
- Pages created: [[gitingest]], [[gitreverse]], [[codebase-to-context-ingestion]], [[research-gitingest-gitreverse-integration]]
|
|
368
|
+
- Synthesis: [[research-gitingest-gitreverse-integration]]
|
|
369
|
+
- Key finding: Gitingest (codebase → structured text) is a strong fit for the harness. It fills a gap — the harness has no bulk codebase ingestion mechanism, only file-by-file lean-ctx reading. GitReverse (repo → synthetic LLM prompt) is not useful — it generates prompts FROM repos, but the harness receives prompts. Recommendation: integrate Gitingest via a `/gitingest` skill (renamed from `/ingest` to avoid clash with wiki-ingest). Skip GitReverse.
|
|
370
|
+
|
|
371
|
+
## [2026-04-30] autoresearch | WOZCODE Token-Reduction Architecture
|
|
372
|
+
- Rounds: 1 (direct source analysis — single authoritative product page + docs + security)
|
|
373
|
+
- Sources found: 1
|
|
374
|
+
- Pages created: [[research-wozcode-token-reduction]], [[wozcode]], [[ast-truncation]], [[fuzzy-edit-matching]], [[inline-post-edit-validation]], [[model-routing-agents]]
|
|
375
|
+
- Pages updated: [[harness-implementation-plan]] (added Phases 10-13 with WOZCODE-inspired enhancements), [[index]], [[hot]]
|
|
376
|
+
- Synthesis: [[research-wozcode-token-reduction]]
|
|
377
|
+
- Key finding: WOZCODE achieves 25-55% token reduction via three compounding levers — smarter search (AST truncation), batched fuzzy edits (near-miss tolerance), and quality loop (inline post-edit validation). These map to 4 new harness phases (10-13) requiring 5 fundamental agent architecture changes: model router layer, inline validation pipeline, AST-aware tool primitives, non-exact tool matching, and tool result intermediation.
|
|
378
|
+
|
|
379
|
+
## [2026-04-30] autoresearch | Agent-First Codebase Exploration Strategies
|
|
380
|
+
- Rounds: 2 (broad search + gap fill → direct synthesis)
|
|
381
|
+
- Sources found: 5
|
|
382
|
+
- Pages created: [[research-agent-first-codebase-exploration]], [[oss-guide-codebase-exploration]], [[aider-repomap-tree-sitter]], [[swe-agent-aci]], [[swe-bench]], [[openhands-platform]], [[agent-codebase-interface]], [[progressive-disclosure-agents]], [[repo-map-ranking]], [[execution-feedback-loop]]
|
|
383
|
+
- Synthesis: [[research-agent-first-codebase-exploration]]
|
|
384
|
+
- Key finding: Humans and agents need fundamentally different codebase interfaces. Humans learn by using projects; agents learn by mapping them. Every human-centric OSS technique maps to an agent-native equivalent via Agent-Codebase Interface (ACI) design, with agents excelling at symbol ingestion and cross-reference tracking while struggling with context window limits and lack of visual pattern recognition.
|
|
385
|
+
|
|
386
|
+
## [2026-04-28] create | Harness-Wiki Integration Contract (ADR-010 + Skill Mapping + Pipeline)
|
|
387
|
+
- Created: [[adr-010]], [[harness-wiki-skill-mapping]], [[harness-wiki-pipeline]]
|
|
388
|
+
- Updated: [[index]] (added 3 new entries)
|
|
389
|
+
- Created directories: wiki/sources/, wiki/entities/, wiki/concepts/, wiki/questions/, wiki/folds/, wiki/canvases/
|
|
390
|
+
- Key insight: Every harness layer MUST read wiki before acting and write wiki after every state transition. This is enforced at L7 schema orchestration extension hooks. The read-first/write-after contract adds ~3,000-6,000 tokens per subtask but eliminates design drift and wiki staleness entirely.
|
|
391
|
+
- ADR-010 establishes the tight-coupling contract: no layer acts without querying wiki for relevant ADRs, specs, and patterns first; no state transition completes without a wiki write.
|
|
392
|
+
- 11 Obsidian skills are mapped to specific pipeline stages with exact read/write/format responsibilities per layer.
|
|
393
|
+
- 7 staleness elimination rules ensure no page goes stale: status propagation, decision referencing, cross-reference integrity, contradiction resolution, hot cache freshness, lint schedule, index synchronization.
|
|
394
|
+
- Token budget impact: ~20-35% increase overhead, from ~83,500 to ~102,500-117,500 per 5-subtask plan.
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
## [2026-04-28] ingest | Full GitHub Wiki (re-ingest, previously interrupted)
|
|
398
|
+
- Source: `.raw/ultimate-pi.wiki/` (13 markdown pages from GitHub wiki)
|
|
399
|
+
- Summary: Complete ingest of all 8 harness layer concept pages, implementation plan, ADR-008, ADR-009
|
|
400
|
+
- Pages created: [[spec-hardening]], [[structured-planning]], [[grounding-checkpoints]], [[adversarial-verification]], [[automated-observability]], [[persistent-memory]], [[schema-orchestration]], [[wiki-query-interface]], [[harness-implementation-plan]], [[adr-008]], [[adr-009]]
|
|
401
|
+
- Pages updated: [[harness]], [[index]], [[hot]]
|
|
402
|
+
- Key insight: Each harness layer is a self-contained module with its own data contracts, extension interfaces, config, and file map. ADR-008 (black-box QA) and ADR-009 (claude-obsidian Mode B) are folded as decision pages.
|
|
403
|
+
|
|
404
|
+
## [2026-04-28] ingest | Harness Implementation Plan
|
|
405
|
+
- Source: `.raw/ultimate-pi.wiki/projects/ultimate-pi/harness-implementation-plan.md`
|
|
406
|
+
- Summary: Future implementation plan for the 8-layer Agentic Harness
|
|
407
|
+
- Pages created: [[harness]]
|
|
408
|
+
- Pages updated: [[index]], [[hot]]
|
|
409
|
+
- Key insight: The Agentic Harness relies on 8 rigid layers, including spec-based QA and Obsidian-backed memory, enforcing strict verification over agent confidence.
|
|
410
|
+
|
|
411
|
+
## [2026-04-28] ingest | Core Codebase & ADR
|
|
412
|
+
- Source: Repository root traversal (`skills/`, `extensions/`, `bench/`)
|
|
413
|
+
- Summary: Initial mapping of the ultimate-pi repository
|
|
414
|
+
- Pages created: [[skills]], [[extensions]], [[bench]], [[colocate-wiki]]
|
|
415
|
+
- Pages updated: [[index]], [[hot]]
|
|
416
|
+
- Key insight: Storing the wiki in the same repo is a deliberate choice to keep code and docs synced and accessible to agent tooling.
|
|
417
|
+
|
|
418
|
+
- 2026-04-28: Scaffolding completed for codebase map and architecture wiki (Mode B).
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: meta
|
|
3
|
+
status: active
|
|
4
|
+
title: "Dashboard"
|
|
5
|
+
updated: 2026-05-02
|
|
6
|
+
created: 2026-04-30
|
|
7
|
+
tags: [meta, dashboard]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Wiki Dashboard
|
|
11
|
+
|
|
12
|
+
## Recent Activity
|
|
13
|
+
```dataview
|
|
14
|
+
TABLE type, status, updated FROM "wiki" SORT updated DESC LIMIT 15
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Seed Pages (Need Development)
|
|
18
|
+
```dataview
|
|
19
|
+
LIST FROM "wiki" WHERE status = "seed" SORT updated ASC
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Entities Missing Sources
|
|
23
|
+
```dataview
|
|
24
|
+
LIST FROM "wiki/entities" WHERE !sources OR length(sources) = 0
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Open Questions
|
|
28
|
+
```dataview
|
|
29
|
+
LIST FROM "wiki/questions" WHERE answer_quality = "draft" SORT created DESC
|
|
30
|
+
```
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: meta
|
|
3
|
+
title: "Lint Report 2026-04-30"
|
|
4
|
+
created: 2026-04-30
|
|
5
|
+
updated: 2026-04-30
|
|
6
|
+
tags: [meta, lint]
|
|
7
|
+
status: complete
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Lint Report: 2026-04-30 (Auto-fixes applied)
|
|
11
|
+
|
|
12
|
+
## Summary
|
|
13
|
+
- Pages scanned: 94
|
|
14
|
+
- Issues found: 28
|
|
15
|
+
- Auto-fixed: 18
|
|
16
|
+
- Remaining: 10 (all expected: false positives, template placeholders, legacy)
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Auto-Fixed (18 issues resolved)
|
|
21
|
+
|
|
22
|
+
### Frontmatter Gaps Fixed (8)
|
|
23
|
+
- 6 source pages: added `status: ingested`, `created: 2026-04-30`, `updated: 2026-04-30`
|
|
24
|
+
- [[anthropic2026-harness-design]], [[bockeler2026-harness-engineering]], [[fan2025-imad]], [[lee2026-meta-harness]], [[lou2026-autoharness]], [[meng2026-agent-harness-survey]]
|
|
25
|
+
- [[pi-messenger-analysis]]: added `status: developing`
|
|
26
|
+
- [[hot]]: added `status: active`
|
|
27
|
+
|
|
28
|
+
### Dead Links Fixed (8)
|
|
29
|
+
| Was | Now | File |
|
|
30
|
+
|-----|-----|------|
|
|
31
|
+
| `[[context-engineering]]` | (removed) | [[context-anxiety]] |
|
|
32
|
+
| `[[consensus-debate-flow]]` | `[[consensus-debate]]` | [[index]] |
|
|
33
|
+
| `[[Anthropic]]` | `[[anthropic2026-harness-design]]` | [[research-agentic-coding-harness-latest-papers]] |
|
|
34
|
+
| `[[Meng et al]]` | `[[meng2026-agent-harness-survey]]` | [[research-agentic-coding-harness-latest-papers]] |
|
|
35
|
+
| `[[Martin Fowler]]` | `[[bockeler2026-harness-engineering]]` | [[research-agentic-coding-harness-latest-papers]] |
|
|
36
|
+
| `[[Lee et al]]` | `[[lee2026-meta-harness]]` | [[research-agentic-coding-harness-latest-papers]] |
|
|
37
|
+
| `[[Meta-Harness]]` | `[[lee2026-meta-harness]]` | [[lou2026-autoharness]] |
|
|
38
|
+
|
|
39
|
+
### Stale Index Fixed (1)
|
|
40
|
+
- [[index]] line 120: `[[consensus-debate-flow]]` → `[[consensus-debate]]`
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Remaining Issues (10 — all expected)
|
|
45
|
+
|
|
46
|
+
### False Positives (1)
|
|
47
|
+
| Link | In File | Reason |
|
|
48
|
+
|------|---------|--------|
|
|
49
|
+
| `[[ "$*" =~ [[:space:]] ]]` | [[agent-search-enforcement]] | Bash code block — not a wikilink |
|
|
50
|
+
|
|
51
|
+
### Template Placeholders (3)
|
|
52
|
+
| Link | In File | Status |
|
|
53
|
+
|------|---------|--------|
|
|
54
|
+
| `[[new-adr]]` | [[harness-wiki-pipeline]] | Template example, intentional |
|
|
55
|
+
| `[[old-adr]]` | [[harness-wiki-pipeline]] | Template example, intentional |
|
|
56
|
+
| `[[wiki/page]]` | [[pi-messenger-analysis]] | JSON example data, intentional |
|
|
57
|
+
|
|
58
|
+
### Orphan Pages (6 — all expected)
|
|
59
|
+
- `_templates/decision`, `_templates/flow`, `_templates/module` — template files
|
|
60
|
+
- `meta/dashboard`, `meta/lint-report-2026-04-30` — meta artifacts
|
|
61
|
+
- `overview` — seed entry point, linked from outside wiki
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Empty Sections
|
|
66
|
+
|
|
67
|
+
All template files (expected): `_templates/decision.md`, `_templates/flow.md`
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Naming Convention Deviation
|
|
72
|
+
|
|
73
|
+
91/94 files use kebab-case instead of Title Case with spaces. Systematic vault-wide deviation. Changing filenames would break all wikilinks. Requires planned restructure.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Writing Style
|
|
78
|
+
|
|
79
|
+
- [[context-anxiety]] line 37: "Largely eliminated" — add `> [!gap]` annotation during next content pass.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Artifacts Updated
|
|
84
|
+
|
|
85
|
+
- `vault/wiki/meta/lint-report-2026-04-30.md` — this report
|
|
86
|
+
- `vault/wiki/meta/dashboard.md` — unchanged (queries still valid)
|