t27b checked: test blocks for 7 specs in specs/crons (3 of 8)
Refs #6063 (t27b coverage epic). Filed by the bee feed (lab run 682564f48, https://t27b-lab-production.up.railway.app/latest.json).
The Railway t27b lab says the reference path (t27c gen + zig test) passes each spec below, and t27b compiles each one too -- but each is pass_vacuous: it has no test block, so nothing is checked at runtime and it does not count toward t27b coverage. One test block per spec that asserts what the spec already declares makes it a checked pass the next time the lab runs.
specs/crons/999-multibots-telegraf-render-server-L10845.t27
specs/crons/999-multibots-telegraf-render-server-L2301.t27
specs/crons/999-multibots-telegraf-render-server-L2325.t27
specs/crons/999-multibots-telegraf-render-server-L919.t27
specs/crons/999-multibots-telegraf-security.t27
specs/crons/999-multibots-telegraf-skill-detector.t27
specs/crons/999-multibots-telegraf-taskCache-L27.t27
Out of bounds (do not edit): any other file, seals under .trinity/seals/, docs/reports/, gen/, and the blog progress spec. The steward re-blesses the t27b ledger after the lab sees the change.
Boundary
specs/crons/999-multibots-telegraf-render-server-L10845.t27
specs/crons/999-multibots-telegraf-render-server-L2301.t27
specs/crons/999-multibots-telegraf-render-server-L2325.t27
specs/crons/999-multibots-telegraf-render-server-L919.t27
specs/crons/999-multibots-telegraf-security.t27
specs/crons/999-multibots-telegraf-skill-detector.t27
specs/crons/999-multibots-telegraf-taskCache-L27.t27
User Scenarios & Testing
- Given each spec above has no
test block and t27c test-report <spec> prints tests 0,
when one test block is appended to each spec and the commands under Success Criteria are run from the repository root,
then each command prints the value stated beside it, and the next t27b lab run counts these specs as checked passes instead of pass_vacuous.
Requirements
- FR-001: append exactly one
test <snake_case_name> { ... } block at the end of each spec listed above (before endmodule if the file has one). Do not change, reorder or remove any existing line; the number of pub const lines stays the same.
- FR-002: each test MUST hold at least 4
assert lines, each on its own line, comparing a constant the spec declares with the literal value it declares: assert KIND == "cron";, assert ENABLED == true;, assert ORDER == 4;, a bound such as assert INTERVAL_MS >= 60000;, or one element of a fixed array such as assert TAGS[0] == "corpus";. Use only ==, !=, <, <=, >, >= on str, bool and integer constants. No assert true, no new functions, no new constants, no imports.
- FR-003: every assert MUST hold:
t27c test-report <spec> prints FAIL 0 and a pass count of 1 or more. A failing assert means the value was copied wrong -- fix the assert, never the constant.
- FR-004: the files MUST stay ASCII-only (law L3).
- FR-005: the PR contains only
.t27 files (the specs above) and nothing hand-written in any other language, no generated file, no scratch file, no docs/now/ entry written by hand.
- FR-006: If this work raises the number of specs t27b passes with runtime checks, write
t27b-blog: +N <spec paths> in the PR body, so the daily blog entry can name which bee work moved the number.
Success Criteria
-
t27c test-report specs/crons/999-multibots-telegraf-render-server-L10845.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$' prints 2 (today it prints 1: tests 0, nothing runs)
-
grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-render-server-L10845.t27 prints at least 4
-
t27c test-report specs/crons/999-multibots-telegraf-render-server-L2301.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$' prints 2 (today it prints 1: tests 0, nothing runs)
-
grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-render-server-L2301.t27 prints at least 4
-
t27c test-report specs/crons/999-multibots-telegraf-render-server-L2325.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$' prints 2 (today it prints 1: tests 0, nothing runs)
-
grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-render-server-L2325.t27 prints at least 4
-
t27c test-report specs/crons/999-multibots-telegraf-render-server-L919.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$' prints 2 (today it prints 1: tests 0, nothing runs)
-
grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-render-server-L919.t27 prints at least 4
-
t27c test-report specs/crons/999-multibots-telegraf-security.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$' prints 2 (today it prints 1: tests 0, nothing runs)
-
grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-security.t27 prints at least 4
-
t27c test-report specs/crons/999-multibots-telegraf-skill-detector.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$' prints 2 (today it prints 1: tests 0, nothing runs)
-
grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-skill-detector.t27 prints at least 4
-
t27c test-report specs/crons/999-multibots-telegraf-taskCache-L27.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$' prints 2 (today it prints 1: tests 0, nothing runs)
-
grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-taskCache-L27.t27 prints at least 4
t27b checked: test blocks for 7 specs in specs/crons (3 of 8)
Refs #6063 (t27b coverage epic). Filed by the bee feed (lab run
682564f48,https://t27b-lab-production.up.railway.app/latest.json).The Railway t27b lab says the reference path (
t27c gen+zig test) passes each spec below, and t27b compiles each one too -- but each ispass_vacuous: it has notestblock, so nothing is checked at runtime and it does not count toward t27b coverage. Onetestblock per spec that asserts what the spec already declares makes it a checked pass the next time the lab runs.specs/crons/999-multibots-telegraf-render-server-L10845.t27specs/crons/999-multibots-telegraf-render-server-L2301.t27specs/crons/999-multibots-telegraf-render-server-L2325.t27specs/crons/999-multibots-telegraf-render-server-L919.t27specs/crons/999-multibots-telegraf-security.t27specs/crons/999-multibots-telegraf-skill-detector.t27specs/crons/999-multibots-telegraf-taskCache-L27.t27Out of bounds (do not edit): any other file, seals under
.trinity/seals/,docs/reports/,gen/, and the blog progress spec. The steward re-blesses the t27b ledger after the lab sees the change.Boundary
specs/crons/999-multibots-telegraf-render-server-L10845.t27
specs/crons/999-multibots-telegraf-render-server-L2301.t27
specs/crons/999-multibots-telegraf-render-server-L2325.t27
specs/crons/999-multibots-telegraf-render-server-L919.t27
specs/crons/999-multibots-telegraf-security.t27
specs/crons/999-multibots-telegraf-skill-detector.t27
specs/crons/999-multibots-telegraf-taskCache-L27.t27
User Scenarios & Testing
testblock andt27c test-report <spec>printstests 0,when one
testblock is appended to each spec and the commands under Success Criteria are run from the repository root,then each command prints the value stated beside it, and the next t27b lab run counts these specs as checked passes instead of
pass_vacuous.Requirements
test <snake_case_name> { ... }block at the end of each spec listed above (beforeendmoduleif the file has one). Do not change, reorder or remove any existing line; the number ofpub constlines stays the same.assertlines, each on its own line, comparing a constant the spec declares with the literal value it declares:assert KIND == "cron";,assert ENABLED == true;,assert ORDER == 4;, a bound such asassert INTERVAL_MS >= 60000;, or one element of a fixed array such asassert TAGS[0] == "corpus";. Use only==,!=,<,<=,>,>=onstr,booland integer constants. Noassert true, no new functions, no new constants, no imports.t27c test-report <spec>printsFAIL 0and apasscount of 1 or more. A failing assert means the value was copied wrong -- fix the assert, never the constant..t27files (the specs above) and nothing hand-written in any other language, no generated file, no scratch file, nodocs/now/entry written by hand.t27b-blog: +N <spec paths>in the PR body, so the daily blog entry can name which bee work moved the number.Success Criteria
t27c test-report specs/crons/999-multibots-telegraf-render-server-L10845.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$'prints2(today it prints1:tests 0, nothing runs)grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-render-server-L10845.t27prints at least4t27c test-report specs/crons/999-multibots-telegraf-render-server-L2301.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$'prints2(today it prints1:tests 0, nothing runs)grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-render-server-L2301.t27prints at least4t27c test-report specs/crons/999-multibots-telegraf-render-server-L2325.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$'prints2(today it prints1:tests 0, nothing runs)grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-render-server-L2325.t27prints at least4t27c test-report specs/crons/999-multibots-telegraf-render-server-L919.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$'prints2(today it prints1:tests 0, nothing runs)grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-render-server-L919.t27prints at least4t27c test-report specs/crons/999-multibots-telegraf-security.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$'prints2(today it prints1:tests 0, nothing runs)grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-security.t27prints at least4t27c test-report specs/crons/999-multibots-telegraf-skill-detector.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$'prints2(today it prints1:tests 0, nothing runs)grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-skill-detector.t27prints at least4t27c test-report specs/crons/999-multibots-telegraf-taskCache-L27.t27 2>&1 | grep -cE '^ (FAIL +0|pass +[1-9][0-9]*)$'prints2(today it prints1:tests 0, nothing runs)grep -cE '^[[:space:]]+assert' specs/crons/999-multibots-telegraf-taskCache-L27.t27prints at least4