Skip to content

Commit 8ade64a

Browse files
docs: align color contract with merged pty
agent-session-id: ed878dac-3735-4276-b3e0-ea1b1cd65291 agent-tool: Codex CLI agent-tool-version: 0.145.0 agent-model: unknown agent-runtime-profile: /nix/store/mnx8agbdq3wiyb6vz63lhgscgazkrn98-coding-agent-runtime-profile/share/coding-agents/profile.json agent-skills-manifest: /nix/store/5r69m9k2llmri3na81518zx0a7y0d3cn-agent-skills-corpus/share/agent-skills/manifest.json tooling-profile: dotfiles@0fb7e03
1 parent 57e26d7 commit 8ade64a

3 files changed

Lines changed: 14 additions & 5 deletions

File tree

docs/vrs/spec.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,15 @@ validate ──► materialize ──► host-local st2 scheduler/reconciler
136136
before launch: the command may select an account-specific `CODEX_HOME` only
137137
after st2 starts it. `st2 pretrust` remains an explicit operator utility for
138138
commands that intentionally use the ambient Claude and Codex configs.
139+
140+
The canonical `agent` task treats a reconciler's ambient `NO_COLOR` as a
141+
launcher preference rather than agent policy. Unless the Agent Spec declares
142+
`NO_COLOR`, st2 removes it from the launch environment and records the removal
143+
in the PTY launch definition. An explicit Agent Spec assignment takes
144+
precedence. Isolation wrappers preserve both assignments and removals, so a
145+
manual PTY restart under a different ambient environment reconstructs the
146+
same effective color policy. Adoption of an already-live task remains
147+
non-mutating: this policy is applied only when st2 creates a generation.
139148
- **R07:** Hook bundles are explicit, content-addressed, installed separately,
140149
and verified before materialization references them. Their receipts use the
141150
same resolved build identity as the binary's version surfaces for both

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
flake-utils.url = "github:numtide/flake-utils";
77
# Packaged PTY contract: the exact fleet-observation producer revision, including persisted
88
# environment removals used by managed agent restarts.
9-
pty.url = "github:compoundingtech/pty/c0a1e636aea2ba3ce71dc0e72942394fb7f4fe25";
9+
pty.url = "github:compoundingtech/pty/d5fabc3917407aeb937a012bd97679c303e18033";
1010
pty.inputs.nixpkgs.follows = "nixpkgs";
1111
};
1212

0 commit comments

Comments
 (0)