test(api-discovery-test): add 4 assertions for tier=module
Coverage: TOTAL 55 -> 59. New cases verify complete module README passes (no missing + order ok), missing-Controls is reported, and absence of API section is accepted by the module tier. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -13,8 +13,8 @@ Per Fault-Injection-Audit-Convention (2026-05-16):
|
||||
| `diff_surface` | 5 | Equal (no diff), surface-superset (missing), doc-superset (stale) |
|
||||
| `grep_engine_calls` | 5 | 3 unique calls, no-calls edge |
|
||||
| `generate_topology_block` | 6 | Lib-with-deps+engine, asset-lib (no deps, no engine) |
|
||||
| `validate_readme_structure` | 11 | Complete core, missing-API core, missing-Topology, missing-Badges, community-tier-no-enforcement, engine-tier-complete, engine-tier-missing-API, engine-tier-naked-badges |
|
||||
| **TOTAL** | **55** | |
|
||||
| `validate_readme_structure` | 15 | Complete core, missing-API core, missing-Topology, missing-Badges, community-tier-no-enforcement, engine-tier-complete, engine-tier-missing-API, engine-tier-naked-badges, module-tier-complete, module-tier-missing-Controls, module-tier-accepts-absence-of-API |
|
||||
| **TOTAL** | **59** | |
|
||||
|
||||
### Tested-Surface
|
||||
- All 6 public functions of `lib-core.api-discovery` v0.1.0.
|
||||
|
||||
Reference in New Issue
Block a user