Repository navigation
software-project: model route, snapshot imports, private evaluation, teams of one, fixed-length runs - #19
Merged
Conversation
For projects whose own code calls models and whose evaluation data must stay away from the team (the homeedu pilot): - the egress proxy forwards /raw requests unchanged apart from the credential, metered (as `project` without a worker label) and budgeted; packs with [environment] model_route give workers and CI AGENSH_MODEL_BASE - /raw-final carries the final evaluation: labelled final-evaluation and outside the team budget once the driver opens it after stopping workers - [workspace] history = "snapshot" imports the tree as one commit without history, after an optional sanitize script outside the repository; export replays the team's net change onto the upstream base as one commit (or writes delivery.patch), and upstream sync is skipped - [acceptance] final runs in the evaluate hook with private_dir mounted at /private; packs with [lifecycle] evaluate_with_services evaluate before the services stop, on the team network - the smoke covers the model route, private data, budget exemption and a sanitized snapshot with replayed delivery (SMOKE_SNAPSHOT) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A fresh host has no agent base, router or board image, so build stopped at the worker image's FROM. Existing images are reused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A single worker has no peer to approve a reviewed path, so review_paths now needs at least two workers. The smoke test runs with SMOKE_WORKERS=1: checks that need a peer (inline peer events, the planning phase, per-worker models, peer review and its required check) and the budget warning calibrated for two workers are skipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- [budget] fixed_length: without a product owner, a worker closing issue #1 no longer ends the run; the driver reopens it within 15 seconds and tells the team in the issue and the channel. Comparisons across team sizes need this (a 2-worker pilot run ended at 1h50 of 6h when a worker closed #1). The smoke's no-owner run checks the reopen - the software-project README documents snapshot imports with a sanitize script, [acceptance] final with private_dir at /private, the project model route (/raw, /raw-final), evaluate_with_services, teams of one and fixed_length; the core README covers the route and fixed-length runs - the acceptance testing guide points at microsoft/Agensh main Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts kept both sides: - evaluate.py: microsoft#18's safe.directory wrapper (TRUSTED_RUN) with the private data mount, now after the checkout mount; the team network's profile name falls back to the profile file, so the hook also runs without AGENSH_PROFILE (as microsoft#18's unit test calls it) - prepare.py: the snapshot-aware import message with microsoft#18's NO_LFS clone - run_smoke.sh: microsoft#18's git check in the evaluation now also runs in [acceptance] final, which the evaluate hook uses when it is set - export.py: the snapshot replay's upstream clone turns off LFS too Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The merge added microsoft#18's git check to [acceptance] final, so the evaluation now runs four commands; the git check finds its result by command, not position. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Improvements to the software-project pack that came out of a pilot on a private repository: comparing teams of 1, 2, 4 and 8 workers that each build a component from scratch, scored on a held-out test set the teams never see. The pilot's own code, data and results are not part of this PR; everything here is general.
Changes
[environment] model_routein the pack): workers and CI getAGENSH_MODEL_BASE, the egress proxy's/rawroute, for a project's own model calls. Requests are forwarded unchanged apart from the credential, metered (asprojectwithout a worker label) and counted in the token budget.[acceptance] finalreplacesmainas the evaluate hook's commands, andprivate_dir(outside the repository) is mounted read-only at/privatefor those commands only. With[lifecycle] evaluate_with_services, evaluation runs before the services stop, on the team network, so the final commands can call models through/raw-final, which is labelledfinal-evaluationand outside the team budget once the workers have stopped.[workspace] history = "snapshot"imports the base branch's tree as one commit without history, after an optionalsanitizescript outside the repository. Export replays the team's net change onto the upstream base as one commit (or writesdelivery.patch), and upstream sync is skipped.[team] workers = 1runs a single worker with the same services;review_pathsneeds at least two.[budget] fixed_length = trueand no product owner, a worker closing issue Bump vitest from 2.1.9 to 3.2.6 in /tests #1 no longer ends the run; the driver reopens it within 15 seconds and tells the team. In the pilot a 2-worker run ended at 1h50 of 6h this way and needed a host-side workaround.python3 -m agensh.project buildbuilds the agent base, router and board images when a fresh host lacks them;run_isolated.shcan mount extra host directories.SMOKE_HUMAN,SMOKE_SNAPSHOT) and the acceptance testing guide, which now points atmainhere.Merging with #18
maingained #18 (large repository imports) meanwhile; the merge keeps both sides. The evaluate hook combines #18'ssafe.directorywrapper with the private mount and no longer needsAGENSH_PROFILE(it falls back to the profile file, as #18's unit test calls it); the import keeps #18'sNO_LFSclone, and the snapshot replay's upstream clone turns off LFS too; #18's git check also runs in[acceptance] final.ProgramBench
scripts/render_check.shagainstmainreports no differences: worker instructions, messages and Compose for every harness and 1–16 workers are unchanged. None of these features applies unless a pack or project enables it.Verification
SMOKE_SNAPSHOT=1); a team of one (SMOKE_WORKERS=1); and an interrupted run without an owner that checks the fixed-length reopen.🤖 Generated with Claude Code