Repository navigation
Extend the justfile and refresh the README status for 0.1.0 - #162
Merged
Merged
Conversation
justfile: add setup, check, sandbox-helpers, test-quick, test-doc, scripts-test, docs-cli-check, web-test, web-build, vscode-test, vscode-package, release-check, doctor, uninstall, disk, disk-prune and a lean prefix for the low-disk build env. test uses cargo-nextest with the ci profile when installed and builds the sandbox helper first; specs runs the OpenSpec version CI pins through npx; ci now mirrors the CI jobs; install puts the release cyber and cyber-sandbox-exec into CYBER_INSTALL_DIR (default ~/.local/bin). Run recipes follow CARGO_TARGET_DIR. README: current development status (v0.1.0, roadmap phases), Rust 1.90+, just pointers, newer capabilities in the mindmap, subscription scope and the known-gaps date scope. The workspace rust-version moves to 1.90, which tree-sitter 0.27 already requires.
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.
Extends the developer
justfile(same style: grouped# ---sections, one-line doc comment per recipe; existing recipe names unchanged) and brings the README status up to date for the 0.1.0 release.justfile
New recipes:
setup: lists present/missing tools (rustup, the rust-toolchain pin if a file exists, rustc with the MSRV and CI's pinned version, cargo-nextest, node/npm, python3, bubblewrap on Linux, docker as optional). Installs cargo-nextest withcargo install --lockedonly when missing, after saying so. Never uses sudo; exits 1 when something is missing.check:cargo check --workspace --all-targets.sandbox-helpers:cargo build -p cyber-sandbox --bins.find_helperlooks forcyber-sandbox-execnext to the test binary, and-p <crate>runs don't build it.test,test-quickandsdk-testnow depend on it.test-quick: unit tests only (--lib --bins), skipping the integration-test binaries.test-doc:cargo test --workspace --doc(nextest skips doctests; CI runs them separately).scripts-test: the non-spec steps of CI's OpenSpec job (eval graders,scripts/tests,sh -nplus shellcheck when installed oninstall.sh).docs-cli-check: fails whencyber help-markdowndiffers fromdocs/cli.md.web-test/web-build: the dashboard CI commands (typecheck, e2e typecheck,check:build, unit tests) / rebuildweb/dist.vscode-test/vscode-package:npm ci, typecheck, lint and unit tests as in CI / build the.vsix.release-check <version>:scripts/release_assets.py check-tag v<version>, run before pushing a tag (accepts0.1.0orv0.1.0).doctor:cyber doctorwith the debug build.uninstall: removes only the two binariesjust installplaced. It points tocyber uninstall --dry-runfor config, data and keyring entries, whichcyber uninstallalso removes.disk/disk-prune [days=14]: target dir size per profile / deletedeps,build,.fingerprintandincrementalentries older than N days.lean <recipe> [args]: runs any recipe withCARGO_INCREMENTAL=0 CARGO_PROFILE_DEV_DEBUG=0 CARGO_PROFILE_TEST_DEBUG=0(opt-in; RUSTFLAGS untouched).Changed:
test: usescargo nextest run --profile ciwhen cargo-nextest is installed, otherwisecargo test(NEXTEST=0forces the fallback).-pand filter arguments behave as before.specs: runsnpx -y @fission-ai/[email protected], the version CI pins, so no global install is needed.sdk-test: also buildscyberand passesCYBER_BINso the end-to-end SDK tests run as in CI, and adds the plugin kit (sdk/plugin).ci:lint test test-doc specs scripts-test docs-cli-check sdk-test web-test vscode-test. It mirrors CI except platform builds, the browser/Electron integration runs and the benchmark.release: buildscyberandcyber-sandbox-exec.install: copies the releasecyberandcyber-sandbox-execinto${CYBER_INSTALL_DIR:-~/.local/bin}(the layoutinstall.shuses) and warns when that directory isn't on PATH. Before,cargo installinstalledcyberonly, without the helper.cyberand the run recipes followCARGO_TARGET_DIR.just --listshowed wrongly (test-linux,ci-linux,screenshots).README
cyber loopsschedules, planner/executor), agent teams experimental; P3 starting (account login, relay, runners), project hub experimental; link to ROADMAP.md.tree-sitter0.27 declaresrust-version = 1.90, andcargo check --workspace --lockedpasses on 1.90.0. The workspacerust-versionmoves to 1.90 to match, and CONTRIBUTING.md and the local core guide are updated too. Also adds ajust build/just install/just testpointer and says that sign-in covers ChatGPT and Copilot subscriptions only (no Claude subscription).just setup,just,just ci,just lean).CONTRIBUTING.md and
docs/local-core-guide.mdare updated where they listed the recipes.Verification
Ran locally (macOS) with each new or changed recipe:
setup(also with tools removed from PATH and with a temporary rust-toolchain.toml),check,test -p cyber-cli(nextest),NEXTEST=0 just test …,test-quick -p cyber-sandbox,specs,scripts-test,docs-cli-check(current and deliberately stale),sdk-test,web-test,vscode-test,vscode-package,release-check(match and mismatch),doctor,disk,disk-prune(on a scratch target dir),lean(env checked withjust lean --command env), andinstall/uninstallinto a scratchCYBER_INSTALL_DIR. I did not run the fullcirecipe. Also rancargo fmt --check,spec_lint.pyandspec_inventory.py(ROADMAP.md unchanged).