Repository navigation
feat(scorers)!: judge every pass and session through teamai-score, a default workflow a team can override - #1700
Conversation
…clone also reaches
…sk no longer uses
…, and name the run's own branch
…hat imports nothing The workflow's can schema needs both enums, and reading them from scorers/label.ts loads agent-observation.ts while types.ts is still loading.
A person's note on a step of a private workflow may say what the step keeps on this machine, so a snapshot drops it from the step, its passes and the archive, as run records already do.
workspace: { confined: <dir> } runs one prompt with that directory, under the
run's $TEAMAI_RUN_DIR, as its only readable root. Its template reads inputs,
item and the outputs of needed steps, and pull refuses it on a step that is not
one prompt, with requires.env, or with scorers.
At lease the engine checks the directory: a real directory, not a link, under
$TEAMAI_RUN_DIR, holding a confined.json that sets the level. One that breaks a
rule fails the step confined_invalid, since every later lease would find it the
same. A driver gets the step only through a can.confined offer that reaches that
level and a tool of those offers that resolves the step's model; otherwise the
step is held for confined or model. The lease lists those tools in order, the
preferred one first, and the pass keeps what the confined run measured.
The local driver offers the confined tools on this machine, probed only for a run that may have a confined step. It runs a confined lease with runConfined on the first of the lease's tools that resolves the step's model, in the step's directory, with no team env and no session kept, until the step's deadline. Its reply is the step's outputs, and the report carries what the run measured. A confined lease no tool here resolves the model for is handed back, and the driver takes no other lease in this process. With only confined steps left that no tool here can take, it stops with confined_pending rather than busy.
… scorer judge protocol.ts, scoring.ts and the skill driver's host profiles import isConfinedTool, confinedAccess, confinedToolLevel and installedConfinedTools from tool-launch/confined.ts, and the judge aliases and JUDGE_TOOLS are gone. The skill driver may import those two names from the launcher instead of the judge.
While this machine judges the run with the session tool's verified confined judge, the skill driver offers that tool at `verified` and its background runner runs a confined step as the local driver does (D28, C12, C13). When the session judges the run, it offers `best-effort`, and a fresh child takes the step with a brief that reads only its directory. With `--no-judge` or on h4 it offers nothing, and the step waits for another driver. Describe now says who runs a run's confined steps.
Covers `workspace: { confined }` and `confined.json`, the drivers that run
such a step and when it waits, what the step records, and the `can.confined`
offers and lease and report fields for a driver of your own.
…run in parts a reader can follow
…confined run ends
C13 now builds the report body from how the run ended, so the body keeps the cost the tool stated, as the local driver's report does.
…n past its deadline
…c/scorers The score verbs build evidence and run the stages, so the modules they read live with scoring. The lease path and teamai benchmark import them from there.
stages lists some of check, ci and protected. Without it a scorer takes all three, as before. A stage it does not list never decides it.
…s passes auto, the default, leaves it to teamai after each pass. workflow leaves it to the workflow's own steps, which list the passes with teamai score subjects.
…ep from the scope module
…in, with teamai score plan
…eeds, with teamai score evidence
…paths, one stage at a time, with teamai score stage
…e evidence module
…r settle it, with teamai score label, write and settle
…d ones, with teamai score subjects
…ore attempt runs, through the real CLI
|
@STiFLeR7, thanks for the Windows run. The confined retry is fixed at 151e9cb, one push after the 5ac4154 you rebuilt (see the comment above). When a retry reopens a run that ended, a
The conformance scenarios for this (plain, and inside a The CRLF fixture is fixed in 04f1ced: the test strips |
SaulMoro
left a comment
There was a problem hiding this comment.
This was generated by AI during triage.
I rebuilt 04f1ced and reran our pending-patch repros with the real CLI. Each share-standup sequence now lands every note on origin in order, with nothing left in pending/; at 6f739a4 these left a note stuck:
- a note kept under a held lock, then a later note appended to the same file;
- two notes kept under a held lock;
- a note appended offline after an earlier kept one.
The two smaller points are fixed in the code. A stuck patch no longer holds back the checkout's own commits, and "already on the branch" is now git apply --check --reverse in the patch's own context. The stuck message names the patch file and says how to apply it by hand. I followed that instruction and it works.
The CI review findings at 6d26862 and db72427 are fixed. I reproduced the confined retry: on a 5ac4154 build it fails confined_invalid. At this head, retryContainers puts the steps a confined step needs back in the reset cone once the run's $TEAMAI_RUN_DIR is gone, so evidence reruns and the judge starts. That also answers @STiFLeR7's open item, and 04f1ced makes the finished-sessions fixture read CRLF checkouts (\r?\n) as noted on Windows. The rest I checked from the code and your tests, with CI green at db72427.
Remaining notes, none blocking:
[P2 non-blocking] Two publishes to the same file whose checkouts are prepared at the same moment: both patches are cut against the same end-of-file, so the second one no longer applies once the first is committed. I reproduced it with two overlapping share-standup runs started 2 s apart, using a copy that sleeps after staging. Both exit 0, the second note's step and score --push (published: false) give the apply-by-hand instruction, and the patch stays in pending/. Nothing is lost, the docs describe this outcome, and the shipped max_parallel: 1 keeps one teamai-score run's publish steps from overlapping. I did not check whether a background drain and a manual teamai score can overlap their publish steps. If they can, the labels still land from the outbox, but score --push would keep saying published: false until the patch is applied. Re-staging the step's change against the persistent checkout when its own patch fails under the lock would close it.
[P3 nit] pull still logs sendPending's messages at debug level only (src/pull.ts:4106), so a stuck patch shows up only on the next score --push or drain.
[P3 nit] From the code, not run: if commitSkippingHooks throws after apply --index in commitKept (src/utils/data-branches.ts:43-57), the change stays staged. The next send then removes the patch file (the reverse check matches the working tree), but nothing commits the staged change. Applying with --cached, or resetting the index in the catch, closes it.
This conflicts with #1704 in 25 files, so whichever lands second needs a rebase. Approving; it merges once CI is green at this head.
|
The earlier reported scenarios are resolved. I found one additional issue:
The PR description documents sufficient built-CLI verification; no additional provider × agent matrix is required. No PR code was run, built, or installed. |
On the CI review's P2 about transitive scratch producers: I looked at this case in my last pass. |
… a retry reopens an ended run A step that builds a confined directory may copy files an earlier step left under $TEAMAI_RUN_DIR, which the run's end removed too. A retry that reopens an ended run now follows needs from the confined step transitively, so prepare -> evidence -> judge runs all three again.
|
The upstream-producer finding is fixed at 8851c60. When a retry reopens a run that ended, it now follows Tests: two conformance scenarios in
Real CLI, with |
SaulMoro
left a comment
There was a problem hiding this comment.
This was generated by AI during triage.
8851c60 extends the retry to the CI review's transitive case. Once the run's $TEAMAI_RUN_DIR is gone, confinedWriters follows needs from a confined step through every writer it pulls in: each writer that joins written has its own needs added on the next pass. The loop stops when nothing new joins, and the dependents follow through the existing cone loop. A retry of judge or of evidence in prepare → evidence → judge therefore restarts at prepare, which the two new conformance scenarios assert. A retry while the run is still running is unchanged. Both doc languages say the same.
[P3 nit] This reruns every step the confined step transitively needs, including one that wrote nothing under $TEAMAI_RUN_DIR. That is the safe choice, since the engine cannot tell which steps wrote scratch, but a slow upstream step will run again on such a retry.
Approving at this head; it merges once CI is green.
kittimzhe
left a comment
There was a problem hiding this comment.
Verification review from the routing-seam side — I authored #1650 (the routing scorer) and #1684 (the asset-effect tables that read routing from records), so I checked this PR specifically for whether those invariants survive the migration to teamai-score. They do, cleanly:
- The record contract is unchanged:
trial.routingstill carries the five values (result.ts), still frozen at plan time throughcoversSkills, and the absent-by-design rule survives — an arm that runs without a skill by design still reports no routing for it, so the asset tables never readmissedfor an asset that is simply not there (#1684's P3-2). - The table's routing flag still matches:
record.benchmark.scorers.some(name => name.startsWith('teamai:routing:'))is exactly the populationteamai-scorenow judges, so the dashboard link gates correctly through the migration. - Two changes here are genuine improvements over what #1684 shipped:
AssetEffect.routingScorerwith namespace support (skillNamespaceOf→teamai:routing:<namespace>:<skill>) replaces the dashboard's name guessing, androutingQuestionOf'snamespaceUnknownguard ("cannot tell the namespace… could judge another skill of the same name") mirrors thetask_covers_ambiguousrefusal semantics from the plan side — the same ambiguity is now guarded at both ends.
On this head I ran the seam suites green locally: benchmark-asset-effects (45), benchmark-arm-workflow + doctor-scorers (27), scorers-batch + dashboard-scorers(-view) (41), plus npm run build.
One nit, non-blocking: table.ts matches the literal 'teamai:routing:' while skill-routing.ts now exports ROUTING_PREFIX — importing the constant would give the prefix a single home (the literal is mine from #1684, so this is me collecting my own litter).
|
Thanks for checking the routing seam. The nit is taken in 3e366f0: |
|
All earlier findings are resolved in the current diff, including the upstream scratch-prerequisite retry issue. I found no additional confident findings. The PR description documents sufficient built-CLI/end-to-end verification. The provider and agent coverage explicitly deferred to CI is not blocking. No PR code was run, built, or installed during this review. |
…he next send commits it A patch applied to the index and then not committed was found on the branch by the next send's reverse check and removed, so its data never reached origin.
… its file first Two steps prepared at once cut their patches at the same end of file, so the second no longer applied once the first was committed. A kept patch that only appends lines at the end of its files, and no longer applies, is now appended to those files as they are. Any other stays kept.
|
@SaulMoro, thanks for the approvals. Two of the remaining notes are fixed, at 037ba98 and b2bee38, and I've left one as it is (reason below). Each fix has a test that failed before it. Two publishes prepared at once (P2), b2bee38. A kept patch that no longer applies, and only appends lines at the end of its files, is now appended to those files as they are, under the same lock. That is what it meant: another step appended there after it was cut. Any other patch that does not apply stays kept, with the apply-by-hand message.
The replay needs one hunk per file, Failed commit after apply (P3), 037ba98. It was worse than staying staged: the next send's reverse check matched the working tree, removed the patch, and committed nothing, so the note never reached origin. A commit that throws now takes the patch back out of the index and working tree, so the next send applies and commits it. "sends a note later whose commit failed after its patch applied" makes the commit fail with Pull logging (P3), left as is. Pull says nothing of pending data on purpose, as for labels (the comment above On rerunning every step a confined step transitively needs: agreed, that is the cost of the engine not knowing which steps wrote scratch. Gates at b2bee38: typecheck, lint with the docs checks, |
SaulMoro
left a comment
There was a problem hiding this comment.
This was generated by AI during triage.
- Failed commit (037ba98): a commit that throws now undoes its apply, through
apply --reversefor an applied patch or by restoring the files for a replayed one. The next send therefore applies and commits the patch, instead of finding it in the working tree and dropping it. Thegpg.programtest reproduces exactly that loss. - Concurrent append (b2bee38):
appendedLinesaccepts only a patch made of one hunk per file,+lines after its context, no removed lines, and no trailing context. Git emits that shape only for an append at end of file.appendAgainthen appends those lines to the file as it is now, and refuses a file that does not end in a newline. That closes the overlapping-publish case without touching a patch that rewrites a line, which still stays kept with the apply-by-hand message. pulllogging: leaving it as is is fine with me, since the step and everyscore --push/--drainname a stuck patch.
[P3 nit] The replay runs only after the reverse check fails, and that check also fails once anything has been appended after the note. So a note that already reached the file is appended a second time if another line followed it there. That can happen after a crash between its commit and the removal of its patch file, or for a patch applied by hand as the message suggests but left in pending/. Both need an unlikely precondition, and the result is a duplicate line rather than a lost one. Checking that the appended block is not already in the file, at any position, before replaying would close it.
Approving at this head; it merges once CI is green.
|
The previously reported concrete scenarios are resolved. I found one additional issue:
The PR description documents sufficient built-CLI/end-to-end verification. Coverage explicitly deferred to CI is not blocking. No PR code was run, built, or installed during this review. |
On the CI review's new P2, scratch recovery stopping at a workflow boundary: it needs a top-level step to write scratch that an inline sub-workflow's confined step reads, and then a retry after the run ended. The shipped workflows don't have that shape. The retry still fails loudly with |
|
I'm leaving the cross-workflow case as it is: the recovery stops at the confined step's own workflow on purpose.
A workflow whose inner steps read files an outer step left in |
Summary
Judging in teamai happened in five places: a step's
scorers:,teamai-share-session, benchmark trials, finished sessions andteamai score. Each had its own code path, with a separate lease system and drain loop, and a team could change none of it. With this PR, all five run one default workflow,teamai-score. A team can read it, reword its judge prompt, or drop stages. Any driver runs it withworkflow next/report. Code keeps only the invariants: confinement, sampling,daily_limit, label checks, and judging each subject once.scorers:score --next, or--drain)teamai-scorerun, listed instarted, and the driver drives it.--driver localreturns with the labelscorers: { …, start: workflow }score subjects+ aworkflow: teamai-scorestepteamai score --run/--session/--team-session --scorer xteamai-scoreon the local driver (demand: named) and prints its labelsteamai score … --queue--driver noneteamai score --label vinvoke_deniedteamai score --next/--lease/--submit/--json/--stdinworkflow next/reportteamai-share-sessionfor_eachscorer, or a lease promptworkflow: teamai-scorestep (timeout: 30m,continue_on_failure)score-sessionscommandteamai-finished-sessionsworkflow, started by the session-start hook andscore --drainrun.verdictssubjects+scoresteps inteamai-benchmark.yaml.reportwritestable.verdicts--fail-on-regressionregressionstep inteamai-benchmark.yaml, reading thefail_on_regressioninputbenchmark run <suite> --task <id> --arm <name>(inputstasks,arms)teamai-session-to-taskteamai push --file --pathworkspace: { team: { branch } }+deliver: pr.push --file/--pathremoved (never released)Shape of the change:
Breaking changes and migration
score --next/--lease/--submit/--json/--stdinare gone. A scored pass's run arrives instartedonworkflow report/next. A session's run starts withteamai score --session <id> --scorer <name> --driver none. The confined judge step goes only to a driver that declarescan.confinedoffers and reportsconfined.teamai scoreinside an agent session answersinvoke_deniedand names the line the person runs. An agent scores its own session with/teamai-share-session.teamai score --run --queue→--driver none.score --run --scorertakes only scorers a step of the run lists.--scorer ./file.mdnext to a scorer name is refused.teamai-share-sessionas a step must passdemand: auto | named. Pull refuses it otherwise.teamai-benchmark.yamlmust copy thesubjectsandscoresteps, or its judged trials endunscored. To take--task/--arm/--fail-on-regressionit declarestasks,arms,fail_on_regressionand carriesregression.teamai score-sessionscommand is removed.teamai push --file/--pathis removed (it never reached a release).teamai doctorreports how many were carried over. Upgrade every teamai on a machine together: an older copy reads only the old attempts store.Type of Change
Test Plan
npx tsc --noEmitpasses (npm run typecheckexit 0 at the head)npm run lintpasses (exit 0 at the head, includingcheck-docs;node scripts/check-docs.mjs --writeleft no diff after the last command change)npx vitest runpasses (full suite once, after the first merge oforigin/main; the later commits ran the tests related to them, see below)Evidence by class:
vitest --changedselects, plus the whole-tree guard tests. One fullnpx vitest runafter mergingorigin/main: 711 files, 22,007 tests passed, 24 skipped. After that merge, the changed-file selection (550 files) passed. Its only failures came under machine load (15 s timeouts inworkflow-reconciliationandworkflow-settle-cost, plus one case each inusage-trackingandcheck-docs). None of those files is touched by the change, and each passed when run alone. The commits after it (a few scoring fixes, and a second merge oforigin/mainthat brought the lock fix fix(lock): stop handing one lock to two processes when its owner exits mid-check #1699) ran the tests related to them at the head:score-verbs,score-drain,pass-scoring,scorers-marks,dashboard-judging(217 tests), and the unit files upstream changed (109 tests).npm run test:e2e -- <files>). Each slice ran the files it touched. After the merge oforigin/main, 63 files passed (everything with score, benchmark, workflow-session, workflow-run, dashboard or handoff in its name, plus every e2e file upstream touched). Twoworkflow-conformanceworkflow-timeout scenarios failed under load and passed alone. After the scoring fixes, the 7score*e2e files passed (26 tests), and at the headscore-drainandscore-sessionpassed again (12 tests).workflow-deliver-publish,workflow-pass-scoring,benchmark-judges,score-drain,score-sessions,workflow-confined). All 17 CI checks passed at a4c69b2, 6d26862, db72427 and b2bee38.git grep -E "takeJudgeLease|judge_lease|verdictEntries|judgeRunEntries|attempts\.(ts|js)|score --next|push --file|push-file|pushFile|proposeFiles" -- . ':!CHANGELOG.md'andgit grep "PinnedScorerSchema\|pinScorers\|syncScorerDefinitions" -- src/workflowboth find nothing.dist/from a temp directory outside any checkout, withenv -i HOME PATH TMPDIR. Each used a local bare git team repo and a stubclaudeonPATHthat answers as the tool and as the judge, so no real model was called. One record per runtime slice:workflow start check-each --driver localfor_eachitem undercontinue_on_failure: runsucceededwith both results indone.outputs.$TEAMAI_RUN_DIRremoved after the run.startedBy: person. Aprivaterun:workflow publishandresume --claimrefused withisolated_runworkflow start judge-change --driver local, team secret exportedchange.diff,confined.jsononly),--tools=Read,Grep,Glob --no-session-persistence --strict-mcp-config, no team secret, run recordconfined: {tool: claude, isolation: verified, access: read}teamai score --run <r> --scorer review-quality;--label bad; same withCLAUDE_CODE_SESSION_IDgood (score 1, passed)from aprivaterun that is absent fromteamai-reports. Hand label:by hand. No judge ran.In-session:invoke_denied, 0 label linesteamai score plan …/score write …from a plain shellscore_attempt_required … Nothing was written.teamai score --run <r> --scorer review-quality --scorer style(style's model unresolvable)judge_pending, keepsreview-quality: good, run left open forworkflow resumeteamai doctorover an old attempts storecarried 2 open workflow passes and 1 open session over from judge attempts. A second run changes nothingdeliver: publishscores/<member>/2026-11.jsonl, no reasoning on the branch. Forgedscores/bob/…→push_failed. Offline → pending, thenscore --pushsends it. No merge ofmainintoteamai-reportsteamai pullscore[0].publishand ateamai-learningsstep succeed pending; the next pull pushes both branchesworkflow start review --driver localreview-quality good (teamai-score run …)beforestartreturns. Astart: workflowstep starts no runworkflow start change+ a scriptednext/reportloopreportanswersstarted: [{run, step, pass, scorers}]. Driving that run gives the labelworkflow start review --driver skill, thennext/reportjudgingevent, thenjudged … thorough. The judge ran in the score run's scratch dirbenchmark run fix --driver local --sandboxtable.verdicts, the failed trialunscored/run_ended, no rootteamai-scorerun, no label onteamai-reportsteamai score --drain;hook-dispatch session-start; a person's start with{"publish":"never","scorers":[…]}start: workflowpass. The hook starts one detached run withstartedBy: cli. The person's run isstartedBy: personand judges the named sessionsteamai score --nextscores/tester/2026-11.jsonlwithout the judge's words.error: unknown option '--next'/teamai-session-to-taskunder--driver skill, four runsteamai push --file x --path y→unknown option '--file'teamRevision: noneplus a patch). No run file holds scorers--task fix --arm codex;--task nope;workflow start teamai-benchmarkwith[];--fail-on-regressioninvalid_arguments … Its tasks: again, fix.with no run left. 12 trials planned. A run with no comparable earlier run exits 0. A dropped arm exits 1 withfinally: regression failedteamai-score.yamlwith afinallycommand, thenteamai pullfinally.leak.command, and teamai's default stays in effectteamai score --session <id> --scorer teamai:routing:ops:releasefit (score 1, passed)through ateamai-scorerunteamai score --drainwhile another process holdsscores/labels.lockscore_step_failed (step …write failed: … busy …), exit 1, no labelshare-standup: NOTE-ONE publishes; NOTE-TWO while another process holds the reports lock; NOTE-THREE once it is free; thenteamai score --pushpendingwith its patch kept underdata-branches/teamai-reports/pending/. NOTE-THREE's publish lands both in order: origin holds NOTE-ONE, NOTE-TWO, NOTE-THREE andpending/is empty.score --pushexits 0 with nothing pendingprepare→evidence(copies prepare's file) → confinedjudge; judge fails and the run ends;workflow retry <run> judge;workflow resume"reopened":true.prepareandevidencerun again at pass 2,judgestarts inscratch/evidencewithconfined.jsonpresent and succeeds. On db72427 the same retry failedconfined_invalidteamai dashboard+ its APIteamai-scoreruns are absent from Local runs. Each scorer of a pass shows a state (labelled, waiting_ci, judging, lapsed n/4, failed, not_sampled). Judging health shows totalsNot run locally, left to CI: the full e2e suite, the
gitlabandgithubproviders, and the Codex, CodeBuddy and OpenCode agents. No CI result is claimed here.Screenshots of the dashboard, built from this branch:
Workflow Runs, with the judging health panel:
Run page, with each scorer's judging state:
Run page, a skipped step with its reason:
Related Issues
Closes #1670. Part of #1589. Builds on #1666 (team-repo workspace), #1668, #1665 and #1650.
Notes for Reviewers
Behavior changes a user will notice (also in the CHANGELOG and the scorers guide):
demand: named) counts towarddaily_limit. The limit never refuses it.teamai-finished-sessions.ciwaits for pending CI, up to the ci step's--wait 2h. A waiting mark is not a lapse. A group withoutciis judged at once.checkis never batched with other scorers.invoke_denied.deliver: publishthat cannot land (the branch lock is busy, or origin is unreachable) keeps its patch on this machine, in a queue per branch. The next publish to that branch,pull,score --drainandscore --pushland the queue in order. A patch that only appends lines, and no longer applies because another step appended to the same file first, is appended again. Any other patch that no longer applies is named, with how to apply it by hand.teamai-finished-sessionsrun past its timeout is ended at the next start, and its sessions are retried. A team copy withouttimeoutholds the data home for 30 minutes.workflow retrythat reopens a run that ended also runs again the steps aworkspace: { confined }step it resetsneeds, and the steps those need, since the run's$TEAMAI_RUN_DIRwent with the end.sampling: allno longer holds a run'sfinallyand end until the labels arrive. A workflow that needs the labels first usesstart: workflow.message, and the run page shows it. A team-workspace PR that changes one file is titled after that file, aspush --filetitled its PR.Where this PR differs from the issue:
workspace: { readonly },can.readonlyworkspace: { confined },can.confinedworkspace: read-onlyalready existsteamai-score'stimeoutbinds only a root runfor_eachitem (min(step, file))limits.ts). Each composing step sets a shorter timeoutdeliver: publishruns on the persistent reports worktree under its lock. Moved origin → rebase and retry, up to 5 timesteamai-reportswrites. A step may stage onlyscores/<member>/…-style pathsscore --pushsends the labelscore --pushanswersunsupported_reporeportreads{{ steps.score.results }}viaenvscorestep's results from the run filefinallystep cannot readsteps.*plan … --label "$LABEL"planreads thelabelinput recorded for the instancescoring: leases | markstransitional pathplanandscore.judge, and refuses anyfinallyorsetupcommandscore --runand--drainreport on these steps of an open run. Afinally/setupcommand could read$TEAMAI_RUN_DIR--fail-on-regressionworks under--driver skillteamai-benchmarkisinvoke: deny, so--driver skillanswersinvoke_denied. The gate runs under--driver local. A team copy withinvoke: allowgates under--driver skill--task/--armrunsteamai-scoreinline outputslabelswritten(null whenwritefailed)writestored it. Otherwise the drain reportsscore_step_failedand exits 1score labelcodesjudge_tool_unavailableVerify lines and acceptance criteria not fully met:
teamai scoreexample gives the same label file as main. Slice 5 / AC: a benchmark gives the same table as main, and the same sampled passesplancalls main'sisSampled. The label and table shapes are asserted by the e2e testsfor_eachitem;protected_pathgives theprotectedlabelteamai-scorerunsaccess: fullon the labelfix-until-goodrunsreviseonly after the labelscore subjects --run --stepare tested. The same subjects →teamai-scorecomposition runs end to end in the shipped benchmark. Thefix-until-goodfile itself was not runsteps:example on the guide pages (one opt-out, fencedyaml fragment). Not every console example was replayed--fail-on-regressionwith--driver skill; slice 10 verify 2--fail-on-regressionrow above"fail_on_regression": false, since slice 10 adds a required inputteamai-scorehas atimeoutteamai-finished-sessions'rescorestep has none, as the issue's own YAML shows. The roottimeout: 30mbounds itscore --nextyet, so removing it breaks nonesrc/workflow/may importsrc/scorers/only throughengine-hooks.ts, and that rule fails closed. Other importers ofsrc/scorers/are not restrictedKnown limitation. The copy of a clone pass staged for judging is removed once all of its marks close or expire, as the issue specifies. So
teamai score --run … --scorer xfor such a pass afterwards answersevidence_empty.Merge danger. The lease protocol is removed, but no external driver uses it yet. The upgrade rewrites open attempts as marks, once. Blast radius: every judging path, the benchmark workflow, session-to-task and the dashboard's run page.