Repository navigation
spec(t27f): topic-to-value engine and /t27f skill, phase 1 slice (Closes #9951) - #9952
Merged
Merged
Conversation
Add specs/t27f/topic_engine.t27 (module T27fTopicEngine), the rules of the T27F phase 1 vertical slice: 3 lenses x 9 steps = 27 lessons, intake and gap rules, keyword routing to one domain, a cap of 3 active Bees, evidence gates per stage and domain, progression only after verification (never money), and human approval for publish, send, payment and destructive actions. Two demos run through the same functions: a villa-sale brief (sales) and a GF16 research topic (research). Add the Claude Code skill .claude/skills/t27f/SKILL.md, which reads the spec through the t27 MCP server (t27_spec source=true) and applies it step by step without restating it, plus its card specs/skills/t27-t27f.t27 and a t27f/ row in specs/OWNERS.md. Lab (Railway, t27c 90fc25b, zig 0.16.0): test-report 10/10 pass, 4 invariants proved, 0 vacuous; skill card 1/1; gen-js and gen-c succeed. Negative control: two one-token mutations (route tie, approval threshold) fail 2 tests. Closes #9951 Refs gHashTag/trinity#1677, gHashTag/trinity#1648 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 17, 2026 14:08
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #9951
Refs gHashTag/trinity#1677 (MEGA-EPIC: Universal T27F Topic-to-Value Engine), gHashTag/trinity#1648 (EPIC: T27F)
What
The MVP of the T27F phase 1 slice, usable from Claude Code through the t27 MCP server that is already installed:
specs/t27f/topic_engine.t27(moduleT27fTopicEngine) holds the rules:REWARD_IS_MONEY = false;The header says which steps are deterministic and what the LLM writes.
.claude/skills/t27f/SKILL.mdgives the order of operations. It reads the spec viat27_spec path=specs/t27f/topic_engine.t27 source=trueand does not restate it.specs/skills/t27-t27f.t27is the skill card.specs/OWNERS.mdgets at27f/row.No foreign code: two
.t27files, one prose skill and one OWNERS line.#1677 acceptance criteria covered by tests
demo_villa_sale_brief,demo_gf16_research_topicgaps_are_shown_not_filledrouting_picks_one_domain,dispatch_is_capped, invariantfew_bees_not_twenty_sevenprogress_only_after_verification,engineering_practice_needs_a_testreward_is_not_moneyhigh_impact_actions_need_approvallayers_stay_separateEvidence (Railway lab, t27c 90fc25b, zig 0.16.0)
topic_engine.t27: 10/10 tests pass and 4 invariants are proved; 0 vacuous tests (76 runtime asserts executed).t27-t27f.t27: 1/1 pass, 9 asserts.>to>=, approval threshold>=to>) fail 2 tests.gen-jsandgen-cboth succeed.Not claimed
🤖 Generated with Claude Code