My toolspublic

tc-team

Feed it a spec, get test cases. The LLM only writes sentences; deterministic code owns every structure and gate. It can also hand them to an AI as a document bundle.

tc-team is a tool that takes a specification and fills a spreadsheet with test cases. “The AI writes them” is not what makes it interesting, since anyone can do that badly. What matters is what the AI was never given.

What a test case is

Build a game or an app and someone has to confirm it works. “Have a look and see if it’s fine” is not a confirmation, so what to press and what should appear has to be written down first. That written line is a test case.

Say the feature is item upgrade. The line reads: press upgrade with no upgrade stones, and “Insufficient materials” appears and the upgrade does not happen. Dozens of these get written per feature, and by hand it is slow and things get missed along the way. The tool fills that table from a specification.

Since October 2026 it can also hand the same cases to an AI, as a bundle of documents the AI reads and then tests from. The section on the AI edition below covers it.

The tool runs fully only when connected to a second brain. The second brain is what finds values the spec leaves out in your own docs; without it, every one of those rows goes to a person as “needs spec confirmation”.

What the AI is given and what code keeps

Ask an AI to write test cases and it will. Anyone can, and the trouble is that the output differs every time. Today numbering starts at 1, tomorrow at 0. Some days there are six columns, some days seven. Feed the same specification twice and the results differ.

So the roles were split. Code, meaning a fixed program, owns the order, the table skeleton, numbering, formatting, the coverage ledger and the writing to the sheet. The AI owns sentences, design judgement, findings and verdicts. It writes only the words, and code holds the shape.

The reason is that at first the AI drove everything, and as it went it drifted out of the rules it had itself set. Around row 30 the formatting had changed. It was not malice, just its nature. When code holds the shape, there is nothing to drift out of.

Eight stages

Stage What it does Owner
0 Gather the source, lock out concurrent runs, self-check the input Code
1 Read the spec and build the design skeleton. This seat gets the strongest AI AI
2 Inspect whether the design can be expanded Code
3 Build the skeleton, split the sentence-writing four ways, merge Code + AI
4 Review adversarially, judge, record coverage AI
5 Apply fixes plus four inspections; if a rule is uncovered, an AI gets one try at filling it Code + AI
6 Write to the real sheet Code
7 Finalise, a trust score on every row, dashboard Code

Stage 0 is prepared separately, and stages 1 to 7 then run to the end from a single command. One “starting on this” notice goes to an internal channel when it begins.

It stops when it cannot pass

The tool does not “do its best and continue”. There are checkpoints, and failing one means stopping and calling a person. Whatever it can fix by itself, it tries a few times first.

Checkpoint If it catches
Input check Re-gather once; failing again, do not start at all
Design inspection Stop. A person fixes the design and the run picks up from there
Merge comparison Only the mismatched chunk re-runs
Wording inspection Tries up to three times to fix vague phrasing itself; stops if it isn’t shrinking
Applying a fix Rejection is correct behaviour: if the target does not match expectation, it is not edited and the run stops
Duplicate inspection Stops if two cases are word-for-word identical
Coverage inspection If a rule is uncovered, an AI gets one try at filling it; still uncovered, it stops

The “applying a fix” row matters most. If it opens something to fix it and finds the content is not as expected, it does not fix it and stops, because someone may have edited it in between. Rejection counts as correct operation.

That character has a price. Counting back through the logs in September 2026, 13 of 38 end-to-end runs (34%) stopped at least once and needed a person to carry on. That beats quietly shipping a wrong table, but it is not yet a tool that simply does everything for you.

Reviewers who cannot see each other

Finished cases are read by several viewpoints at once: one for structure, one for quality, one comparing against the source. None of them can see the others’ results.

That is deliberate. Seeing each other makes opinions converge, and converged opinions miss the same things together. Three looking separately catch three different things.

What the three find goes to a single judging AI, which argues each point and throws out the misfires. The survivors are never fixed by the AI directly. They are written down as a fix plan that code can apply, and stage 5’s code does the actual editing.

Five things that changed in September

The tool keeps getting fixed in use. On 24 September 2026 the whole thing got a check-up that turned up 50 candidate defects, and for each one a different AI was asked to argue it away. Five changes came out of it.

The first was that the strongest AI now does the design (24 September). Stage 1 design takes 64% of a run’s time, so that is where quality differs most, and design alone goes to Claude Opus 5.5. In a side-by-side test it did better on two features out of three.

The second was to ask the internal wiki first. Anything the spec left unanswered and marked “needs confirmation” now gets looked up in the company wiki and data tables, and if an answer turns up, that question comes off the list sent to the planners.

The third was to take rules inside tables one row at a time (25 September). Tables in a spec were not fully making it into the rule ledger: a fifth of the table rows sat outside it, and the check still passed with “nothing missing”. What isn’t in the ledger can’t be missed, as far as the check can tell.

The fourth was to make resumed runs keep their fixes (25 September). Stop a run midway and resume it, and the stage-4 review’s fixes were silently thrown away, while on the surface the run finished normally.

The fifth was to isolate the working AIs (25 September). Every AI called up for a stage was carrying my personal settings, plugins and memory with it. Through that gap the design AI once wrote files straight into my Drive and deleted them: 110 copies it had made itself, with nothing that already existed lost. Now each one carries only the tools its stage needs.

That last change started as a cost saving. Measured on the same spec with isolation on and off, the money came to a little over 7%, from only two pairs, so it is not settled. The real gain was elsewhere. The number of times something unrelated to the job, such as a summary of some other task, got slipped into the first instruction an AI received was 0 out of 23 with isolation on, and 23 out of 23 with it off.

Why numbers cannot be the join key

This is the lesson that hurt most. A ledger tracks coverage, and at first it pointed by case number, as in “rule 3 is covered by case 7”.

Then inserting one row pushes every number below it down. Seven becomes eight, the ledger still says seven, and seven is now a different case. I first tried recomputing the numbers, which was wrong: with several insertions the arithmetic stops holding.

Now the ledger joins by content, using a combination of category, verification stage and reproduction steps. Position changes while content does not.

The AI edition: same engine, one more exit

In October 2026 I added tc-team-ai. It takes the test cases the same engine produces and, instead of a spreadsheet for people, hands them over as a bundle of documents an AI reads and then checks the game with. The people edition takes a spec plus a Google Sheet and runs stages 0 to 7. The AI edition takes the spec alone and runs stages 0 to 5, skipping stages 6 and 7 that write the sheet. What comes out is a bundle of run rules, cases, the original spec and an empty results table.

The reason for a separate edition is that people and AIs read the same line differently. A tester who reads “press upgrade with no upgrade stones” knows how to empty out the stones and where on the screen to look. An AI fills those gaps with guesses and wanders off. So each line gets four fields attached.

Field For the example above
Precondition (what must already be true) A character holding no upgrade stones
Action (what to do) Press upgrade
Expectation (what should appear) “Insufficient materials” shows and nothing is upgraded
Observation (what to judge by) The message, and whether the upgrade level stayed put

An AI does the splitting, which makes the frightening part meaning that shifts on the way. Zero gets copied down as one, or “does not open” flips to “opens”, and the AI checks the wrong thing and writes PASS. Code stands guard here too. It checks that the original’s numbers, English names and quoted text survive into the four fields and that a negative has not flipped, and a case that fails twice ships as the original line alone. The original line is always the truth and the four fields are a reading aid; the run rules at the front of the bundle say the same.

The rules the AI must follow travel in the same place. There is no PASS and no FAIL without evidence, meaning a screenshot path, a log line or a database value. Behaviour the spec never decided must not be logged as a bug either. Those cases leave already flagged “verdict on hold”, and the AI writes BLOCKED (spec) instead of FAIL and notes what it actually saw.

On 8 October I ran one internal spec all the way through. It produced 106 cases, every one of them split into four fields and passed the check, and 15 were on hold. It took 1 hour 38 minutes, 81 of them in design, and the splitting took a little over six.

This is where the join-by-number lesson bit a second time. The bundle tells each case which rule of the spec it came from. That lives in the stage-4 ledger, whose numbers come from before stage 5 renumbers everything, so the join goes by sentence instead. The same sentence can sit in two places, though: the smoke checklist at the front and the main body, an overlap the design allows on purpose. 29 of 65 past runs had pairs like that. Now the side the ledger was pointing at (smoke or body) is tried first, and if that still leaves more than one candidate, the link is left off and counted. A blank is better than a wrong source.

Here is what it cannot do yet. No AI has taken one of these bundles and actually tested a game with it. The results table is empty, and only the producing side has been verified. How to set up a state is not in the bundle either: cheats, test accounts and where the logs live differ from game to game, so the project has to supply them, and without that the case stays BLOCKED (environment). Some shifts also get past the check. A negative that was never in the original, or a condition slipped in without a number, looks just like ordinary rewording, which is why the original stays the truth. Korean also has a short way of writing “not”, and at first a dropped one passed too; the “nothing is upgraded” above is phrased exactly that way in the Korean original. That was fixed on 12 October, and it is caught now.

26 October, v4.3.8: more to look at once a run is over

On 26 October 2026 I put v4.3.8 on the public repo (release notes). Six things changed.

One is a report card when a run finishes. Once the cases are final, a separate report (quality_report) is built, and one page shows which sentence of the spec became which case, what was left out, and which questions are still open. The sheet’s existing columns are left alone.

Two is a plan-for-running slot in the design. For each of ten checks the design now says whether it applies to the feature and how risky it is. Examples are how many wrong logins before lockout, reconnecting, how long data is kept, and screen sizes. An older design without the slot is reported as unknown, and never counted as passed.

Three is a check that the numbers in the design match. Code compares the settings a design states against the baseline; it only reads and never edits, and whether the meaning is right is still the reviewers’ job.

Four is a cheat memo. Starting a test sometimes needs an in-game command (a cheat). The AI only picks which cheat and which item name, and code finds the real item number in the table, builds one command line, and attaches it as a note on the first row of the sub-category. Cell values are not changed, and a name missing from the table drops that cheat.

Five is stopping at a limit. If usage limits or a busy model make a call fail, the run stops and tells you instead of hitting the same wall again.

Six is where the “needs spec clarification” list sits. On newly made tabs that list moves to columns R and S, with R as the number and S as the item. Existing tabs were not moved.

All six were checked only as far as a full test run on a fresh install. This page has no measurement of what they change on an internal spec.

An honest limit

A thin specification produces thin output. The tool does not invent specification that is not there; where there is no basis it marks “needs confirmation from the spec” and moves on rather than writing a case. I think that is right, because an invented case becomes “where did this come from” later, and by then nobody knows.

But in an organisation with thin specifications the volume comes out lower than expected. The cause lies more in the material than the tool, and to the person using it the disappointment is identical.

It is slow. One feature end to end takes 1 hour 36 minutes at the median, and 64% of that is design. Split the runs at 27 August and the median design pass went from 41 to 67 minutes. Design moved to a stronger AI that day, but whether that is why it slowed down has not been measured separately.

Some things are not fixed yet. Two that the September check-up found are waiting their turn.

  • Re-run it from the same folder and it treats last time’s tab as its own, wipes it and writes afresh. If someone recorded test results in that tab in between, those can go with it. It happens because “is this our tab?” is decided by a marker file on my machine, not by the sheet.
  • It leaves a file saying “every inspection passed,” but no code ever checks it. Resume from a later stage and stage 5’s inspections can be skipped. The documentation said “no marker means the stage runs again”; the code was not keeping that promise.

Things that were rejected

Version history is mostly a list of things that looked like progress and were not. More was taken out than was built.

CODE LLM S0Prepare S1Design S2Isolate S3Skeleton Prose S4Review S5Apply S6Write sheet S7Finalise input design merge four
Black cells are deterministic code; orange cells are the model. Only S3 crosses both lanes — code builds the skeleton, the model fills in prose, code merges it back. Triangles are gates: fail one and the run stops there.

The detailed record starts here

Point it at a spec document and it fills a live spreadsheet tab with a test-case set. After a preparation step that fetches the source (S0), one invocation runs it to the end, unattended.

The interesting part isn’t “an LLM writes test cases.” Anyone can do that badly. The interesting part is the split.

Two lanes — the LLM owns sentences and judgment; deterministic code owns structure and fact.

Why split at all

Early on the model drove the whole pipeline. It drifted.

Row counts changed between stages, coverage quietly dropped, and two runs never produced the same shape. Models are excellent at approximately right. They cannot be used for same-input-same-output.

The fix wasn’t better prompting. It was confiscation.

Owner What it holds
Deterministic code stage order, row skeleton, numbering, formatting, merging, coverage ledger, sheet writes
LLM design judgment, sentences, review findings, verdicts

Eight stages

Stage Job Owner
S0 fetch source, take the run lock, self-check the input code
S1 analyse the spec → design skeleton LLM
S2 design isolation gate + source slicing code
S3 build skeleton → fan out for prose → merge code + LLM
S4 adversarial review, verdicts, coverage ledger LLM
S5 apply fixes + four gates code (LLM only for stitching uncovered rules)
S6 write to the live sheet code
S7 finalise, confidence, dashboard code

(As of September 2026) the kickoff notice goes out once when S1 starts, not at S7, and the run lock is released by the chain itself on exit.

S1 through S7 are written up individually. Each stage cost something to learn, and a table row doesn’t hold it.

S3 shows the architecture best. Code builds the skeleton first, cuts it into 25-row chunks, lets the model fill in only the prose, and code merges the results back. On merge it checks index, echo, hash and count — so if the model shifted a row or touched somebody else’s, only that chunk re-runs. Every other chunk’s work survives.

Gates — it stops rather than continues

This is what defines the tool’s character. It does not “carry on doing its best.”

Gate Stage On failure
input self-check S0 one refetch → still bad, refuse to start
design gate S2 design defect → halt; a person fixes the design and resumes
merge verification S3 re-run only the mismatched chunk
content gate S3 · S5 vague phrasing, unsupported deferrals — up to three automatic correction rounds at S3, halt if they stop shrinking · halt straight away at S5
apply before-mismatch S5 rejection is correct behaviour — the apply fails and the run halts (no automatic regeneration of the plan)
duplicate gate S5 halt when cases with an identical reproduction step (column F) remain
traceability S5 uncovered rule → one LLM stitching round → still uncovered, halt

(As of September 2026, unattended chain.) Early on, a design defect looped back to S1; that round trip now survives only in the fallback procedure where a person drives the stages by hand.

The before-mismatch gate matters most. Before applying a fix it asks “is the place I’m about to edit still what I read?” and refuses if not. A mismatch means a human touched the sheet or an earlier stage shifted — and pushing through would overwrite the wrong row.

Halts that call for a person are collapsed into one kind — an integrity violation, exit 14 — and automatic retries run before it. The other exits are expired auth (10), retry limit (13), quota (15) and anything else (1). Everything else completes unattended.

How often it actually halts was measured by going back through the logs in the 24 September 2026 audit: 13 of 38 full-chain runs (34%) stopped at least once and were resumed. The same audit put the median full run at 96 minutes, 64% of it in S1.

Review is adversarial, not collaborative

Generated cases are read by several lenses in parallel — structure, quality, and comparison against the source. They cannot see each other’s findings. If they could, they would converge, and convergence means missing the same things together.

A separate judge cross-examines the findings, drops the false positives, and produces a fix plan in a form a machine can apply. Surviving findings are applied by code. Nobody asks the model to please go fix it.

The same stage builds the coverage ledger: each rule extracted from the spec is mapped to the cases that cover it, and anything uncovered gets a row stitched in at S5.

The sheet is touched exactly once

S6 writes the test-case body to the live spreadsheet one time (S7 then adds confidence notes and a panel to the same tab), and decides by ownership marker.

  • Our tab → wipe and rewrite in full (idempotent)
  • Somebody else’s tab → don’t touch it; create a _v2–_v9 alongside
  • Every other tab → off limits, unconditionally

Run it five times and the result is identical, and it never overwrites a tab somebody else made. For automation that runs next to humans, those two properties come before everything else.

⚠ (24 September 2026 audit, not yet fixed) The ownership marker lives in a local file, not in the sheet, so a re-run from the same folder always rules the tab “ours.” Anything a person wrote into that tab in between can be wiped with it.

The AI edition never touches a sheet

tc-team-ai shipped in v4.3.6 on 9 October 2026 (release notes). There is still one engine. Called as run_pipeline_full.sh --no-sheet, the chain ends at the S5 final set and never runs S6 or S7; S1 runs with --local, which skips the kickoff notice. That calling it without the flag leaves the stage order as it was is pinned by a test with a --sheet-id control run. The edition is chosen at install time with --mode human|ai|both, and the default, human, installs exactly what it used to.

Three steps follow S5.

Step Owner Job
rewrite LLM 25-row chunks, four in parallel, two attempts per chunk; one reproduction step becomes precondition / action / expectation / observation
preservation gate code numbers (dropped or added), English identifiers, quoted and symbol strings, negation, share of content words kept; fail twice → ship the original only
export code recompute confidence without a sheet using the same core, and write the bundle

Each split is stored with the sentence it was made from. Rebuild the final set so that a sentence changes, and the export throws that split away. Shipping the bare original beats pinning a stale aid to the wrong case.

The bundle is four files: INDEX.md (run rules, run order, open questions for the planners, excluded rules), cases/NN_<screen>.md (one block per case — the original, the four fields, the verdict flag, up to three source rules, confidence; the smoke set comes first), spec.md (the spec, section by section) and results.md, the table an AI fills in, which a re-export never wipes.

There are four verdicts — PASS, FAIL, BLOCKED, N/A — and a PASS or FAIL with an empty evidence cell breaks the rules. Behaviour the spec leaves open is BLOCKED(기획) (“spec”), and FAIL is forbidden there. The test environment — cheats, accounts, logs — stays outside the bundle: the project supplies it in a document such as QA_ENV.md, and without one the case is BLOCKED(환경) (“environment”). tc-team knows what to check. How to reach that state differs per game.

One real run (8 October 2026, one internal spec): 106 cases, 15 screen groups, 15 on hold, 106 split, 0 shipped as the original only. Of 98 minutes on the wall clock, S1 took 81 and the rewrite 386 seconds. The eight cases bounced on the first attempt all had an empty action field; the second attempt filled them.

Rules are joined by sentence — and a sentence can exist twice. The S4 coverage ledger is numbered before S5 inserts, deletes and renumbers rows, so the final row is found through the ledger row’s sentence (S4’s edit if it made one, otherwise the original). The catch is that the duplicate gate looks at the QA body and the smoke set separately, so one sentence surviving in both is allowed by design. 29 of 65 internal runs had such pairs, 91 in all. By sentence alone, those links do not resolve to one row.

Now the row in the ledger row’s own scope (smoke or QA) is preferred, and whatever is still ambiguous is left out and counted as rule_links_unmapped. Against the 5,568 links in the 22 runs that kept an S4 ledger, sentence-only resolves 5,511 and scope-first resolves 5,547; where both resolve a link, they never pick different rows. The other 21 point at sentences the final set no longer has.

“Could not read anything” and “rejected everything” leave the same bundle. If the executor never runs, every case ships as the original and the bundle looks like a clean finish. So a run that read zero outputs stops with exit 12 and says which case it was — no output file (executor, model name, network) or a file that is not JSON (format). Reproduced in review with a fake executor that wraps its JSON in a code fence, the first message sent you to check the network while the file sat there intact.

Not done yet:

  • Zero results from an AI actually running QA from a bundle. results.md is empty; only the producing side is verified.
  • The gate has two blind spots left. A positive flipped into a negative and a condition added without a number are indistinguishable from ordinary rewording — the gate’s own header says so. It also counts any negative word anywhere in the expectation as the negative surviving, and it cannot read the short form written without a space (안되는지).
  • The third, the short negative, was fixed in v4.3.7 (12 October 2026). Negation was only recognised when the sentence ends in Korean’s long negative form (~않는지 / ~없는지), so a dropped short form (안 ~는지) passed. The fix turned up a second hole with the same root. To decide whether the expectation kept its negative, the gate looked for the fragment 안 , so the last syllable of 동안 (for, as in for 30 days) counted as a negative that survived. 43 of the 2,738 negative sentences in the internal final rows had that shape, and they are covered now too. The 33 rows this page reported before were wrong: that regex was counting positives such as 동안 재생되는지 (plays for …), and the short form itself appears 0 times in 13,366 rows.
  • The 0.6 content-word threshold was never measured. In the one real run no case failed on content, so there is no distribution to judge it against yet.
  • The Drive upload is blocked by instruction, not by code. The design agent is only told to skip it, so the completion report checks separately that its link list is empty.
  • The v4.3.8 additions passed only the producing side’s tests. The full suite ran on a fresh install. How often the cheat memo picks the right item from a real game table, and whether the quality report is actually read, has never been measured. The cap of three items per name (MAX_SAME_NAME) is a chosen value, not a measured one.

What v4.3.8 added (26 October 2026)

  • Quality report. lib/quality_report.js derives quality_report.md/html/json from the confirmed rows, deterministically, and FINAL-3 ships the MD. It carries the feature tree, source-to-case coverage with the denominators kept apart, excluded and uncovered items, review notes and questions, and the execution plan. It is also produced on --no-sheet and on S6/S7 resumes, and it never changes an existing result column.
  • Execution-plan metadata. lib/execution_metadata.js stores the decisions for ten checks inside the design file (auth_failures · rejoin · reconnect · retention · url_state · token · concurrency · address_change · viewport · calendar). Analysis §3.12 and design-review criterion C-17 are its pair; a legacy design stays unknown.
  • Design evidence audit. lib/design_evidence_audit.js compares declared settings against the declared baseline, read-only, and writes the HIGH count to the chain log. Judging meaning, source and approval stays with C-06 / C-16.
  • Cheat memo (FINAL-5). The model (sonnet) emits only registered cheat ids and item-name search terms. lib/cheat_memo.js resolves each name to an id in the item table, shapes the arguments and assembles one line. If a name matches up to three items, each gets its own line; more than that and the name is treated as too broad and dropped. The line goes in only as a cell note on the top row of the sub-category, never as a value, because the sub-category text is the key the gates group by. A failure leaves the run successful, and TCTEAM_CHEAT_MEMO=0 turns it off.
  • Resource-failure stop. Quota and model-capacity failures are classed as retry code 11 so the same call is not repeated, and the S1 chain stops with exit code 15 ([STOP:resource]).
  • Panel position. For new tabs apply_labeling.js writes a section header row from R2, then R (number, restarting at 1 per section) and S (item). The old M/N block from row 12 is no longer written and existing tabs were not migrated. sheet_layout_contract.test.js keeps it one column clear of the project-info panel.
  • Codex runner and brain index. The first turn waits until the tool list has arrived, and the gate, the indexer and the search child all read the same runtime home.

Two lessons that cost something

Inserting a row renumbers everything below it. The coverage ledger points at cases by number, so stitching in a row makes the whole ledger stale. My first instinct was to remap arithmetically. Wrong. It now joins by content, not position — category, verification stage, and the reproduction step. Positions move; content doesn’t.

Hand-driving costs half the clock. I once ran the stages manually one at a time. Wall clock was 2h23m; the machine actually worked for 1h12m. The rest was the pipeline waiting for me to type the next command. That number is the reason unattended completion exists.

Things that were rejected

The version history is mostly a list of things that looked like progress and weren’t.

Vocabulary-based progress detection — rejected after two measurements. Unifying the thresholds — rejected. The confidence heatmap ended up as pure deterministic output with zero model calls, after the model-scored version failed to reproduce.

Every rejection got a written resume condition. Without one you re-propose the same idea six months later.

An honest limit

A thin spec produces thin output. This tool will not invent design that isn’t there — with no basis for a case, it flags “needs spec clarification” and moves on. I think that’s correct, but in an organisation where specs are thin it yields less than people expect.