Commit Graph

273 Commits

Author SHA1 Message Date
Bill
b7918108ea Step 374: Add Scheme parser and pipeline routing 2026-02-16 11:30:33 -07:00
Bill
70deab8042 Step 373: Add Common Lisp integration tests 2026-02-16 11:26:25 -07:00
Bill
c5a4fddf96 Step 372: Add Lisp annotation inference mapping 2026-02-16 11:22:40 -07:00
Bill
e9ec11200e Step 371: Add Common Lisp generator and pipeline routing 2026-02-16 11:12:38 -07:00
Bill
8c1eeae897 Step 370: Add Common Lisp parser and routing 2026-02-16 11:08:20 -07:00
Bill
1f4c6f3c91 Step 369: Add WAT phase integration tests and diagnostics 2026-02-16 10:02:14 -07:00
Bill
c7c1f5727f Step 368: Add WAT cross-language projection tests 2026-02-16 09:58:31 -07:00
Bill
130284aa99 Step 367: Add WAT annotation mapping and tests 2026-02-16 09:57:00 -07:00
Bill
ccf21833f7 Step 366: Add WAT generator and pipeline generation route 2026-02-16 09:53:33 -07:00
Bill
219b828030 Step 365: Add WAT parser and pipeline routing 2026-02-16 09:49:50 -07:00
Bill
0f6e5333ae Step 364: Add C integration tests and projection coverage 2026-02-16 09:46:36 -07:00
Bill
f7fbec7bc4 Step 363: Add C memory/annotation inference and C->Rust ownership mapping 2026-02-16 09:39:51 -07:00
Bill
31f12d0323 Step 362: C Generator (12/12 tests) 2026-02-16 09:31:12 -07:00
Bill
dbec5aa514 Step 361: C Parser Functions Structs Enums (12/12 tests) 2026-02-16 09:28:14 -07:00
Bill
1948614ebb Sprint 13 architecture gate: refactor MenuBar function length 2026-02-16 09:23:29 -07:00
Bill
cb1dbc2207 Step 360: Phase 13d Integration and Sprint 13 Summary (8/8 tests) 2026-02-16 09:17:55 -07:00
Bill
8dd4782b00 Step 359: Find and Replace Improvements (12/12 tests) 2026-02-16 09:16:27 -07:00
Bill
923569c97c Step 358: Go-to-Definition and Symbol Navigation (12/12 tests) 2026-02-16 09:14:59 -07:00
Bill
de795bf6e6 Step 357: Status Bar (12/12 tests) 2026-02-16 09:13:18 -07:00
Bill
4c2b5fffcd Step 356: Breadcrumb Navigation (12/12 tests) 2026-02-16 09:11:52 -07:00
Bill
1470417c60 Step 355: Shortcuts Panel Integration (8/8 tests) 2026-02-16 09:09:37 -07:00
Bill
b089fa0cd0 Step 354: Menu Bar with Key Symbols (12/12 tests) 2026-02-16 09:07:20 -07:00
Bill
e79e42bab1 Step 353: Command Palette (12/12 tests) 2026-02-16 09:03:01 -07:00
Bill
0ba936da2b Step 352: Key Symbol Rendering (12/12 tests) 2026-02-16 08:59:56 -07:00
Bill
fc5483e0b6 Step 351: Keybinding Registry (12/12 tests) 2026-02-16 08:56:45 -07:00
Bill
93d84fd29b Step 339: C++ Parser — Preprocessor, Enum, Namespace (12/12 tests)
Extended CppParser to parse #include, #pragma, #define, enum class/enum,
namespace, using alias, and typedef from tree-sitter CST. Handles all
preprocessor directive types and recursive namespace body parsing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 00:42:26 -07:00
Bill
ca01fc6744 Step 338: EnumDeclaration + NamespaceDeclaration (12/12 tests)
Added EnumDeclaration, EnumMember, NamespaceDeclaration, TypeAlias AST nodes with
full serialization roundtrip and CompactAST support. Enums support scoped/unscoped,
underlying type, member values. Namespaces support nesting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 00:38:34 -07:00
Bill
96799dd51f Step 337: Preprocessor AST Nodes (12/12 tests)
Added IncludeDirective, PragmaDirective, MacroDefinition as first-class AST nodes.
Full serialization roundtrip and CompactAST support. Preprocessor directives are
statement-level nodes with macro bodies kept as unparsed text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 00:36:25 -07:00
Bill
2eef074fa1 Step 336: Phase 12c Integration Tests — Inheritance + Template pipeline (8/8 tests)
Full integration: parse C++ classes with multiple inheritance/CRTP via tree-sitter,
generate cross-language output (Java extends+implements, Python multi-base), verify
diamond detection and JSON serialization roundtrip.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 00:32:52 -07:00
Bill
6464c88483 Step 335: C++ Generator — Inheritance + Templates (12/12 tests)
Updated CppGenerator, PythonGenerator, JavaGenerator for multiple inheritance
output using getBases(). C++ emits template prefix + access specifiers + virtual.
Python uses direct multi-base. Java uses extends + implements adaptation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 00:29:54 -07:00
Bill
b1654f0b85 Step 332: Multiple Inheritance in ClassDeclaration (12/12 tests)
BaseClass struct with access specifiers and virtual flags. Backward-compatible
getBases() migration from legacy superClass. Diamond inheritance detection via
BFS. Updated Serialization for baseClasses array roundtrip.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:31:55 -07:00
Bill
6784281489 Step 331: Phase 12b Integration Tests — full routing pipeline (8/8 tests)
8 integration tests covering skeleton→workflow→route→execute→review lifecycle:
mixed worker routing, getter auto-approve, LLM context, human routing,
dependency chains, rejection flow, review policy, 5-function mixed skeleton.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:27:29 -07:00
Bill
a026743676 Step 330: Review Gates (12/12 tests)
Configurable auto-approve rules for review gate. Default policy auto-approves
deterministic/template with >=0.9 confidence. @Review(required) always
overrides. Policy serialization, wildcard rules, and 2 new MCP tools.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:23:06 -07:00
Bill
6352a04836 Step 329: Routing RPC + MCP Tools (12/12 tests)
4 new RPC methods and MCP tools for routing and worker dispatch:
routeTask, routeAllReady, executeTask, getRoutingExplanation.
Template workers auto-approve getter/setter patterns.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:20:00 -07:00
Bill
1d931abdf2 Step 328: ContextAssembler — Context Window Assembly + Budget (12/12 tests)
Builds context windows at local/file/project/cross-project widths with
token budget enforcement and priority-ordered truncation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:14:39 -07:00
Bill
63de321b6d Step 327: WorkerRegistry — Worker Abstractions (12/12 tests)
5 worker types: deterministic (intent-based), template (getter/setter),
SLM/LLM (context bundle prep for external invocation), human (review
marking). Registry with type lookup and canHandle filtering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:11:36 -07:00
Bill
2a2aef3fef Step 326: RoutingEngine — Annotation-to-Dispatch Logic (12/12 tests)
Routing engine maps WorkItem annotations to dispatch decisions: worker
type, context budget, review requirements. Priority cascade from explicit
overrides through pattern detection to context-based defaults.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:09:12 -07:00
Bill
08c8f0b085 Step 325: Phase 12a Integration Tests (8/8 tests)
End-to-end workflow lifecycle: skeleton→workflow, priority ordering,
dependency cascading, full lifecycle with results, rejection flow,
persistence, and combined 5-item workflow. Phase 12a complete (68/68).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:06:15 -07:00
Bill
cc352af68e Step 324: Workflow RPC + MCP Tools (12/12 tests)
8 new RPC methods and MCP tools for workflow lifecycle management:
create, inspect, assign, complete, reject, save. Role-based access
control enforced — Linter read-only, Refactor/Generator can mutate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 17:00:52 -07:00
Bill
ec0509f6ef Step 323: Workflow Sidecar Persistence (12/12 tests)
Save/load workflow state to .whetstone/<project>.workflow.json with
directory creation, overwrite, delete, and multi-workflow support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 16:36:20 -07:00
Bill
39555929d5 Step 322: WorkflowState — Project-Level Workflow Tracking (12/12 tests)
Top-level workflow state with auto-detected phases, statistics,
audit trail, skeleton population, and full JSON serialization.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 16:28:59 -07:00
Bill
b6cdd10f6d Step 321: TaskQueue — Priority Queue with Dependencies (12/12 tests)
Ordered queue with priority scheduling and dependency resolution. Items
blocked by unsatisfied dependencies stay pending; completing an item
cascades to unblock dependents.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 16:23:32 -07:00
Bill
25ab38d185 Step 320: WorkItem — Core Execution Model (12/12 tests)
Sprint 12 Phase 12a start. WorkItem extends SkeletonTask with execution
lifecycle tracking: 7-state machine, worker assignment, timestamps, results,
and full JSON serialization.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 16:17:35 -07:00
Bill
0d51a6fe4c Steps 309-319: Sprint 11 Phases 11d-e — Kotlin/C# languages + workflow annotation foundation
Phase 11d (Steps 309-313): Kotlin + C# parsers and generators
- KotlinParser (regex-based): fun, suspend fun, class, data class, val/var
- KotlinGenerator: idiomatic Kotlin output with type mappings
- CSharpParser (regex-based): methods, async, class, interface
- CSharpGenerator: Allman braces, foreach, Task async, LINQ types
- Pipeline integration for both languages, 10 parsers + 10 generators

Phase 11e (Steps 314-319): Workflow annotation foundation
- AnnotationInference: generalized multi-subject inference engine
- Subject 9 routing annotations: ContextWidth, Review, Ambiguity,
  Automatability, Priority, ImplementationStatus
- SkeletonAST: project specification before code exists
- Architect tooling: createSkeleton, addSkeletonNode, getProjectModel,
  inferAnnotations RPCs + 4 MCP tools (42+ total)
- Inference-to-routing bridge: complexity→ambiguity, getter→deterministic
- TrainingDataExporter + TrainingDataGenerator scaffolding

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 15:50:06 -07:00
Bill
a2a9fe6f97 Step 308: All 8 generators produce language-appropriate output for 9 new AST node types (8/8 tests)
Phase 11c complete (80/80 tests). Added visitor implementations for
ClassDeclaration, InterfaceDeclaration, MethodDeclaration, GenericType,
TypeParameter, AsyncFunction, AwaitExpression, LambdaExpression, and
DecoratorAnnotation to Rust, Go, Java, JavaScript/TypeScript, and Elisp
generators. Each generator emits idiomatic syntax: Rust struct+impl/trait/async fn/.await/|closure|,
Go type struct/interface/func receiver/<-channel/func(), Java class extends/interface/CompletableFuture/(x)->/@annotation,
JS class extends/async function/await/(x)=>/class, Elisp cl-defstruct/cl-defgeneric/cl-defmethod/(lambda).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 15:08:55 +00:00
Bill
d3e26d9216 Step 304: Serialization + dispatch for 9 new AST node types — Python + C++ generators (12/12 tests)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 17:11:00 +00:00
Bill
15230df621 Step 303: New AST nodes — AsyncFunction, AwaitExpression, LambdaExpression, DecoratorAnnotation (12/12 tests)
4 modern language construct nodes with full JSON roundtrip serialization.
AsyncFunction extends Function with isAsync flag, AwaitExpression wraps
awaited expressions, LambdaExpression captures variables with captureList,
DecoratorAnnotation models @decorator(args) patterns.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 16:57:10 +00:00
Bill
87615a7187 Steps 297-302: Phase 11b complete + Phase 11c step 302 (68/68 tests)
Phase 11b — Validation & Conflict Completion:
- Step 297: Subject 2-4 validation rules E0600-E0805 (12/12)
- Step 298: Subject 5-8 validation rules E0900-E1202 (12/12)
- Step 299: Cross-type conflict detection, 6 conflict pairs (12/12)
- Step 300: TransformEngineExtended — float folding, dead var, annotation-aware (12/12)
- Step 301: Phase 11b integration tests (8/8)

Phase 11c — Parser Deepening (start):
- Step 302: New AST nodes — ClassDeclaration, InterfaceDeclaration,
  MethodDeclaration, GenericType, TypeParameter with JSON roundtrip (12/12)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 16:53:23 +00:00
Bill
023809ef4b Sprint 20-25 architecture plans — completing the roadmap
Sprint 20: Legacy code ingestion + modernization workflows
Sprint 21: Semantic cross-language transpilation engine
Sprint 22: Assembly languages (x86/ARM) + C++ remaining gaps
Sprint 23: Architect mode — problem description to tech stack + skeleton
Sprint 24: Security annotations, OWASP detection, secure transpilation
Sprint 25: Self-hosting, end-to-end scenarios, polish, release prep

Cumulative: ~508 steps, ~5000 tests, 19+ languages, 90+ MCP tools,
80+ annotation types across 10 subjects. Post-25 training data harvest
builds on real workflow decisions accumulated across all sprints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 05:19:22 +00:00
Bill
4f5542a47f Sprint 12-19 architecture plans + roadmap through Sprint 25
Revised Sprint 11e from training data export to workflow annotation
foundation (routing types, skeleton AST, inference-to-routing bridge).
Detailed plans for Sprints 12-19 covering workflow model, GUI overhaul,
6 new languages, orchestration engine, C++ self-hosting, Claude Code
plugin, and workflow visualization. Created ARCHITECT.md with core
thesis and design principles. Training data deferred to post-25 where
real workflow decisions provide superior signal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 05:14:45 +00:00