Files
LithosAnanake/src/test_runner/modules
Robert Allan JamesandClaude Sonnet 5 b2918fd0b2 POST coverage cluster 1/4: ACL accessors (proof-covered, previously untested)
Adds interpreter-level POST coverage for six ACL read accessors
(ACL-MODE@/PINNED?/TTL@/ALLOW@/HEAT@/WORD-ID), ACL-INHERIT as an
interpreted word (not just its underlying C function, already tested),
and ACL-INIT-PRIMITIVES -- all proof-covered per proof/COVERAGE.md but
never exercised via vm_interpret() before. Follows acl_words_test.c's
existing hand-rolled ACL_ASSERT style, not the WordTestSuite table
format the rest of the tree uses.

First boot caught a real bug in the new test itself (2/29 assertions
failed): ACL-INHERIT's C implementation pops dst before src, the test
pushed them backwards. Fixed the test, not the word -- ACL-INHERIT's
own dispatch was correct throughout. Re-verified: 29/29 pass, zero
build warnings. Both the failing and fixed boot logs kept as evidence.

Part of the agreed sequence (code sweeps -> HOL green -> POST coverage,
one proof-covered cluster at a time). Three more clusters queued:
Q48.16 math primitives, inference-engine accessors, physics
freeze/diagnostic words. Full writeup in FABRIC-2.md Section J.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 23:15:32 -04:00
..

src/test_runner/modules/

Per-category test files, one per FORTH-79 word category plus integration/stress/adversarial suites, run in this order by test_runner.c (POST order).

Word-category tests (validate each src/word_source/*.c file): arithmetic_words_test.c, mixed_arithmetic_words_test.c, stack_words_test.c, control_words_test.c, defining_words_tests.c, memory_words_test.c, return_stack_words_test.c, double_words_test.c, logical_words_test.c, io_words_test.c, string_words_test.c, block_words_test.c, format_words_test.c, system_words_test.c, dictionary_words_test.c, dictionary_manipulation_words_test.c, vocabulary_words_test.c, starforth_words_test.c, mama_forth_words_test.c, acl_words_test.c.

Cross-cutting tests:

  • integration_tests.c — multi-word interaction tests.
  • stress_tests.c — load/volume tests.
  • break_me_tests.c — adversarial/fuzzing tests.

Note: not every src/word_source/*.c file has a dedicated test module here (e.g. defer_words.c, log_words.c, inference_words.c, lifecycle_words_hosted.c, editor_words.c are exercised indirectly via integration tests or the tools/hermes_*.sh smoke tests rather than a standalone *_test.c module).