fix(sdlc): distinguish locked environment restoration from scoped dependency changes
A retained implementation stopped before editing because its prepared feature plan required a browser-testing dependency and corresponding lockfile update, while the shared implement prompt said “Never update a lockfile.” The existing runtime manifest and parsed lock lacked that dependency; runtime preparation used uv sync --locked. This was a conflict before implementation, not a dependency resolver failure or an attempt to unlock an environment to hide red tests.
Observed on public integration pin 24796870605b0fd576734b79a8d5c781f2b1c1e1. The captured run prompt matches the pinned command. Source checked on 2026-09-28 shows the same prohibition in current dev 879c99fe4dceeeae1bef98869e9427f38aadeea4. The incident was not rerun on dev.
The retained handoff explicitly names this conflict and records no edits or checks. Native run metadata independently records failure at the no-change assertion. That assertion is downstream of the refusal; weakening it would not make the dependency implementable.
The prompt combines two different operations: restoring the existing locked environment and intentionally changing dependencies to deliver authorized work. Its contradictory-requirements rule then directs a stop. This explains the retained refusal; it does not establish that every model will make the same decision.
A minimal upstream reproduction recipe, not executed here, is:
- Create a disposable application with a valid locked environment and no browser-testing package.
- Explicitly authorize adding a compatible browser-testing package, updating its manifest and lock, and adding one focused test. Supply that work to shared
archon-implement. - Observe whether the blanket instruction blocks the dependency edit. Retain the resolved prompt, declared result and diff. Do not use a live project or publish a PR.
The narrow correction is to revise How to work item 1: retain locked installs for environment restoration, but permit the minimal manifest-and-lock changes required by the operator-authorized task, using the repository's prescribed package manager and version. Require a fresh locked install and applicable project checks afterward. Prohibit unrelated upgrades, switching package managers, and lock regeneration solely to bypass failures. A generated plan alone must not enlarge owner scope; an explicit owner prohibition must still stop conflicting work.
Acceptance should cover authorized add/update/remove operations, ordinary restoration with unchanged locks, out-of-scope dependency churn, and an explicit owner freeze. Extend the bundled-command tests, regenerate bundled resources, and run the repository gate. Those tests can protect distribution of the policy; a bounded agent evaluation is separately needed to verify behavior. Preserve no-change, validation, review and publication gates.
Source: coleam00/Archon