Repository navigation
Description
Description
Expand assets/workspace/.devcontainer/justfile.base with ~18 new recipes covering devcontainer lifecycle, code quality, security scanning, documentation, environment info, git helpers, and release utilities. Also add commented-out stubs to assets/workspace/justfile.project for opinionated recipes teams can customize.
Problem Statement
The current justfile.base ships only 9 recipes (lint, format, precommit, test-pytest, test-cov, sync, update, clean-artifacts, sidecars/sidecar). Developers in downstream projects must manually run docker compose commands to start/stop the devcontainer, have no local CI mirror, no security scanning shortcuts, and no quick environment diagnostics. This leads to inconsistent workflows and repeated boilerplate across projects.
Proposed Solution
Add the following recipes to justfile.base (managed by devcontainer, replaced on upgrade):
devcontainer group (7 recipes):
up— start devcontainer + sidecars via compose (auto-detect podman/docker)open— open Cursor/VS Code attached to the running containerdown— stop and remove containersstatus— show container statuslogs *args— tail container logsshell— open bash in running containerrestart *args— restart service(s)
quality group (2 new recipes, extending existing):
check— run lint + format-check + test-pytest (local CI mirror)format-check— verify formatting without changing files
security group (2 recipes):
audit— dependency vulnerability scan via pip-auditscan— static security analysis via bandit
docs group (2 recipes):
docs— live-preview documentation via mkdocs servedocs-build— build docs with strict mode (for CI validation)
info group (3 recipes):
env-info— print Python/uv/OS versions and key env varsoutdated— show stale dependenciesversion— print current project version from pyproject.toml
git group (2 recipes):
log— pretty one-line git log (last 20 commits)branch— show current branch + list recent branches
release group (1 recipe):
changelog— print the Unreleased section of CHANGELOG.md
justfile.project stubs (commented-out):
run,serve,migrate,seed,docs-deploy
Container runtime auto-detection: try podman compose first, fall back to docker compose.
Alternatives Considered
- Keep justfile.base minimal: Let each project add its own recipes. Downside: duplicated boilerplate, inconsistent UX across projects.
- Ship a large opinionated justfile.base: Include framework-specific recipes (FastAPI, alembic, etc.). Downside: not universal — would break for non-matching projects.
- Chosen approach: Universal recipes in
justfile.base+ commented-out stubs injustfile.projectfor opinionated patterns.
Impact
- Benefits all downstream projects using the vigOS devcontainer
- Backward compatible — adds new recipes, does not modify existing ones
- Recipes that depend on optional tools (mkdocs, pip-audit, bandit) fail gracefully if the tool is not installed
Changelog Category
Added
Activity
gerchowl commentedon Feb 21, 2026
Implementation Plan
Issue: #71
Branch:
feature/71-expand-justfile-base-recipesScope: Devcontainer lifecycle (7 host-side recipes) + Git helpers (2 recipes). All other groups deferred per YAGNI.
Tasks
assets/workspace/.devcontainer/justfile.base— verify:just --listshows no errorsuprecipe (start devcontainer + sidecars via compose) —assets/workspace/.devcontainer/justfile.base— verify:just --list | grep updownrecipe (stop and remove containers) — same file — verify:just --list | grep downstatusrecipe (show container status) — same file — verify:just --list | grep statuslogsrecipe (tail container logs) — same file — verify:just --list | grep logsshellrecipe (open bash in running container) — same file — verify:just --list | grep shellrestartrecipe (restart services) — same file — verify:just --list | grep restartopenrecipe (open Cursor/VS Code attached to container) — same file — verify:just --list | grep openlogrecipe (pretty one-line git log) — same file — verify:just --list | grep logbranchrecipe (current branch + recent branches) — same file — verify:just --list | grep branchCHANGELOG.md— verify: grep Unreleased section has new entriesNotes
podman composepreferred, fallback todocker compose.feat(justfile): add devcontainer and git recipes to justfile.base
docs(changelog): add entry for justfile.base devcontainer and git rec…
gerchowl commentedon Feb 21, 2026
Autonomous Run Complete
gerchowl commentedon Feb 22, 2026
Implementation Plan (SSoT Refactor)
Why this change: The first implementation edited
assets/workspace/.devcontainer/justfile.basedirectly, leaving rootjustfile.baseminimal. That created two separate sources of truth: root had fewer recipes than the workspace template, and sync never touched justfile.base. Developers working on the devcontainer repo itself missed useful recipes (log, branch, etc.), and any future edits required manual sync between the two files. This refactor makes rootjustfile.basethe canonical source and adds it to the sync manifest, so there is one source of truth andjust sync-workspace/ prepare-build keep the workspace template in sync.Issue: #71
Branch:
feature/71-expand-justfile-base-recipesScope: Make root
justfile.basethe canonical source and sync it into the workspace template via the manifest.Context
justfile.baseis minimal;assets/workspace/.devcontainer/justfile.basehas the full recipes (devcontainer, git, check, devcontainer-upgrade).justfile.baseis not in the sync manifest.Tasks
justfile.basewith full content fromassets/workspace/.devcontainer/justfile.base—justfile.base— verify:just --listshows all recipes (devcontainer, git, check, etc.)justfile.base—scripts/sync_manifest.py— addEntry(src="justfile.base", dest=".devcontainer/justfile.base")next to justfile.gh/justfile.worktree — verify:just sync-workspaceruns;uv run python scripts/sync_manifest.py listshows entryjust sync-workspace— verify:git diff assets/workspace/.devcontainer/justfile.baseis emptygrep -A2 justfile.base CHANGELOG.mdNotes
.devcontainer/exists; they may fail when run from devcontainer repo root. Git recipes (log, branch) work from any directory.refactor(justfile): make root justfile.base canonical, sync via manifest
gerchowl commentedon Feb 22, 2026
Autonomous Run Complete (SSoT Refactor)
feat(justfile): add devcontainer and git recipes to justfile.base (#71)…
fix: resolve merge conflicts in sync_manifest and CHANGELOG
chore: release 0.3.0 (#270)
c-vigo commentedon Jun 23, 2026
Coordinate with #625: the scaffolded modes (#641) should expose a consistent recipe set so direnv-only repos still get the relevant
justfile.baserecipes.feat(scripts): install/init delivery-mode picker — devcontainer|diren…
c-vigo commentedon Jul 7, 2026
@gerchowl proposing to close: the 0.4.0 scaffold redesign retired
justfile.baseentirely — recipes now live in the managedjustfile.devc/justfile.gh/justfile.worktreeplus team-ownedjustfile.project, which covers the quality/security/info/git groups this issue asked for. Remaining gaps would be new issues against the new layout. No branch to prune.c-vigo commentedon Jul 8, 2026
Obsolete:
justfile.basewas retired by the 0.4.0 scaffold redesign (nowjustfile.devc/gh/worktree+justfile.project). Closing as not planned.