Repository navigation
Releases
Releases · iuliandita/idstack
v1.2.1
Changed
- The guard holds only destructive or hard-to-reverse actions.
kubectl exec,cp,apply,create,patch,
annotate,label,rollout,helm installandupgrade,argocd app sync, the other ArgoCD and Flux writes,
and theghandglabmerge, rerun, and pipeline commands are no longer held. (#125)
Fixed
- A
sedorawkcommand line that only spellsidstackin a path or argument is no longer held as
unreadable. (#125) rtkandrtk proxyare looked through likesudo, sortk proxy grep -rn x ansibleis no longer held
becauseansibleis an argument. (#128)docs/plan.md, INSTALL.md, andsrc/questions/README.mdnow match the code: the Codex guard install drops its
own entry when the plugin ships the hook,guard hookaccepts--json, and a flagged answer wins over a
threshold tie.
v1.2.0
Added
idstack guard trust HOST...(anduntrust) keep atrusted_hostslist inguard.json. The remote-only rules
(rm,kill,systemctl,docker rm, package removal,rsync --delete, and the rest) no longer hold a command
whose every ssh hop, or rsync target, is on the list. Infra-tool rules stay held behind a trusted host, and a hop
to an untrusted host stays held. An agent cannot runguard trust. (#119)antigravityis a model-routing provider. A role can name<model> <effort> via antigravity; the script checks it
againstagy models, writes theagy -pread and write commands intopstack-models.md, and counts it reachable
whenagyis on PATH. The shipped roles do not use it. (#117)
v1.1.5
Fixed
- The guard no longer holds a quoted heredoc fed to a script interpreter (
python3 - <<'EOF'and the like) because its
body mentionsbash -cin backticks. The body is data there. Unquoted heredocs and a barebash -cstay held.
v1.1.4
Fixed
- The shipped model routes send the sol roles (
bug-fix,perf-issue,judgment and prose,
hardest tasks,why synthesizer,reflect judgment, divergent, synthesizer, and the codex
entries in the arena, architect, and interrogate pools) togpt-6.2-solinstead of
gpt-6.1-sol. The INSTALL.md examples match.
v1.1.3
This release tightens the gates. Plans and commands that passed before can now stop or ask; each
change is listed under Security. The findings came from an independent review.
Security
idstack plan-summary --predicateneeds--scopeor--scope-fileand exits 2 without one. A
change with a missing or malformedchangeoractionsfails as an unrecognized action, and any
action list containingdeleteorforgetis destructive.- The predicate's IAM and network detection reads nested attributes. On create it counts
falseon
block_public_*,restrict_public_*, andignore_public_*, and unknown IAM or exposure
attributes when the plan'sconfigurationsets them or cannot show them. A Kubernetes workload
that sets a containerportnow needs--allow-network, and one that sets
service_account_nameneeds--allow-iam. - Public IPs, EIPs, function URLs, CloudFront, and
kubernetes_servicecount as network resources.
Scope globs treat[0]and["key"]as literal text; only*and?are wildcards. gates.md: without the CLI a predicate grant cannot pass. Thejqlines are a reading aid.- The guard holds commands it cannot read: unparsable text that names a covered tool, deep nesting,
a shell-cwith no command, and a shell orsshfed by a pipe, heredoc, or here-string. It
recognizes commands behind launchers, substitutions, and unknown flags. - The guard holds a command that runs something its own words do not show (
xargs,parallel,
find -exec,env -S, non-trivialsedandawk, andtar,rsync, and similar with an
option that runs a command) whenever the command line names a covered tool. Some read-only
pipelines that pass a covered tool's output toxargsorawknow ask. - New guard rules: IAM grants, policy writes, firewall opens, deploys, remote commands, and
public-access flags foraws,gcloud, andaz;pulumi,helmfile,eksctl,gsutil,
vaultdelete and revoke, anddocker compose down -v;ghandglabmerges and pipeline
runs;terraform refresh,test, andinit -migrate-state; destructive host commands over
sshandrsync --deleteto a remote; and shell writes to the guard's own settings and
approval files. Plaingit pushis not held. guard allow-onceapprovals are bound to the directory as well as the command text; pass--cwd
and quote the command as one argument.IDSTACK_GUARD_MODEcan raise the mode but no longer
lower it. Guard state is created private (0700 directory, 0600 log).- The plugin hooks start through
hooks/guard_hook.py, which holds commands in ask mode when the
CLI cannot load. - Codex: the plugin loads its own guard hook (
hooks/codex.jsonthrough
.codex-plugin/plugin.json), shown as "idstack guard" in/hooksand answeringdeny. Before,
Codex ran the Claude Code hook, whoseaskanswer Codex treats as a failed hook and then runs
the command. Trust the hook again in/hooksafter updating. idstack judgeand the guard's judge call treat any answer that is not a number in [0, 1] as
unsettled, and a non-object response as a failed call.IDSTACK_JEV_URLmust be https and
redirects are not followed. Environment assignments, secret-named values, URL credentials, and
auth headers are masked before a command is sent.- Playbooks stop at a gate before every state-mutating step: the leak revoke, new-value creation,
and consumer rollout insecret-rotation, reference removal indecommission, the DNS TTL
change inedge-change, and CI retriggers that hold an apply, deploy, sync, or publish job in
babysit. A restore, even into a scratch namespace, is state-mutating. host-config-changeruns check mode for the fleet batch before the fleet gate. It and
drift-auditlook forcheck_mode: falsebefore any--checkrun. The Ansible predicate fails
oncommand,shell,raw, andscripttasks that would run.
Fixed
install.sh: more than one of--check,--dry-run,--uninstallis a usage error instead of
the last flag winning.--refis fetched and checked out on every run, so a tag pin survives a
second run. Bash older than 4.4 and Python older than 3.11 exit 3 with one line.install.sh --sourceis local only when written as a path (/abs,./rel,../rel,.); a
bare folder name is a usage error.- An interrupted pstack copy is detected and redone: skills are staged beside the target and
renamed into place, and the manifest gets its commit last. Failed git and harness commands land
inerrorswith exit 1 instead of a bare abort. install.sh --uninstallno longer stops half way when a guard hook cannot be removed, keeps the
CLI link and the shared model file while another harness still uses them, and still removes
links when a harness CLI is not on PATH.idstack guard install --harness codexno longer adds a second entry when the plugin ships the
hook, and removes one left by an earlier run;idstack doctorwarns about two.judge --evalexits 1 when no cases are selected and 3 on a failed call.doctor --live
reports a failed probe as failed.build --checkflags generated files whose source is gone.
With--json, human text goes to stderr, and an unexpected error still prints one JSON object.scripts/check.pyreports a short mirror pin or a brokenconfig/pstack-lock.jsonas a finding
and still runs every other check. It requires a changelog section for the manifest version and
compares all four version manifests.- The
pstack-watchworkflow can open or update its issue on drift; before, the step stopped
first.
Changed
- CI runs the repo check, unit tests, and build check on Python 3.11 and the newest stable release.
Release tags must be onmain. Markdown lint runs with default rules on. docs/plan.md, the playbook catalog, and the check lists in CONTRIBUTING.md and AGENTS.md match
what ships.
v1.1.2
Fixed
- id-mode routes broker work to
backend-apiand app performance todebug-triage; skills v4.0.0
retiredmessage-queuesand foldedperformance-debuggingintodebug-triage. - Headless model-role runner templates set
IULIANDITA_MODS_NOTIFY=off, soclaude -p,
codex execandopencode runchildren no longer pop desktop notifications through the mods
notifymod.
v1.1.1
Added
- A weekly
pstack-watchworkflow opens an issue when upstream pstack or the mirror pin drifts fromconfig/pstack-lock.json.
Fixed
- The pstack mirror pin in
install.shmoves from pstack 0.15.34 to 0.15.36, so Codex and OpenCode
installs get the same pstack skills as Claude Code.config/pstack-lock.jsonrecords the new pin.
v1.1.0
Added
install.sh --jsonand--jsonon everyidstacksubcommand print one object withokand
errorsplus command keys, documented in INSTALL.md.- Vendored shared stack canon and checker under
.github/stack/, run in thelintjob, with a
weeklystack-syncworkflow that opens an issue when the canon in agents moves. EnvironmentandExit codessections in everyidstacksubcommand--help.- Wordmark and logo files in
assets/.
Changed
- Error messages name the next step to run.
- README opens with the wordmark, an agent setup prompt, and a
Part of the stacksection.
CONTRIBUTING uses the shared headings and the version bump rule. - CI jobs are named after their ids (
lint,install,zizmor,secrets,publish), and the
installjob checks the--jsonoutput ofinstall.sh --check.
Breaking
- Usage errors in
idstack judgeexit 2 instead of 1: an unknown battery, an items file that is
not a JSON array or cannot be read, and a missing items argument. Scripts that test for exit 1 on
these should accept 2 and treat 1 as a runtime failure. idstack guard installanduninstallprint a JSON object with--json. Previously they
printed text, and--dry-runprinted the bare config; with--jsonthe config is under
config. Without--jsonthe output is unchanged.- Every
--jsonobject now has top-levelokanderrorskeys, and the command's other keys
stay where they were. A failedplan-summarypredicate, ajudgecall error, a failed
build --check, and a faileddoctorcheck reportok: false; exit codes are unchanged. - Error message text changed. Scripts that match the old wording should check the exit code.
v1.0.0
First stable release. idstack runs on Claude Code, Codex, and OpenCode, and under T3 Code on any of
them, with the router, 21 playbooks, 6 overlays, 4 principles, 3 subagents, the idstack CLI, the
opt-in guard, and per-role model routing that works with any mix of installed harnesses.
Added
- A stable channel:
maingets each tagged release,developstays the nightly.install.sh --ref
picks the branch or tag (defaultmain), and the documented install commands pinmain. - CONTRIBUTING describes the release flow from
developtomain.
Fixed
scripts/pstack_models.py --resolveno longer crashes onautoorinherit-parentroles.scripts/eval.py --scenariowith an unknown id exits 2 instead of passing with nothing run.
Changed
- Removed a pass-through helper in the build generator; generated files are unchanged.
Not yet met from the v1.0 exit criteria in docs/plan.md: a user guide, a review of each playbook
against real use, and two weeks of daily use without a gate bypass (issue #26).
v0.5.0
Model routing for any mix of harnesses.
Changed
- One role table for every harness. Each role chains an option per provider, so it resolves on
Claude Code, Codex, or OpenCode alone, any two of them, or all three;orgroups keep roles such
as "hardest tasks" on the current harness's own model. With all three installed, each harness
routes as before. ~/.config/idstack/models.jsontakes one top-levelrolesobject. A 0.4.0 file withclaudeand
agentssections is rejected with a note on how to move it.
Added
scripts/pstack_models.py --resolve <harness>prints what each role runs on this machine.- Tests resolve every role for every combination of installed harnesses.