Commit Graph

761 Commits

Author SHA1 Message Date
Bill
4d47e894c1 Sprint 278: LSP Proxy Hardening (steps 1918-1922)
- LSPMessageValidator: JSON-RPC 2.0 shape validation (method, id type, params type)
- LSPCapabilityNegotiator: per-source capability tracking; shouldRoute gates on declared caps
- LSPRequestThrottler: per-URI/method debounce; blocks rapid didChange floods
- LSPErrorRecovery: per-source health tracking; stale-cache fallback when crashed
- Sprint278IntegrationSummary: poly-parse (C++ + Haskell) end-to-end integration

26/26 tests passing (5+5+5+5+6). All new headers well under 600 lines.
LoRA recorded: sprint278-2026-03-01 (9 calls, 6437 tokens).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 20:28:31 -07:00
Bill
67c3c73046 Sprint 277: LSP Advanced Orchestration (steps 1913-1917)
- LSPWorkspaceIndex: track open docs, URI→{languageId,content,version}
- LSPDiagnosticsAggregator: merge diagnostics from multiple LSP sources per URI
- LSPCompletionMerger: merge+deduplicate completion items from multiple sources
- LSPOrchestrator: top-level coordinator composing all three + proxy + cross-lang resolver
- Sprint277IntegrationSummary: poly-api (Go+TypeScript) end-to-end integration

26/26 tests passing (5+5+5+5+6). All new headers ≤600 lines.
LoRA recorded: sprint277-2026-03-01 (1 call, 569 tokens).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 20:18:23 -07:00
Bill
94f61dc97c Sprints 273-276: Polyglot FFI Glue, Symbol Index, and LSP Proxy (steps 1893-1912)
Sprint 273 — PolyglotFFIGlueGenerator (steps 1893-1897):
  ABIBoundaryExtractor, CHeaderEmitter, RustPythonBindingEmitter,
  GoCppBindingEmitter. Extracts exported symbols from toComponent provider
  and emits C ABI + language-specific bindings.

Sprint 274 — More Binding Pairs + DWARF (steps 1898-1902):
  CppJSBindingEmitter (N-API), RustGoBindingEmitter (#[no_mangle]),
  DWARFBoundaryAnnotator (DW_TAG_* + crossLangBoundary),
  FFIGlueDispatcher (routes by fromLang→toLang pair),
  MCP tool whetstone_generate_ffi_glue (#92).

Sprint 275 — Cross-Language Symbol Index (steps 1903-1907):
  SCIPEmitter (SCIP JSON, one doc/language, caller+provider roles),
  CrossLanguageSymbolTable (byLangName_ + byScip_ dual index),
  SymbolIndexUpdater (nodeKey diff, clear-and-rebuild),
  SymbolIndexOrchestrator (orchestrate + update),
  MCP tool whetstone_emit_symbol_index (#93).

Sprint 276 — LSP Proxy Core (steps 1908-1912):
  LSPProxyServer (JSON-RPC 2.0 dispatcher),
  LanguageServerRouter (routeByUri/routeByLanguageId),
  CrossLanguageBoundaryDetector (detect/detectWithUri/detectInLanguage),
  CrossLanguageDefinitionResolver (resolve/resolveFromUri → DefinitionLocation).
  End-to-end: Python call site goto-def resolves to Rust sort-core provider.

100/100 tests passing across all four sprints. Architecture gate clean.
LoRA sessions recorded for all sprints (~14k tokens captured).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 18:41:32 -07:00
Bill
1f1234b28b Sprint 272: fitness-routed polyglot test projects — Phase 2 (steps 1888-1892)
Added PolyglotProjectSpec data model and three concrete 2-language test
project fixtures, all routing correctly via LanguageFitnessScorer.

New headers:
- PolyglotProjectSpec.h: PolyglotInterface, PolyglotSection, PolyglotProjectSpec,
  PolyglotFitnessRouter (explicit override + auto-routing via scorer)
- PolySortProject.h: sort-core → Rust, data-gen → Python
- PolyApiProject.h: http-server → Go, api-client → TypeScript
- PolyParseProject.h: lexer → C++, ast-transform → Haskell
- Sprint272IntegrationSummary.h

25/25 tests passing (steps 1888-1892). All new headers ≤ 600 lines.
tools/claude/tools.json: added whetstone_score_language_fitness (tool 91).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 14:17:33 -07:00
Bill
d98fc26c05 Sprint 271: LanguageFitnessScorer — polyglot Phase 1 (steps 1883-1887)
Add language fitness scoring infrastructure for the polyglot orchestrator.

New components:
- ASTFeatureExtractor.h: extract 5 scalar features from JSON AST subtrees
  (mutation ratio, recursion shape, concurrency primitive, I/O pattern, type complexity)
- LanguageIdiomProfile.h: static ideal feature vectors for 8 languages
  (Python, Rust, Go, Haskell, C++, TypeScript, Elixir, Lisp)
- LanguageFitnessScorer.h: weighted scoring against profiles, returns JSON
  array sorted descending with per-language score and rationale
- RegisterLanguageFitnessTools.h: whetstone_score_language_fitness MCP tool
- Sprint271IntegrationSummary.h: sprint metadata

25/25 tests passing (steps 1883-1887). whetstone_mcp rebuilt with new tool.

Also: merge PROGRESS.md into progress.md (single authoritative log, 15k lines),
update CLAUDE.md to current state (step 1887, sprint 271, 91 tools).

LoRA session recorded: sprint271-polyglot-fitness-2026-03-01
(5 tool calls: architect_intake, generate_taskitems, 3x generate_code)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 13:55:38 -07:00
Bill
d1e883dd38 Add polyglot orchestrator feature requests, sprint plan, and test projects
Feature requests I-N cover: LanguageFitnessScorer, PolyglotFFIGlueGenerator,
CrossLanguageSymbolIndex, LSP Orchestrator, DAP Orchestrator, Polyglot Test Harness.
Sprint plan maps 75 steps across sprints 271-285 in 5 phases.
Test projects: poly-sort (Rust+Python), poly-api (Go+TS), poly-parse (C++/Haskell),
poly-pipeline (5 lang), poly-compiler (5 lang), poly-everything (all languages).
Theoretical goal: lossless polyglot transpiling proven as a construction.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 23:01:40 -07:00
Bill
de5bdd358f Close all 26 generator readiness gaps (sprints 267-270)
Sprint 268: GR-002/003/006/007/008/016/017/019/021/024 — self-containment,
  graduation thresholds, asm/ir/jvm/elixir lang coverage, semanno format.
Sprint 269: GR-005/011/013/015 — prose capture in RequirementsParser,
  GateEnforcer, ParitySkewAnalyzer, CrossArtifactConsistencyEngine.
Sprint 270: GR-009/010/012/014/018/020 — CrossFileTransactionGate,
  SemanticCompletionGate, ConstrainedProjectionGate, TokenBudgetGate,
  CppConstraintRefactorPolicy, NativeDecompositionDepthGuard.
All 50 new tests passing (steps 1873-1882, 5/5 per step).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 22:28:41 -07:00
Bill
423273a14b Add planning spec template and expanded project backlog pack 2026-02-26 19:52:13 -07:00
Bill
597fe4eded Add raw score/gate parity packet and enforcement (sprint 265) 2026-02-26 17:04:24 -07:00
Bill
bfe44cd6d8 Align raw scoring and impact gate task-set parity (sprint 264) 2026-02-26 17:02:13 -07:00
Bill
fe85f1b515 Add raw structural projector before candidate scoring (sprint 263) 2026-02-26 16:59:28 -07:00
Bill
f534d7f0fa Add raw output-shape template control pack (sprint 262) 2026-02-26 16:56:09 -07:00
Bill
181f289dd1 Add intrinsic prompt-pack intervention for raw generation (sprint 261) 2026-02-26 16:40:19 -07:00
Bill
42c53da5c6 Add signal-targeted intrinsic raw variant expansion (sprint 260) 2026-02-26 16:37:57 -07:00
Bill
ba1e0dc3e8 Add adaptive raw top-gap retry loop (sprint 259) 2026-02-26 16:33:19 -07:00
Bill
df0de8156b Add backlog-driven raw top-gap requirement injection (sprint 258) 2026-02-26 16:30:49 -07:00
Bill
fd8d582db7 Add top-gap uplift hard gate for raw candidate search (sprint 257) 2026-02-26 16:27:39 -07:00
Bill
39575cb383 Add top-gap weighted raw candidate selection telemetry (sprint 256) 2026-02-26 16:25:57 -07:00
Bill
057fcd4087 Add raw top-gap hardening stage for native tasks (sprint 255) 2026-02-26 16:23:19 -07:00
Bill
5feb05e900 Add raw gap backlog synthesis from ladder runs (sprint 254) 2026-02-26 15:59:33 -07:00
Bill
b6c91c9d64 Add batch closure ladder analytics and runner (sprint 253) 2026-02-26 15:48:33 -07:00
Bill
28b29dfd30 Add richer raw variants and history-aware ladder routing (sprints 251-252) 2026-02-26 15:46:11 -07:00
Bill
2c422fedda Add automatic native profile closure ladder runner (sprint 250) 2026-02-26 15:42:35 -07:00
Bill
8e0018ef80 Add raw candidate search scoring and no-uplift guardrail (sprints 248-249) 2026-02-26 15:41:20 -07:00
Bill
dfb10ea40f Add single-shot profile shaping closure path (sprint 247) 2026-02-26 15:33:36 -07:00
Bill
daf9d9b8c4 Add intrinsic multishot decomposition closure path (sprint 246) 2026-02-26 15:31:36 -07:00
Bill
d4b7e8ce48 Add intrinsic first-pass decomposition boost path (sprint 245) 2026-02-26 15:19:21 -07:00
Bill
b68f7edc84 Add first-pass profile autofill closure path (sprint 244) 2026-02-26 15:17:56 -07:00
Bill
050fee9480 Add profile task-bundle remediation loop closure (sprint 243) 2026-02-26 15:10:41 -07:00
Bill
ee38182b79 Add native impact remediation synthesis loop (sprint 242) 2026-02-26 15:08:36 -07:00
Bill
3c04216a54 Add impact-by-impact native decomposition coverage gates (sprint 241) 2026-02-26 15:05:21 -07:00
Bill
e9dd06205e Add native decomposition retry telemetry path (sprint 240) 2026-02-26 14:57:16 -07:00
Bill
9e39181f77 Add native reason enrichment for semantic signals (sprint 239) 2026-02-26 14:55:26 -07:00
Bill
5eaaa7cc56 Add native decomposition quality gate to pipeline (sprint 238) 2026-02-26 14:54:15 -07:00
Bill
7b33aeb24b Add semantic fallback gap audit and budget gate (sprints 236-237) 2026-02-26 14:53:07 -07:00
Bill
3de32bc3d1 Implement sprint 235 native-first semantic expansion policy 2026-02-26 14:50:32 -07:00
Bill
7965899771 Add sprint 234 semantic planning coverage gate 2026-02-26 14:34:41 -07:00
Bill
7ddc4e5121 Implement sprint 233 semantic-aware decomposition bridge 2026-02-26 14:33:10 -07:00
Bill
815abc3b65 Start sprint 232 semantic planning annotation bridge 2026-02-26 14:28:16 -07:00
Bill
9198a70d35 Label planning artifacts as TEST_ONLY and update references 2026-02-26 14:22:14 -07:00
Bill
ff75faf5cb Add batch hardening report for drive and product specs 2026-02-26 14:16:02 -07:00
Bill
b68c95e6f4 Add spec hardener and reusable hard-gate wrapper 2026-02-26 14:12:33 -07:00
Bill
ccf8f7a817 Integrate spec-readiness precheck into sprint pipeline 2026-02-26 14:09:13 -07:00
Bill
55876d3540 Start first-class planning tranche with spec readiness scoring 2026-02-26 14:08:12 -07:00
Bill
710c9f35ae Close parity blockers; add sprint 222-227 trackers and stale-log manifest 2026-02-26 14:06:09 -07:00
Bill
9fe3c1aa93 Add MCP compatibility ledger tool and first-pass Go/Rust codegen hardening 2026-02-25 22:46:33 -07:00
Bill
6d60447d50 Execute sprints 172-174 with auto-fix, lint hook, and tokened A/B tooling 2026-02-25 19:07:20 -07:00
Bill
010f974a89 Implement sprints 170-171 strict gates and autonomous remediation loop 2026-02-25 18:52:36 -07:00
Bill
f1c6214de8 Implement Sprint 169 pipeline strictness and add Sprint 170-171 plans 2026-02-25 18:20:39 -07:00
Bill
13b57bbd65 Implement sprints 166-168 production code generation gates and loop 2026-02-25 18:02:59 -07:00