Steps 266-268: Phase 10a — semantic annotation core + sidecar persistence (32/32 tests)
Step 266: 5 semantic annotation AST types (Intent, Complexity, Risk, Contract, SemanticTag) with JSON roundtrip and compact AST integration. Step 267: Sidecar AST persistence (.whetstone/<file>.ast.json) with save/load/list RPC methods, MCP tools, and permission enforcement. Step 268: Phase 10a integration tests — multi-file sidecar workflow, all 5 types in compact view, idempotent roundtrip, source isolation. Also includes Sprint 10 plan, GUI/installer polish, and Emacs integration fixes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,8 +40,9 @@ public:
|
||||
}
|
||||
default: { // star (outline)
|
||||
ImVec2 pts[10];
|
||||
constexpr float kPi = 3.14159265358979323846f;
|
||||
for (int i = 0; i < 10; ++i) {
|
||||
float angle = (float)(IM_PI * 0.5 + i * (IM_PI / 5.0));
|
||||
float angle = (float)(kPi * 0.5f + i * (kPi / 5.0f));
|
||||
float radius = (i % 2 == 0) ? size : size * 0.5f;
|
||||
pts[i] = ImVec2(center.x + std::cos(angle) * radius,
|
||||
center.y - std::sin(angle) * radius);
|
||||
|
||||
Reference in New Issue
Block a user