test(api-discovery-test): add 3 assertions for tier=engine

Covers the new engine-tier validate_readme_structure behavior:
complete engine README, missing-API detection, and the relaxed Badges
pattern that accepts arbitrary bold key:value lines (engine has no
Lib-ID prefix).

Total assertion-count grows from 52 to 55. Coverage table updated.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Axel Meyer
2026-05-16 18:45:07 +02:00
parent c3c8b7579b
commit 8131f42ba0
2 changed files with 50 additions and 2 deletions

View File

@@ -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` | 8 | Complete core, missing-API core, missing-Topology, missing-Badges, community-tier-no-enforcement |
| **TOTAL** | **52** | |
| `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** | |
### Tested-Surface
- All 6 public functions of `lib-core.api-discovery` v0.1.0.