Skip to content

section-team v0.3.0

Choose a tag to compare

@afel6 afel6 released this 11 Nov 10:28
80ab45a

Two modes instead of three, every job handed to a section, a plan check before a platform, a skill search, and section rules taken from three paid rounds on a platform-sized task. This release also carries the 0.2.3 changes, which were never released on their own.

Breaking: Lean is removed. Balanced (the default) and Max remain. A project whose .team/mode.json says lean runs as Balanced, with one line at session start saying so, until you pick a mode with the Mode picker or /team mode balanced|max.

Every job goes to a section. The supervisor no longer builds anything itself, small tasks included, so its own chat stays small. In Balanced, a small or single-area job wakes only the matching builder section, which writes the code and its own tests and runs its own gate; the testing section no longer writes the tests for single-area work.

A plan check before a platform. When work first spans two builder areas, the supervisor loads the section-team:foundation skill: at most 5 questions, a short foundation note (stack, data model, contracts, build order, test plan), your OK, then one vertical slice at a time. At the OK step it asks whether sections may commit after each job, and in a folder with no git repo the supervisor creates one before the first job. A new read-only advisor, plan-advisor, checks that plan before any builder starts.

Skill search. When a job needs a skill nobody has, the supervisor searches skills.sh and GitHub through section-team:add-skill. A skill from an owner listed in skills/add-skill/trusted-sources.json (anthropics, vercel-labs, microsoft) whose safety review is clean installs without asking; any other owner asks you. This is on by default and needs no setting: it applies even when SECTION_TEAM_AUTO_INSTALL_SKILLS and autoInstallSkills are off. To be asked every time, set skills/add-skill/trusted-sources.json in the installed plugin to []; a plugin update brings back the default list.

Max rebuilt. Max is Balanced's flow plus proof steps:

  • on small and single-area work: a testing section probes the builder's code (on single-area work it also writes and runs tests), and single-area code that takes user input or touches files or the network gets a security review;
  • on multi-area work: a security pass, then two final reviews by two fresh testing sections (the second is not shown the first's REPORT), and the docs section every time;
  • before it says done, the supervisor runs the testing section's one command that prints PASS or FAIL per critical flow;
  • every hand-back with a changed file, docs and config included, needs a reviewer grade (pass: overall at least 9, no item under 7).

Gone from Max: the near-miss copies (deliberately broken copies of key functions in .team/near-miss/ that the tests had to catch, and the gate check on them) and the third fix round. Max now has at most 2 fix rounds, like Balanced. A .team/near-miss/ folder left from 0.2.x is no longer used and can be deleted.

A smaller supervisor chat.

  • A pasted message of 3000 characters or more is saved word for word under .team/reports/ (only where git ignores .team/), and sections are pointed to it.
  • A builder hand-back that claims done with more than 1200 characters above its REPORT is refused; long output goes to a -details.md file.
  • A resumed session gets the brief again only when it changed.

Section rules from the paid rounds. Added to the sections' house rules and roles, the reviewer's rubric and the testing section's probes:

  • no check the spec does not state, and no unstated step (a stripped byte order mark, a trim) that lets rejected input through;
  • stored values read whole (ids past 2^53 as BigInt);
  • deadlines checked again when the reply completes;
  • configured URLs sent as given, credentials included;
  • Node's own Expect and CONNECT replies routed through the handler;
  • a spec break a probe finds is a failing fix, never a todo;
  • after an outside call (a model, a lookup), access and existence checked again in the transaction that writes, and the answer kept when only the input changed;
  • a bounded lock wait kept off the thread that answers other requests;
  • a login check that takes the same time for an unknown name;
  • no words about the team's process in shipped names, comments and docs;
  • an unexpected server error written to stderr as one line, with no user data or secret, unless the spec limits what goes there.

security-review is no longer preloaded. Sections load it only when git merge-base HEAD origin/HEAD succeeds; otherwise the security section reviews the changed files directly.

Also new since v0.2.2.

  • A fresh section head for each new job, and a shorter tool list for builder heads (they have no project MCP servers: they use a CLI or ask the supervisor).
  • A context guard that refuses messages to a finished builder head whose context is over 300,000 tokens.
  • A grade check at hand-back. A builder REPORT that claims done with code (in Max, with any changed file) is refused when its grade is above the reviewer's own grade in its transcript, when it gives a grade with no reviewer call, or when the reviewer scored any item under the mode's item minimum (6 in Balanced, 7 in Max). v0.2.2 checked only the overall pass mark. If the transcript cannot be read, nothing is refused.
  • In Balanced, multi-area work touching auth, payments, uploads or secrets also wakes the security section, before the final review.
  • Docs after the builders report, and a final review that starts the app and drives the critical flows.

Benchmark harness. Staged tasks (each stage scored and judged), task p1 (a three-stage help-desk platform with 264 hidden tests and a fake model server), the two-stage task h7, --plugin-ref to measure any plugin ref from 0.2.0 on, --tasks and --reps required, twice the stage limit for Max, and no default path to real data or money.

Measured. The last p1 round, at plugin commit 874ad3f, two runs per setup, judged blind by Codex and by Fable:

Cost × solo Hidden tests (of 264) Codex Fable Supervisor's chat peak
Plain Claude Code (solo) 1.0 ($4.03) 264 7.0 7.0 158K to 168K
Balanced 4.7 264 8.5 9.0 99K to 104K
Max 8.2 264 8.5 8.25 116K to 123K

Every run passed every hidden test, so the difference is in judged quality, not in whether the code works. Balanced met its target of 1.5 above solo for the first time (exactly 1.5 by Codex, 2.0 by Fable), after missing it in all three earlier p1 rounds (+1.25 at 0.2.3, then +1.0 twice); this is one round of two runs per setup. Max missed its target of 0.25 above Balanced. All four p1 rounds are in the README.

Not measured yet

  • Commit 77edf80 came after the paid runs. It changed the outside-call rule, so the answer is now kept when only the input changed instead of the call being retried, and it added the last four rules in the list above.
  • Max over Balanced: level on Codex and below on Fable in the last round.
  • Cost: the two modes cost 4.1 to 10.6 times solo across the three 0.3.0 rounds. What is lower is the supervisor's own chat peak (Balanced in all three rounds, Max in the last two), not total spend. Any saving in real use is not measured.
  • Skill search: no run has shown an unattended install.
  • Sample size: one platform task, two runs per setup per round.

Upgrade. Update the plugin, or pull your clone, then start a new session. If you gave sections skills with add-skill or assign-skill in a clone, this release rewrites the line in agents/*.md that holds each section's go-to skills. If those changes are not committed (assign-skill alone does not commit), git pull stops before it merges: run git checkout -- agents (the files are generated, and your skills stay in scripts/roster-extra.json), pull, then run node scripts/gen-agents.mjs. If they are committed (add-skill commits them), run git pull --no-rebase; when it stops with conflicts in agents/*.md, run node scripts/gen-agents.mjs to rebuild them from the new roster plus your scripts/roster-extra.json, then git add agents and finish the merge with git commit.

Requirements: Claude Code with plugin support (2.1.275 or later for the one-command install). Access to Opus 5.5, Sonnet 5.5 and Haiku 5.5. Node.js 22.3 or later (or 20.16 or later) for the hooks.