Repository navigation
feat(envs): browse crowd-cast-envs task packages in the UI - #16
Draft
yllkryeziu wants to merge 1 commit into
Draft
yllkryeziu wants to merge 1 commit into
yllkryeziu wants to merge 1 commit into
Conversation
A read-only Environments view (g n) over the RL-Env-Contract task packages in crowd-cast-envs, after the MiMo RL-Envs Explorer. `[envs]` names a `[repos]` entry, a revision (default origin/main as last fetched) and the tasks directory. `labctl serve` reads packages with git plumbing at a commit (ls-tree, cat-file --batch, log), never the work tree, never fetching. Snapshots are cached by sha. List: search plus tag chips, authors, workspace size, agent time. Task page with an outline: prompt (rendered, sanitized Markdown with a source toggle), workspace file browser, sandbox spec, and per-task history. Rubrics, recorded findings, build notes, the judge prompt and the reference solution are behind a grader-side toggle, enforced server-side (403 without grader=1). provenance.json is never served. A revision picker and ?rev= open any branch, tag or sha; commits from before task.json are explained rather than shown as empty. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
A read-only Environments view (
g n) for the RL task packages in crowd-cast-envs, modelled on the MiMo RL-Envs Explorer. This PR only adds browsing; it doesn't run anything.Config
If
[envs]is missing, the view explains how to enable it.tasks_dirmust be relative with no...How it reads
rev-parse,ls-tree,cat-file --batchandlog -- <task>. It never reads the work tree and never fetches; rungit fetchin the checkout to see new tasks.GIT_TERMINAL_PROMPT=0andGIT_OPTIONAL_LOCKS=0are set.?rev=is validated: no leading-, no..or:, length ≤ 200. Snapshots are cached by resolved sha (max 64), so a page is about 30–65 ms against the real repo.scoring/,reference/) is only served withgrader=1, and the server enforces this: grader files return 403 without it. Package-levelprovenance.json(built_fromids) is never served; a test asserts this.UI
j/k/Enter,/.prompt.md.scaffold/judge.py; the scorer source.solve.sh.markedand sanitized with DOMPurify, with a Rendered/Source switch. Relative links and images are neutralised.task.tomllayout) show an explanation instead of an empty list, and they appear greyed out in a task's history.Not in this PR
Rollouts, calibration results, a cross-task reward-design page, and generic RL-Env-Contract repos. Possible follow-ups: link runs to the env revision they trained on (via the RL repo's submodule sha), and add calibration results.
Testing
cargo test --all-features: 15 new tests over a temp git fixture.*/HEAD.cargo clippy --all-features --all-targetsandcargo fmt --checkare clean.npm test: 64 pass, including newenvs.test.ts.npm run checkis unchanged from main (35 errors / 9 warnings, all pre-existing).labctl serveon a copy of the Berlin config plus a local Postgres, against the real crowd-cast-envs checkout.d897b4c.🤖 Generated with Claude Code