Commit Graph

6 Commits

Author SHA1 Message Date
Axel Meyer
d71ea6df74 feat: add generate_topology_block (S2 Phase 1)
Builds mermaid graph-LR source from manifest.deps + engine-calls.
Asset-libs (no deps, no engine) produce self-node-only output.
Per spec section 4.2.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 13:33:34 +02:00
Axel Meyer
24bd00ad9c feat: add grep_engine_calls (S2 Phase 1)
Greps engine.<namespace>.<func> patterns from Lua source via Lua-pattern.
Returns unique sorted array per spec section 4.2.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 13:27:55 +02:00
Axel Meyer
0457d5c798 feat: add diff_surface (S2 Phase 1)
Set-difference between code-surface.public and README documented-list.
Returns { missing_docs, stale_docs } sorted, per spec section 4.2.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 13:22:57 +02:00
Axel Meyer
3eacefe18d feat: add parse_readme_api (S2 Phase 1)
Extracts H3-headers from README ## API section. Pattern handles
optional namespace-prefix (e.g. 'input.bind' -> 'bind'). Returns
{ documented = [...] } per spec section 4.2.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 13:18:19 +02:00
Axel Meyer
dfa4134106 feat: add parse_lua_surface (S2 Phase 1)
Extracts M.<name> = function(...) patterns from Lua source; classifies
underscore-prefix as private. Pure regex-based (Lua patterns); 95%
coverage for idiomatic Sporel-Lib code per spec §4.3.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 12:55:27 +02:00
Axel Meyer
bb9bee495b init: lib-core.api-discovery v0.1.0 skeleton
Empty M-table. Functions added incrementally via TDD in subsequent
S2-plan tasks.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 12:41:49 +02:00