Commit Graph

371 Commits

Author SHA1 Message Date
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
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
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
e683a0ac01 Update progress.md: document post-sprint SchemaToCpp warning cleanup 2026-02-18 18:15:25 -07:00
Bill
ed6503b4c8 Sprint 42-45: stabilize modeling tools and implement context, validation, and metrics MCP tooling (Steps 669-688) 2026-02-18 18:11:31 -07:00
Bill
17c4cd252a Sprint 41: wire whetstone_schema_to_cpp + whetstone_generate_dispatch_table (Steps 664-668)
Two C++ generators existed since Steps 634/642 but were never registered as
MCP tools. This sprint is pure plumbing — no new logic, just wiring.

Steps:
  664 - RegisterCodegenTools.h: whetstone_schema_to_cpp handler (12/12)
  665 - RegisterCodegenTools.h: whetstone_generate_dispatch_table handler (12/12)
  666 - MCPServer.h + RegisterOnboardingAndAllTools.h + tools.json wired (8/8)
  667 - whetstone_mcp rebuilt, smoke tested: 84 tools live, both calls return success
  668 - Sprint41IntegrationSummary.h (8/8)

Total: 40/40 passing. tool count 82 → 84.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 16:52:29 -07:00
Bill
f13df10c6c Step 663: sprint 40 integration summary 2026-02-17 22:17:37 -07:00
Bill
5151e6085a Step 662: cross-session context bridge model 2026-02-17 22:16:06 -07:00
Bill
8c178644a6 Step 661: pilot queue panel model 2026-02-17 22:15:13 -07:00
Bill
782af1a77f Step 660: inference job generator model 2026-02-17 22:14:21 -07:00
Bill
c5d7b5b0ad Step 659: entropy scanner model 2026-02-17 22:13:24 -07:00
Bill
796d052733 Step 658: phase 40a integration 2026-02-17 22:12:30 -07:00
Bill
33e887fd8b Step 657: energy context status model 2026-02-17 22:11:38 -07:00
Bill
295163e298 Step 656: apiary browser panel model 2026-02-17 22:10:44 -07:00
Bill
e4d9a72a3c Step 655: swarm status panel model 2026-02-17 22:09:48 -07:00
Bill
34455006a1 Step 654: HiveMind job publisher model 2026-02-17 21:57:28 -07:00
Bill
f4259d9864 Step 653: sprint 39 integration summary 2026-02-17 21:56:30 -07:00
Bill
8905076b0d Step 652: local telemetry model 2026-02-17 21:55:20 -07:00
Bill
ea98c95e5d Step 651: plugin manifest model 2026-02-17 21:54:23 -07:00
Bill
96d98fa558 Step 650: HiveMind auto-update model 2026-02-17 21:53:29 -07:00
Bill
30b8b07d5e Step 649: package script generator 2026-02-17 21:52:36 -07:00
Bill
319b6734d0 Step 648: phase 39a integration 2026-02-17 21:51:45 -07:00
Bill
c05e83ec75 Step 647: self-modification safety guard 2026-02-17 21:50:51 -07:00
Bill
90975fde39 Step 646: in-editor test runner model 2026-02-17 21:49:59 -07:00
Bill
bbf6c06d23 Step 645: project AST CMake generator 2026-02-17 21:49:06 -07:00
Bill
97acad04aa Step 644: self-hosting project config 2026-02-17 21:47:58 -07:00
Bill
0ae1ab830a Step 643: sprint 38 integration summary 2026-02-17 21:46:54 -07:00
Bill
9f37be1550 Step 642: job dispatch table generator 2026-02-17 21:45:40 -07:00
Bill
ec74db1275 Step 641: SQLite data layer generator 2026-02-17 21:44:38 -07:00
Bill
3026c29a1e Step 640: MQTT boilerplate generator 2026-02-17 21:43:39 -07:00
Bill
106f5a45bd Step 639: project skeleton generator 2026-02-17 21:42:38 -07:00
Bill
9e30117aa1 Step 638: phase 38a integration 2026-02-17 21:41:34 -07:00
Bill
aa1a52cb55 Step 637: platform CMake target generator 2026-02-17 21:40:36 -07:00
Bill
748a173b0f Step 636: drone error synthesis 2026-02-17 21:39:37 -07:00
Bill
6b067c6800 Step 635: capability declaration generator 2026-02-17 21:38:39 -07:00
Bill
9130277713 Step 634: schema to C++ generator 2026-02-17 21:37:36 -07:00
Bill
98eae97f24 Sprint 37: architecture refactor pass 2026-02-17 21:32:46 -07:00
Bill
b5f03bd7ae Step 633: Sprint 37 integration summary 2026-02-17 21:29:33 -07:00
Bill
9373b604dd Step 632: agent task status overlay 2026-02-17 21:26:57 -07:00
Bill
0a29faaeef Step 631: background task slots 2026-02-17 21:24:03 -07:00
Bill
c78d1d82ac Add step 630 chat session persistence 2026-02-17 21:21:20 -07:00
Bill
695a4bc088 Add step 629 chat context auto-injection 2026-02-17 21:19:00 -07:00
Bill
8c3c08e9b9 Add step 628 phase 37a integration 2026-02-17 21:15:19 -07:00
Bill
e6473b3d9f Add step 627 inline mutation approval controls 2026-02-17 21:14:12 -07:00
Bill
5c5f69716d Add step 626 AST mutation preview model 2026-02-17 21:12:34 -07:00
Bill
f770f173a0 Add step 625 tool call visualization model 2026-02-17 21:10:53 -07:00