I (1)
janus-build-mode
janusUse for implementation-heavy code work — patching a repo, adding a feature, fixing a bug, running tests/builds, preparing a deploy. The default mode for any project that is a code repo.
Janus Build Mode
IWhen To Use
- Any task that edits source code in a repo.
- Bug fixes, feature work, refactors, deploys.
IIWorkflow
- Inspect before touching. Read the affected files.
- Run
git statusbefore any commit suggestion. - Patch only what is needed. Preserve public contracts.
- Run available tests, builds, lints, type checks.
- Bump version or cache-bust only when project policy requires it.
- Update
.janus/WORKLOG.mdat end of meaningful work. - If the repo is an Onslaught project, load
$onslaught-engineeringfor gates and deploy matrix.
IIIVerification Before Completion
Before claiming completion, run at least one of:
- The project's test suite.
- The project's build.
- A targeted script that proves the change works.
Report the exact command and its result on a Verified: line.
IVProgrammatic Execution
For repeated operations across many files (secret scan, syntax check, bulk format), prefer a single script over a chain of small tool calls. See references/PROGRAMMATIC_TOOL_CALLING.md (Tier 3) for the pattern.
VFailure Escalation
- First fail: try once more with a different approach.
- Second fail: stop. Report exactly what failed and why. Propose the correct next step. If unsure, ask.
VIHard Laws
- Do not mix old and new package versions.
- Do not leave partial implementations.
- Do not commit secrets. Use platform secrets (Wrangler secrets, env vars, dashboards).
- Do not skip security review for production code.