mirror of https://github.com/garrytan/gstack.git
Open a large repo (1,000+ tracked files) and gstack can offer code intelligence ONCE, with the trade-offs stated: GBrain (semantic memory + code, sends content to YOUR gbrain DB, per-repo consent), Sourcebot (self-hosted whole-repo search, local on localhost), Graphify (local tree-sitter graph, nothing leaves the machine, user-installed), or No indexing — a decline persists machine-wide so no skill ever asks again. Small repos never see the question; grep stays the always-working default and provider-OFF degrades silently (PROVIDER_UNAVAILABLE -> file-only). Ported: lib/code-intelligence/ (contract + 3 verified adapters + picker + selection + suggest, MIT headers), the gstack-code-intelligence CLI (suggest/select/consent/index/search/status), 31 offline tests (fake CLI shims + injected fetch), and the provider-contract design doc. Verified live on this repo: suggest fires at 1,233 files with real availability detail per provider. Hardened per review: the per-remote trust store is the SINGLE consent authority — a gstack-gbrain-repo-policy deny tier vetoes any recorded code-intelligence consent (fail-closed on an unreadable store, pinned by three tests); both send-capable adapters are registered as fail-closed MODULE_SINKS in the egress tripwire so a refactor can't drop their receipts; and local-compute vs remote-send consents are never bundled. setup-gbrain gains the provider-choice Step 0. The fork's Phases 2-4 glue-collapse is explicitly NOT ported. Ported from time-attack/gstack (GStack 2); consent unification ours. Co-authored-by: Sina Matian <sina@time-attack.dev> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| BROWSER_SKILLS_V1.md | ||
| BUN_NATIVE_INFERENCE.md | ||
| CHROME_VS_CHROMIUM_EXPLORATION.md | ||
| CODE_INTELLIGENCE_PROVIDER_CONTRACT.md | ||
| CONDUCTOR_CHROME_SIDEBAR_INTEGRATION.md | ||
| CONDUCTOR_SESSION_API.md | ||
| DESIGN_SHOTGUN.md | ||
| DESIGN_TOOLS_V1.md | ||
| FIX_1671_PROFILE_MIGRATION.md | ||
| GCOMPACTION.md | ||
| GSTACK_BROWSER_V0.md | ||
| ML_PROMPT_INJECTION_KILLER.md | ||
| PACING_UPDATES_V0.md | ||
| PLAN_TUNING_V0.md | ||
| PLAN_TUNING_V1.md | ||
| SELF_LEARNING_V0.md | ||
| SESSION_INTELLIGENCE.md | ||
| SIDEBAR_MESSAGE_FLOW.md | ||
| SLATE_HOST.md | ||
| SLOP_SCAN_FOR_REVIEW_SHIP.md | ||
| SYNC_GBRAIN_BATCH_INGEST.md | ||
| v2_PLAN.md | ||