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,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: synthesis
|
|
3
|
+
title: "Research: Gemini CLI SOTA + Harness Integration from First Principles"
|
|
4
|
+
created: 2026-05-01
|
|
5
|
+
updated: 2026-05-01
|
|
6
|
+
tags:
|
|
7
|
+
- research
|
|
8
|
+
- harness
|
|
9
|
+
- gemini-cli
|
|
10
|
+
- coding-agents
|
|
11
|
+
- first-principles
|
|
12
|
+
status: developing
|
|
13
|
+
related:
|
|
14
|
+
- "[[harness-implementation-plan]]"
|
|
15
|
+
- "[[harness]]"
|
|
16
|
+
- "[[harness-control-frameworks]]"
|
|
17
|
+
- "[[gemini-cli-architecture]]"
|
|
18
|
+
- "[[harness-engineering-first-principles]]"
|
|
19
|
+
- "[[agent-skills-pattern]]"
|
|
20
|
+
sources:
|
|
21
|
+
- "[[Source: Google Gemini CLI Architecture Docs]]"
|
|
22
|
+
- "[[Source: Google Blog - Gemini CLI Announcement]]"
|
|
23
|
+
- "[[Source: Render AI Coding Agents Benchmark 2025]]"
|
|
24
|
+
- "[[Source: Martin Fowler - Harness Engineering]]"
|
|
25
|
+
- "[[Source: LangChain - Anatomy of Agent Harness]]"
|
|
26
|
+
- "[[Source: OpenAI Harness Engineering Five Principles]]"
|
|
27
|
+
- "[[Source: Augment - Harness Engineering for AI Coding Agents]]"
|
|
28
|
+
- "[[Source: Gemini CLI Changelogs]]"
|
|
29
|
+
|
|
30
|
+
---# Research: Gemini CLI SOTA + Harness Integration from First Principles
|
|
31
|
+
|
|
32
|
+
## Overview
|
|
33
|
+
|
|
34
|
+
Gemini CLI (launched June 2025, now v0.40+) introduced a composable agent harness with 15+ SOTA primitives: agent skills with progressive disclosure, plan mode, subagent orchestration, policy engine, hooks/middleware, context compression, and multi-registry architecture. This research maps those innovations to harness engineering first principles and identifies 7 integration opportunities for the Ultimate-PI harness, rethinking from first principles rather than feature-copying.
|
|
35
|
+
|
|
36
|
+
## Key Findings
|
|
37
|
+
|
|
38
|
+
### Gemini CLI SOTA Innovations (by harness layer)
|
|
39
|
+
|
|
40
|
+
1. **Agent Skills (v0.23, Jan 2026)** — Progressive disclosure system: skills loaded on-demand via activation tool, solving context rot. Formalized with frontmatter, `/memory inbox` for review, skill-creator meta-skill. Our `.pi/skills/` implements the same primitive but without formal activation mechanism. (Source: [[Source: Gemini CLI Changelogs]])
|
|
41
|
+
|
|
42
|
+
2. **Plan Mode (v0.29, Feb 2026)** — Structured task decomposition with `/plan`, todo tracking, annotation support, research subagents, external editor integration. Enabled by default v0.34. Parallel to our L2 Structured Planning. (Source: [[Source: Gemini CLI Changelogs]])
|
|
43
|
+
|
|
44
|
+
3. **Codebase Investigator Subagent (v0.12, Oct 2025)** — JIT context discovery: automatically explores workspace, resolves relevant files. Enhanced with JIT context injection in v0.36. Parallel to our Gitingest + ck semantic search for L3 Grounding. (Source: [[Source: Google Gemini CLI Architecture Docs]])
|
|
45
|
+
|
|
46
|
+
4. **Context Compression Service (v0.38, Apr 2026)** — Advanced context management distilling conversation history. Configurable compression threshold. Parallel to our pi-lean-ctx. (Source: [[Source: Gemini CLI Changelogs]])
|
|
47
|
+
|
|
48
|
+
5. **Chapters Narrative Flow (v0.38, Apr 2026)** — Groups agent interactions by intent and tool usage for session structure and narrative continuity. Novel concept; no parallel in our harness. (Source: [[Source: Gemini CLI Changelogs]])
|
|
49
|
+
|
|
50
|
+
6. **Persistent Policy Engine (v0.18–v0.38)** — Fine-grained tool execution policies: project-level policies, MCP server wildcards, tool annotation matching, persistent "Always Allow" decisions, context-aware approvals. Pre-execution gates. We have drift detection but not pre-execution policy gates. (Source: [[Source: Gemini CLI Changelogs]])
|
|
51
|
+
|
|
52
|
+
7. **Subagents + Remote Agents (v0.32, Mar 2026)** — Generalist agent for task routing, JIT context injection, resilient tool rejection with contextual feedback. A2A protocol support for remote agents (v0.33). Parallel to our Archon Orchestration L7. (Source: [[Source: Gemini CLI Changelogs]])
|
|
53
|
+
|
|
54
|
+
8. **Event-Driven Hooks Architecture (v0.27, Feb 2026)** — Event-driven scheduler for tool execution, hooks for compaction/continuation/lint checks. MessageBus injection for internal communication. We have pipeline phases but no event-driven hook system. (Source: [[Source: Gemini CLI Changelogs]])
|
|
55
|
+
|
|
56
|
+
9. **Four-Tier Memory System (v0.39, Apr 2026)** — Prompt-driven memory: transitioned from static files to four-tier system. `/memory inbox` for reviewing skills extracted during sessions. Auto Memory (experimental). (Source: [[Source: Gemini CLI Changelogs]])
|
|
57
|
+
|
|
58
|
+
10. **Multi-Registry Architecture (v0.36, Apr 2026)** — Extensions, skills, MCP servers all managed as registries. Extensions loaded in parallel (v0.32). Extensions ecosystem: 20+ partner extensions launched by v0.12. (Source: [[Source: Gemini CLI Changelogs]])
|
|
59
|
+
|
|
60
|
+
11. **Browser Agent (v0.31, Feb 2026)** — Experimental browser agent with persistent sessions, dynamic tool discovery. Chrome DevTools Protocol access for DOM snapshots, screenshots, navigation. (Source: [[Source: Gemini CLI Changelogs]])
|
|
61
|
+
|
|
62
|
+
12. **Model Routing (v0.12, Oct 2025)** — Intelligently picks Flash for simple tasks, Pro for complex. Configurable model selection. Our model-adaptive profiles do similar but static. (Source: [[Source: Gemini CLI Changelogs]])
|
|
63
|
+
|
|
64
|
+
13. **Sandboxing Stack (v0.34–v0.37)** — Docker, gVisor, LXC, macOS Seatbelt, Windows sandboxing. Dynamic sandbox expansion. Tool isolation via SandboxManager. (Source: [[Source: Gemini CLI Changelogs]])
|
|
65
|
+
|
|
66
|
+
14. **Git Worktrees (v0.36, Apr 2026)** — Isolated parallel sessions via git worktrees. Allows multiple agents working on same repo without conflicts. (Source: [[Source: Gemini CLI Changelogs]])
|
|
67
|
+
|
|
68
|
+
15. **Extensions Ecosystem (v0.8, Sep 2025)** — Partner extensions, custom extensions, A2A protocol. SDK package (v0.30) enabling dynamic system instructions. (Source: [[Source: Gemini CLI Changelogs]])
|
|
69
|
+
|
|
70
|
+
### Benchmark Standing (Render, Aug 2025)
|
|
71
|
+
|
|
72
|
+
- **Gemini CLI scored 6.8/10** overall (tied with Claude Code), behind Cursor (8/10)
|
|
73
|
+
- **Context: 9/10** — best in class due to 1M token window + automatic codebase loading
|
|
74
|
+
- **Quality: 7/10** — solid on production refactors, weak on vibe coding/greenfield
|
|
75
|
+
- **Cost: 8/10** — free tier: 60 req/min, 1,000 req/day (industry best)
|
|
76
|
+
- **Weakest: speed (5/10), integration (5/10)** — slow context loading, no native IDE integration
|
|
77
|
+
- Pattern: excels at *editing existing codebases* (context-driven), struggles with *generating from scratch* (Source: [[Source: Render AI Coding Agents Benchmark 2025]])
|
|
78
|
+
|
|
79
|
+
## Key Concepts
|
|
80
|
+
|
|
81
|
+
- [[harness-engineering-first-principles]] — Agent = Model + Harness. Feedforward + Feedback. Steering loop.
|
|
82
|
+
- [[agent-skills-pattern]] — Progressive disclosure: skills loaded on-demand to prevent context rot
|
|
83
|
+
- [[policy-engine-pattern]] — Pre-execution gates: deterministic constraints vs probabilistic compliance
|
|
84
|
+
- [[subagent-orchestration]] — Generalist router + specialist agents with JIT context
|
|
85
|
+
- [[context-compression-techniques]] — Compaction, tool call offloading, progressive disclosure
|
|
86
|
+
|
|
87
|
+
## Integration Opportunities (First Principles)
|
|
88
|
+
|
|
89
|
+
### Gap Analysis: Ultimate-PI vs Gemini CLI SOTA
|
|
90
|
+
|
|
91
|
+
| Harness Layer | Gemini CLI Has | Ultimate-PI Has | Gap |
|
|
92
|
+
|---|---|---|---|
|
|
93
|
+
| Progressive Skills | Formal activation, `/memory inbox` | `.pi/skills/` directory | No activation mechanism, no inbox review |
|
|
94
|
+
| Planning | Plan Mode with todo tracking, research subagents | L2 Structured Planning | No research subagents, no annotation |
|
|
95
|
+
| Grounding | Codebase Investigator (JIT) | Gitingest + ck semantic search | No JIT context discovery |
|
|
96
|
+
| Context Mgmt | Compression Service, Chapters | pi-lean-ctx | No chapters/narrative flow |
|
|
97
|
+
| Policy/Safety | Policy Engine, pre-execution gates | Drift detection (post-hoc) | No pre-execution policy gates |
|
|
98
|
+
| Orchestration | Subagents + Remote Agents (A2A) | Archon Orchestration L7 | No A2A, no generalist router |
|
|
99
|
+
| Hooks | Event-driven scheduler, hooks/middleware | Pipeline phases (static) | No event-driven hook system |
|
|
100
|
+
| Memory | Four-tier memory, Auto Memory | Wiki-based persistent memory | No auto-memory extraction |
|
|
101
|
+
| Browser | Browser Agent, CDP access | None | No browser/visual verification |
|
|
102
|
+
| Worktrees | Git worktrees for isolation | None | No isolated parallel sessions |
|
|
103
|
+
|
|
104
|
+
### Recommended Integration Priority (First Principles)
|
|
105
|
+
|
|
106
|
+
**Why these? Not "feature copy Gemini CLI" — each derived from harness engineering first principles (Feedforward-Feedback, Steering Loop, Keep Quality Left).**
|
|
107
|
+
|
|
108
|
+
#### Priority 1: Pre-Execution Policy Gates (P-F1)
|
|
109
|
+
- **First principle**: Mechanical enforcement over documentation (OpenAI Principle 3). Deterministic constraints prevent failures before they occur.
|
|
110
|
+
- **What**: Add pre-execution policy engine as L2.7 (between Plan and Drift). Reject tool calls that violate architectural invariants before execution.
|
|
111
|
+
- **Leverage**: Our existing drift detection paradigms provide the detection logic; invert them from post-hoc to pre-execution.
|
|
112
|
+
- **Token budget**: ~500 tokens per policy check.
|
|
113
|
+
|
|
114
|
+
#### Priority 2: Skills Activation Mechanism (P-F2)
|
|
115
|
+
- **First principle**: Progressive disclosure prevents context rot. "What the agent can't see doesn't exist" (OpenAI Principle 1) works both ways — irrelevant tools degrade performance.
|
|
116
|
+
- **What**: Add `activate_skill` tool pattern and `/memory inbox` (skill review queue). Skills loaded on-demand instead of all at startup.
|
|
117
|
+
- **Leverage**: Our `.pi/skills/` directory structure already supports this; add frontmatter metadata and an activation registry.
|
|
118
|
+
|
|
119
|
+
#### Priority 3: Research Subagents for Planning (P-F3)
|
|
120
|
+
- **First principle**: Ask what capability is missing, not why the agent is failing (OpenAI Principle 2).
|
|
121
|
+
- **What**: During L2 Structured Planning, spawn lightweight research subagents that explore codebase, fetch docs, validate assumptions before plan is committed.
|
|
122
|
+
- **Leverage**: Gitingest + ck already provide codebase exploration; context7 provides docs.
|
|
123
|
+
|
|
124
|
+
#### Priority 4: Event-Driven Hooks Middleware (P-F4)
|
|
125
|
+
- **First principle**: The steering loop requires feedback after every action, not just at phase boundaries.
|
|
126
|
+
- **What**: Add hook system: pre-tool-execution (policy check), post-tool-execution (drift check), pre-response (compaction), post-session (memory extraction).
|
|
127
|
+
- **Leverage**: Our pipeline phases map naturally to hook points.
|
|
128
|
+
|
|
129
|
+
#### Priority 5: Git Worktree Sessions (P-F5)
|
|
130
|
+
- **First principle**: Give the agent eyes (OpenAI Principle 4) — but also give it isolated space to experiment.
|
|
131
|
+
- **What**: Use git worktrees for isolated agent sessions. Agents work in worktrees; harness verifies before merging to main.
|
|
132
|
+
- **Leverage**: Our adversarial verification L4 provides the merge gate.
|
|
133
|
+
|
|
134
|
+
#### Priority 6: Chapters Narrative for Sessions (P-F6)
|
|
135
|
+
- **First principle**: A map, not a manual (OpenAI Principle 5). Session structure helps humans steer.
|
|
136
|
+
- **What**: Group agent actions into chapters by intent. Display chapter summaries during review.
|
|
137
|
+
- **Leverage**: Wiki log already captures session actions; add structural grouping.
|
|
138
|
+
|
|
139
|
+
#### Priority 7: Browser Agent for Visual Verification (P-F7)
|
|
140
|
+
- **First principle**: Give the agent eyes — visual verification catches what code checks miss.
|
|
141
|
+
- **What**: Integrate browser automation (Playwright/CDP) for UI verification in L4 Adversarial Verification.
|
|
142
|
+
- **Leverage**: Extend existing verification layer.
|
|
143
|
+
|
|
144
|
+
## Contradictions
|
|
145
|
+
|
|
146
|
+
- [[Source: Render AI Coding Agents Benchmark 2025]] says Gemini CLI struggled on greenfield (3/10), but [[Source: Google Blog - Gemini CLI Announcement]] positions it as "excels at coding" universally. Render's controlled test methodology is more credible as independent verification.
|
|
147
|
+
- [[Source: LangChain - Anatomy of Agent Harness]] says "best harness for your task is NOT the one a model was post-trained with" — Terminal Bench 2.0 shows Opus 4.6 scores lower in Claude Code than in other harnesses. Counter-intuitive: model-specific harness may underperform.
|
|
148
|
+
|
|
149
|
+
## Open Questions
|
|
150
|
+
|
|
151
|
+
- How does Gemini CLI's Policy Engine handle conflicting policies across project/user/admin levels? Resolution mechanism unclear from docs.
|
|
152
|
+
- Does Chapters narrative flow improve agent performance or just human review UX? No published metrics.
|
|
153
|
+
- Can our model-adaptive profiles be extended to dynamic model routing (like Gemini CLI's auto-select Flash vs Pro) without destabilizing the multi-model contract?
|
|
154
|
+
- How does Gemini CLI's Auto Memory (experimental) compare to our wiki-based persistent memory in terms of retrieval accuracy and context injection cost?
|
|
155
|
+
- What is the token overhead of Gemini CLI's event-driven hooks architecture? Our static pipeline has ~15K tok overhead; dynamic hooks may be lower or higher.
|
|
156
|
+
|
|
157
|
+
## Sources
|
|
158
|
+
|
|
159
|
+
- [[Source: Google Gemini CLI Architecture Docs]] — official architecture: 2 packages (cli + core), ReAct loop, tool system
|
|
160
|
+
- [[Source: Google Blog - Gemini CLI Announcement]] — launch: free tier, 1M token window, MCP, Google Search grounding
|
|
161
|
+
- [[Source: Render AI Coding Agents Benchmark 2025]] — independent benchmark: Cursor 8/10, Gemini 6.8/10, strengths/weaknesses
|
|
162
|
+
- [[Source: Martin Fowler - Harness Engineering]] — canonical framework: feedforward/feedback, computational/inferential, steering loop
|
|
163
|
+
- [[Source: LangChain - Anatomy of Agent Harness]] — Agent = Model + Harness, harness primitives derivation
|
|
164
|
+
- [[Source: OpenAI Harness Engineering Five Principles]] — 5 principles from 1M-line agent-built codebase
|
|
165
|
+
- [[Source: Augment - Harness Engineering for AI Coding Agents]] — PEV loop, constraint layers, measurement metrics
|
|
166
|
+
- [[Source: Gemini CLI Changelogs]] — feature evolution: skills, plan mode, policy engine, hooks, subagents
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: synthesis
|
|
3
|
+
title: "Research: GitHub Issues as Harness Spec Storage"
|
|
4
|
+
created: 2026-04-30
|
|
5
|
+
updated: 2026-04-30
|
|
6
|
+
tags:
|
|
7
|
+
- research
|
|
8
|
+
- harness
|
|
9
|
+
- github-issues
|
|
10
|
+
- spec-storage
|
|
11
|
+
- cli
|
|
12
|
+
- persistence
|
|
13
|
+
status: developing
|
|
14
|
+
related:
|
|
15
|
+
- "[[harness-implementation-plan]]"
|
|
16
|
+
- "[[spec-hardening]]"
|
|
17
|
+
- "[[structured-planning]]"
|
|
18
|
+
sources:
|
|
19
|
+
- "[[github-sub-issues-docs]]"
|
|
20
|
+
- "[[github-issue-dependencies-docs]]"
|
|
21
|
+
- "[[gh-sub-issue-extension]]"
|
|
22
|
+
- "[[gh-cli-sub-issue-rfc]]"
|
|
23
|
+
- "[[github-fork-issues-discussion]]"
|
|
24
|
+
|
|
25
|
+
---# Research: GitHub Issues as Harness Spec Storage
|
|
26
|
+
|
|
27
|
+
## Overview
|
|
28
|
+
|
|
29
|
+
GitHub Issues can serve as cloud-persistent, cross-session spec storage for the agentic harness. GitHub's native sub-issues (parent-child hierarchies, April 2025) and issue dependencies (blocked-by/blocking) map directly to the harness's spec decomposition and task dependency graphs. The `gh` CLI lacks native sub-issue support but a community extension (`gh-sub-issue`) fills the gap. A dual-tier architecture — local JSON cache + GitHub Issue ledger — gives speed and cloud persistence without over-reliance on network.
|
|
30
|
+
|
|
31
|
+
## Key Findings
|
|
32
|
+
|
|
33
|
+
- **GitHub has native sub-issues since April 2025**: Up to 8 levels deep, 100 sub-issues per parent, cross-repo support (Source: [[github-sub-issues-docs]])
|
|
34
|
+
- **Issue dependencies are a separate feature**: Blocked-by / blocking relationships define execution order, distinct from sub-issues which define decomposition (Source: [[github-issue-dependencies-docs]])
|
|
35
|
+
- **`gh` CLI has NO native sub-issue support**: cli/cli#10298 open since Jan 2025, PR #13057 in progress. Currently requires REST API or community extension (Source: [[gh-cli-sub-issue-rfc]])
|
|
36
|
+
- **Community extension `gh-sub-issue`** (yahsan2): 110 stars, MIT, provides `add`/`create`/`list`/`remove` commands for parent-child relationships via `gh` CLI (Source: [[gh-sub-issue-extension]])
|
|
37
|
+
- **Each hardened spec maps 1:1 to a GitHub Issue** with template body, labels for machine-readable state, and sub-issues for decomposed tasks
|
|
38
|
+
- **Dual-tier architecture recommended**: Local `.pi/harness/specs/<id>.json` for speed, GitHub Issue for cross-session ledger
|
|
39
|
+
- **Fork isolation is handled automatically**: Forks get their own issue tracker (enabled Dec 2025). Spec cache is gitignored — no stale upstream references leak into forks. `ultimate-pi harness init` bootstraps a fork's issue tracker with labels + templates
|
|
40
|
+
|
|
41
|
+
## Key Entities
|
|
42
|
+
|
|
43
|
+
- [[github-sub-issues-docs|GitHub Sub-Issues Feature]]: Native parent-child issue hierarchies in GitHub Issues
|
|
44
|
+
- [[gh-sub-issue-extension|gh-sub-issue Extension]]: Community `gh` CLI extension (110 stars, MIT) bridging the CLI gap
|
|
45
|
+
- [[gh-cli-sub-issue-rfc|gh CLI Sub-Issue RFC]]: cli/cli#10298 — official feature request for `--parent` on `gh issue create`
|
|
46
|
+
|
|
47
|
+
## Key Concepts
|
|
48
|
+
|
|
49
|
+
- **Sub-Issue vs Dependency**: Sub-issues = decomposition ("A contains B"). Dependencies = execution order ("A blocks B"). Both are native GitHub features with separate APIs.
|
|
50
|
+
- **Dual-Tier Architecture**: Local cache (fast, offline-capable) + remote ledger (persistent, queryable). Local JSON is always the primary execution path. GitHub Issues are created at major state transitions only.
|
|
51
|
+
- **Issue-as-Spec Template**: A HardenedSpec maps to an issue body with structured sections (intent_summary, success_criteria, anti_criteria, definition_of_done). Labels encode machine-readable state (`harness-spec`, `layer-{n}`, `status:{status}`).
|
|
52
|
+
- **Execution Ledger**: Issue comments serve as an immutable audit trail. Each harness phase appends a status update comment.
|
|
53
|
+
- **Phase-to-Issue Mapping**: Not every micro-step creates an issue. Only major state transitions: spec creation (P1), plan creation (P2), phase completion checkpoints (P8).
|
|
54
|
+
|
|
55
|
+
## Contradictions
|
|
56
|
+
|
|
57
|
+
None identified. All sources agree on the sub-issue feature's existence and CLI gap.
|
|
58
|
+
|
|
59
|
+
## Fork / Multi-Tenant Considerations
|
|
60
|
+
|
|
61
|
+
When someone forks a project using ultimate-pi, spec storage must not leak upstream state into the fork.
|
|
62
|
+
|
|
63
|
+
### The Fork Problem
|
|
64
|
+
|
|
65
|
+
1. **Issue tracker isolation**: GitHub historically blocked issues on forks. As of December 2025, forks CAN enable issues (Settings → General → Features → check "Issues"). But they start EMPTY — upstream issues are never copied to forks (Source: [[github-fork-issues-discussion]]).
|
|
66
|
+
2. **Local cache leakage**: `.pi/harness/specs/<id>.json` files committed to the repo WOULD be forked, carrying stale upstream issue URLs. This is the primary contamination vector.
|
|
67
|
+
3. **`gh` CLI context**: `gh` is authenticated to a specific repo. A fork must re-authenticate (`gh auth login`) and set its own default repo.
|
|
68
|
+
|
|
69
|
+
### Solution: Local-First, Gitignored Cache, Init Bootstrap
|
|
70
|
+
|
|
71
|
+
| Concern | Solution |
|
|
72
|
+
|---------|----------|
|
|
73
|
+
| Stale cache in forks | `.pi/harness/specs/` is in `.gitignore`. Cache is runtime-only, never committed. |
|
|
74
|
+
| Empty issue tracker on fork | `ultimate-pi harness init` detects fork, prompts to enable issues (or auto-enables via API), creates harness label set |
|
|
75
|
+
| Wrong `gh` repo context | `harness init` runs `gh repo set-default` for the fork. Config stored in `.pi/harness/config.json` (repo-relative, not global) |
|
|
76
|
+
| Upstream spec references | Local cache stores `github_issue_url` as optional field. If absent or pointing to wrong repo, harness creates new issues in current repo |
|
|
77
|
+
| No `gh` auth on fork | `harness init` checks `gh auth status`, guides user through `gh auth login` if needed |
|
|
78
|
+
|
|
79
|
+
### Init Flow for Forked Projects
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
ultimate-pi harness init
|
|
83
|
+
├─ Detect: is this a fork? (gh repo view --json isFork)
|
|
84
|
+
├─ Check: are issues enabled? If not → guide to enable or auto-enable via API
|
|
85
|
+
├─ Auth: gh auth status → prompt login if missing
|
|
86
|
+
├─ Labels: gh label create harness-spec, harness-task, layer-1..layer-8, status:*
|
|
87
|
+
├─ Templates: create .github/ISSUE_TEMPLATE/harness-spec.yml
|
|
88
|
+
├─ Gitignore: ensure .pi/harness/specs/ is in .gitignore
|
|
89
|
+
└─ Ready: harness can now create spec issues in fork's own tracker
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Why This Works
|
|
93
|
+
|
|
94
|
+
- **No shared state between upstream and fork**: Each has its own isolated issue tracker
|
|
95
|
+
- **Gitignored cache prevents stale refs**: Fork never sees upstream's runtime spec files
|
|
96
|
+
- **Init is idempotent**: Running `harness init` on an already-initialized fork is a no-op
|
|
97
|
+
- **Labels are the only shared artifact**: Label names are convention, not data. Forks recreate them locally
|
|
98
|
+
|
|
99
|
+
## Creative Solution: Content-Addressed Spec Identity
|
|
100
|
+
|
|
101
|
+
The fork-merge divergence problem (fork #5 ≠ upstream #5) is solved via **content-addressed spec identity** combined with **GitHub's native issue transfer API**. See [[content-addressed-spec-identity]] for full specification.
|
|
102
|
+
|
|
103
|
+
### How It Works
|
|
104
|
+
|
|
105
|
+
1. **Every HardenedSpec gets a content fingerprint**: `SHA256(intent_summary + success_criteria + definition_of_done)`. Embedded in issue body as `<!-- spec-fp: <hash> -->`, in title as `[spec:<first8>]`, and in local cache.
|
|
106
|
+
|
|
107
|
+
2. **Resolution by hash, not number**: When harness needs a spec, it searches `gh search issues "spec-fp:<hash>"` across all repos. Issue number is irrelevant — found by content identity, not location.
|
|
108
|
+
|
|
109
|
+
3. **Transfer on merge**: `ultimate-pi harness migrate` uses `gh issue transfer` (native GitHub API) to move specs from fork to upstream. Idempotent — searches by fingerprint before transferring.
|
|
110
|
+
|
|
111
|
+
4. **Transfer-safe**: When an issue transfers between repos, only its number changes. The body (and fingerprint within it) stays the same. Labels must be reapplied (GitHub limitation).
|
|
112
|
+
|
|
113
|
+
### Why Content Addressing
|
|
114
|
+
|
|
115
|
+
- **Repo-agnostic**: Same hash resolves to correct issue in any repo
|
|
116
|
+
- **Deduplication**: Two issues with same fingerprint ARE the same spec — merge them
|
|
117
|
+
- **No stale references**: Harness searches by hash, not by cached URL
|
|
118
|
+
- **Inspired by Git's object model**: Content identity > location identity
|
|
119
|
+
|
|
120
|
+
### Migration Flow
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
ultimate-pi harness migrate
|
|
124
|
+
├─ Detect repo change (fork → upstream)
|
|
125
|
+
├─ List fork specs by label
|
|
126
|
+
├─ For each: search upstream by fingerprint
|
|
127
|
+
├─ If not found → gh issue transfer + relabel
|
|
128
|
+
├─ Update local cache URLs
|
|
129
|
+
└─ Idempotent — safe to re-run
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Implementation effort: ~2-3 days. All operations use existing `gh` CLI.
|
|
133
|
+
|
|
134
|
+
## Open Questions
|
|
135
|
+
|
|
136
|
+
- When will `gh` CLI gain native `--parent` flag? PR #13057 in progress but no merge timeline.
|
|
137
|
+
- What rate limiting impact will harness-driven issue creation have? 5,000 req/hr for authenticated users. At 1 issue per subtask, a 5-subtask plan creates ~5-15 issues — well within limits.
|
|
138
|
+
- Should issue creation be synchronous during harness execution, or batched after pipeline completion?
|
|
139
|
+
- Can GitHub Projects v2 auto-track sub-issue progress for harness observability (L5)?
|
|
140
|
+
- Should `harness init` auto-enable issues on fork via API, or require manual user action? (API approach is faster but may surprise users)
|
|
141
|
+
- ~~What happens if a fork is later merged upstream?~~ **SOLVED**: Content-addressed spec identity + `gh issue transfer` migration. See [[content-addressed-spec-identity]].
|
|
142
|
+
|
|
143
|
+
## Integration Points
|
|
144
|
+
|
|
145
|
+
### L1 Spec Hardening → GitHub Issues
|
|
146
|
+
|
|
147
|
+
| Step | Action | CLI Command |
|
|
148
|
+
|------|--------|-------------|
|
|
149
|
+
| 1 | Harden spec | `SpecHardener.harden()` → HardenedSpec |
|
|
150
|
+
| 2 | Create spec issue | `gh issue create --title "Spec: {intent_summary}" --body "..." --label harness-spec,layer-1` |
|
|
151
|
+
| 3 | Store local cache | `.pi/harness/specs/{issue_number}.json` with `github_issue_url` field |
|
|
152
|
+
| 4 | Emit spec_hardened | → L2 |
|
|
153
|
+
|
|
154
|
+
### L2 Structured Planning → GitHub Sub-Issues
|
|
155
|
+
|
|
156
|
+
| Action | CLI Command |
|
|
157
|
+
|--------|-------------|
|
|
158
|
+
| Create task sub-issues | `gh sub-issue create --parent {spec_issue} --title "{task_name}" --label harness-task` |
|
|
159
|
+
| Link dependencies | `gh issue edit {task_A} --add-label "blocked-by:{task_B}"` (or use API for native deps) |
|
|
160
|
+
| Add sprint contract | `gh issue comment {task_issue} --body "## Sprint Contract\n..."` |
|
|
161
|
+
|
|
162
|
+
### GitHub Projects v2 (Optional Visualization)
|
|
163
|
+
|
|
164
|
+
- Add spec issue to a "Harness" project board
|
|
165
|
+
- Sub-issues auto-appear in board with parent/child progress fields
|
|
166
|
+
- Filter by `label:harness-spec`, group by `status`
|
|
167
|
+
- Roadmap view for phase timelines
|
|
168
|
+
|
|
169
|
+
## Toolchain
|
|
170
|
+
|
|
171
|
+
| Tool | Purpose | Command |
|
|
172
|
+
|------|---------|---------|
|
|
173
|
+
| `gh issue create` | Create spec/task issues | `gh issue create --title "..." --body "..." --label ...` |
|
|
174
|
+
| `gh issue edit` | Update issue state/labels | `gh issue edit {id} --add-label "..." --remove-label "..."` |
|
|
175
|
+
| `gh issue comment` | Append execution log entry | `gh issue comment {id} --body "..."` |
|
|
176
|
+
| `gh issue list` | Query issue state | `gh issue list --label harness-spec --json number,title,state,labels` |
|
|
177
|
+
| `gh issue view` | Read issue body as JSON | `gh issue view {id} --json body,title,labels,state` |
|
|
178
|
+
| `gh sub-issue create` | Create child task | `gh sub-issue create --parent {id} --title "..."` |
|
|
179
|
+
| `gh sub-issue list` | List child tasks | `gh sub-issue list {id} --json number,title,state` |
|
|
180
|
+
| `gh api` | Raw API for dependencies | `gh api /repos/{owner}/{repo}/issues/{id}` |
|
|
181
|
+
|
|
182
|
+
## Sources
|
|
183
|
+
|
|
184
|
+
- [[github-sub-issues-docs]]: GitHub official docs on sub-issues (April 2025)
|
|
185
|
+
- [[github-issue-dependencies-docs]]: GitHub official docs on issue dependencies
|
|
186
|
+
- [[gh-sub-issue-extension]]: yahsan2/gh-sub-issue, MIT license, v0.5.1 (Oct 2025)
|
|
187
|
+
- [[gh-cli-sub-issue-rfc]]: cli/cli#10298, feature request (Jan 2025)
|
|
188
|
+
- [[github-fork-issues-discussion]]: GitHub Community discussion #161368 — fork issues enablement (Jun-Dec 2025)
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: synthesis
|
|
3
|
+
title: "Research: Google Antigravity Harness Integration"
|
|
4
|
+
created: 2026-05-01
|
|
5
|
+
updated: 2026-05-01
|
|
6
|
+
tags:
|
|
7
|
+
- research
|
|
8
|
+
- antigravity
|
|
9
|
+
- google
|
|
10
|
+
- harness
|
|
11
|
+
- agent-first
|
|
12
|
+
- integration
|
|
13
|
+
status: developing
|
|
14
|
+
related:
|
|
15
|
+
- "[[antigravity-agent-first-architecture]]"
|
|
16
|
+
- "[[agent-artifacts-verifiable-deliverables]]"
|
|
17
|
+
- "[[browser-subagent-visual-verification]]"
|
|
18
|
+
- "[[harness-implementation-plan]]"
|
|
19
|
+
- "[[agentic-harness]]"
|
|
20
|
+
- "[[model-adaptive-harness]]"
|
|
21
|
+
- "[[self-evolving-harness]]"
|
|
22
|
+
- "[[cursor-harness-innovations]]"
|
|
23
|
+
sources:
|
|
24
|
+
- "[[google-antigravity-official-blog]]"
|
|
25
|
+
- "[[google-antigravity-wikipedia]]"
|
|
26
|
+
- "[[cursor-vs-antigravity-2026]]"
|
|
27
|
+
|
|
28
|
+
---# Research: Google Antigravity Harness Integration
|
|
29
|
+
|
|
30
|
+
## Overview
|
|
31
|
+
|
|
32
|
+
Google Antigravity is an agent-first development platform (launched November 18, 2025 alongside Gemini 3). It represents the first major IDE platform built from the ground up for autonomous coding agents — not an AI plugin bolted onto an existing editor. This research identifies SOTA innovations, maps them against our harness implementation plan, and proposes integration from first principles.
|
|
33
|
+
|
|
34
|
+
## Key Findings
|
|
35
|
+
|
|
36
|
+
### SOTA Innovations
|
|
37
|
+
|
|
38
|
+
1. **Agent-First Dual-View Architecture** (Source: [[google-antigravity-official-blog]]): Editor View for hands-on coding + Manager View for multi-agent orchestration. This is a fundamentally different approach from our sequential pipeline model.
|
|
39
|
+
|
|
40
|
+
2. **1M Token Context Window** (Source: [[cursor-vs-antigravity-2026]]): Ingests entire repositories into active memory instead of RAG-based retrieval. Natively understands cross-file dependencies. Tradeoff: massive token cost ($249.99/mo Ultra plan partly due to this).
|
|
41
|
+
|
|
42
|
+
3. **Browser Subagent with Visual Verification** (Source: [[cursor-vs-antigravity-2026]]): Agent drives headless Chromium, takes screenshots, analyzes pixels with vision models. Closes the loop on UI changes. Our harness has NO equivalent capability.
|
|
43
|
+
|
|
44
|
+
4. **Artifact-Based Trust System** (Source: [[google-antigravity-official-blog]]): Agents produce human-reviewable deliverables (task lists, screenshots, recordings) instead of raw tool logs. Asynchronous feedback on artifacts without stopping execution.
|
|
45
|
+
|
|
46
|
+
5. **Skills with Progressive Disclosure** (Source: gap-fill research): SKILL.md files loaded only when semantically relevant. Community ecosystem ported from Claude Code. Directly analogous to our `.pi/skills/SKILL.md` system.
|
|
47
|
+
|
|
48
|
+
6. **Cross-Project Learning Knowledge Base** (Source: [[google-antigravity-official-blog]]): Agents save successful strategies, code patterns, and solutions. Query across projects. Extends our L6 persistent memory concept.
|
|
49
|
+
|
|
50
|
+
7. **Nano Banana (Built-in Asset Generation)** (Source: [[cursor-vs-antigravity-2026]]): Integrated image generator for UI assets directly in IDE. No external tools needed.
|
|
51
|
+
|
|
52
|
+
8. **Deep System-Level AI Integration** (Source: [[google-antigravity-wikipedia]]): VS Code fork where AI is a system primitive, not an extension. Google hired Windsurf team + licensed tech for $2.4B.
|
|
53
|
+
|
|
54
|
+
### What Antigravity Validates from Our Plan
|
|
55
|
+
|
|
56
|
+
| Our Feature | Antigravity Equivalent | Confidence |
|
|
57
|
+
|-------------|----------------------|------------|
|
|
58
|
+
| Model-adaptive harness | Multi-model support (Gemini, Claude, GPT-OSS) with model-specific strengths | **high** |
|
|
59
|
+
| Dynamic context | 1M token context window (different approach, same problem) | **medium** |
|
|
60
|
+
| Pre-verification isolation (P15b) | Visual verification via browser subagent | **high** |
|
|
61
|
+
| Subagent specialization (P25) | Manager View multi-agent orchestration | **high** |
|
|
62
|
+
| Self-evolving harness (F1) | Cross-project learning knowledge base | **high** |
|
|
63
|
+
| Skills system (F0) | SKILL.md progressive disclosure | **high** |
|
|
64
|
+
| Adversarial verification (L4) | Artifact-based proof (complementary, not competing) | **medium** |
|
|
65
|
+
|
|
66
|
+
### Critical Gaps Revealed
|
|
67
|
+
|
|
68
|
+
1. **No Browser Control (NEW GAP)**: Our harness has zero visual verification capability. Browser subagent is Antigravity's killer feature. Phase P30 needed.
|
|
69
|
+
|
|
70
|
+
2. **No Artifact Generation (NEW GAP)**: Our harness produces raw verification results (pass/fail, metrics). No human-reviewable deliverables. Phase P31 needed.
|
|
71
|
+
|
|
72
|
+
3. **No Cross-Project Learning (PARTIAL GAP)**: L6 persistent memory is project-scoped. Cross-project knowledge transfer would accelerate agent performance. Phase P32 needed.
|
|
73
|
+
|
|
74
|
+
4. **No Manager View / Control Plane (ARCHITECTURAL GAP)**: L7 orchestration is DAG-based sequential, not parallel agent dispatch. This is intentional for our CLI harness but worth reconsidering.
|
|
75
|
+
|
|
76
|
+
5. **Context Strategy Divergence**: We use selective context (hot cache → index → pages). Antigravity uses massive context (1M tokens). Which is better? Depends on cost tolerance.
|
|
77
|
+
|
|
78
|
+
## Key Entities
|
|
79
|
+
|
|
80
|
+
- **Google Antigravity**: Agent-first IDE platform. Free public preview. VS Code fork. $2.4B Windsurf acquisition.
|
|
81
|
+
- **Gemini 3.1 Pro**: Primary model powering Antigravity agents. Google's frontier coding model.
|
|
82
|
+
- **Windsurf**: AI IDE acquired by Google ($2.4B, July 2025). Team now building Antigravity.
|
|
83
|
+
|
|
84
|
+
## Key Concepts
|
|
85
|
+
|
|
86
|
+
- [[antigravity-agent-first-architecture]]: The two-view (Editor + Manager) control plane model
|
|
87
|
+
- [[agent-artifacts-verifiable-deliverables]]: Trust via human-reviewable deliverables
|
|
88
|
+
- [[browser-subagent-visual-verification]]: Headless browser agent for UI verification
|
|
89
|
+
|
|
90
|
+
## Contradictions
|
|
91
|
+
|
|
92
|
+
- **1M Context Window vs RAG**: Antigravity bets on massive context. Our harness bets on selective retrieval. [[cursor-vs-antigravity-2026]] notes Antigravity's approach has massive cost implications ($249.99/mo Ultra plan). Our approach is more token-efficient but may miss cross-file dependency understanding. Verdict: both valid. Different cost/accuracy tradeoffs.
|
|
93
|
+
|
|
94
|
+
- **Agent-First vs Pipeline-First**: Antigravity trusts agents to verify themselves (artifacts). Our harness enforces verification through pipeline stages (L3, L4). Both approaches have failure modes: agent self-verification misses errors; pipeline verification adds latency. Verdict: complementary. Best harness has both.
|
|
95
|
+
|
|
96
|
+
## Open Questions
|
|
97
|
+
|
|
98
|
+
- What would a CLI-native "Manager View" look like? Can we achieve multi-agent orchestration without a GUI?
|
|
99
|
+
- At what task complexity does visual verification become necessary vs. nice-to-have?
|
|
100
|
+
- Can cross-project learning be implemented without privacy/compliance issues?
|
|
101
|
+
- How does Antigravity's approach to model-adaptive tool provisioning compare to our provider-native prompting (P22b)?
|
|
102
|
+
|
|
103
|
+
## Integration Recommendations
|
|
104
|
+
|
|
105
|
+
Three new phases for the [[harness-implementation-plan]]:
|
|
106
|
+
|
|
107
|
+
### P30: Browser Subagent Integration (L3 tools)
|
|
108
|
+
Add headless browser control capability via browser-harness (9.4K stars, MIT, thin CDP harness by browser-use). Self-healing: agent writes missing helpers mid-execution. Direct CDP access — one WebSocket to Chrome, nothing between. TypeScript variant: browser-harness-js (428 stars, 652 typed CDP methods). Replaces Puppeteer. See [[Source: browser-harness CDP Harness]] and [[browser-harness-agent]].
|
|
109
|
+
|
|
110
|
+
### P31: Artifact Generation Layer (L4→L5 bridge)
|
|
111
|
+
After L4 adversarial verification, agents generate human-reviewable artifacts: screenshots, browser recordings, test result summaries. Artifacts feed into L5 observability. Provides the "prove it worked" complement to L4's "prove it's wrong."
|
|
112
|
+
|
|
113
|
+
### P32: Cross-Project Learning Knowledge Base (L6 extension)
|
|
114
|
+
Extend persistent memory to support cross-project knowledge transfer. Agents save successful strategies and code patterns tagged by domain. Query across projects with relevance scoring. Foundation for F1 self-evolving harness.
|
|
115
|
+
|
|
116
|
+
### What We Should NOT Adopt
|
|
117
|
+
- **1M Token Context Window**: Token-inefficient for CLI harness. Selective context is better.
|
|
118
|
+
- **Full IDE Integration**: Our harness is CLI-level. Different architecture, different constraints.
|
|
119
|
+
- **Google Cloud Lock-in**: Antigravity's deep GCP integration is vendor lock-in. Harness stays platform-agnostic.
|
|
120
|
+
- **$249.99/mo Pricing**: Unsustainable for individual developers. Our token budget optimization is a competitive advantage.
|