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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>