test-driven-development
OBobra/superpowers298k近 7 天新增 2,631 个 star
Set up and validate a reproducible Python or R environment on a Wisp execution context. Use for a selected local, WSL, or direct SSH context when installing scientific packages, configuring caches, recording interpreter activation, or producing an environment smoke test. Do not use for scheduler clusters or managed cloud providers that Wisp cannot track yet.
Treat the selected and probed ExecutionContext as authoritative. Wisp
currently supports local, wsl:<distro>, and direct ssh:<alias> contexts;
it does not expose an authenticated provider SDK inside Python.
Define before installing:
Use references/envs_reference.md for package-order and cache examples, but
replace container-specific paths with paths valid on the selected context.
ssh:<alias> context with a recent Probe result. Respect
recorded GPU, privilege, interpreter, conda/mamba, module, and scheduler
capabilities.shell commands to confirm free space,
existing environments, and cache paths.runs/setup-<environment>.sh. It must use user-writable paths, fail fast,
activate the environment explicitly, run all smoke checks, and write a
small JSON manifest only after validation succeeds.{
"context_id": "ssh:gpu-box",
"title": "Set up singlecell environment",
"command": "bash setup-singlecell.sh /home/me/envs/singlecell /home/me/wisp-env-manifests/singlecell.json",
"timeout_secs": 14400,
"input_paths": ["runs/setup-singlecell.sh"],
"output_specs": [
{
"glob": "ssh://gpu-box/home/me/wisp-env-manifests/singlecell.json",
"kind": "environment-manifest",
"residency": "remote"
}
]
}
monitor_run
when waiting is useful (again after wait_interrupted; do not resubmit).
Use one get_run snapshot later or cancel_run when requested.environments/<context>/<name>.md. This file is documentation, not a hidden
resolver.sudo unless the Probe explicitly records suitable privilege and
the user authorizes it. Prefer conda packages, modules, or user paths.Local and WSL Runs are currently capped at 300 seconds and do not support
input_paths. Use local-env-setup for normal interactive setup. Use
run_in_context only for a bounded command that finishes within that limit and
writes outputs to host-visible project paths.
Wisp has no scheduler, Modal, RunPod, cloud Batch, container-service, or managed endpoint execution context today. Do not invent a provider id or hide those lifecycles inside an SSH submission command. Explain the boundary or use a dedicated direct SSH host until a backend implementing submit, poll, cancel, recovery, secrets, and artifact harvest exists.
OBobra/superpowers298k近 7 天新增 2,631 个 star
MAmattpocock/skills288k近 7 天新增 10,178 个 star
AFaffaan-m/ECC278k近 7 天新增 4,046 个 star
AFaffaan-m/ECC278k近 7 天新增 4,046 个 star
FIfirecrawl/firecrawl191k近 7 天新增 2,010 个 star