chore: remove agent projection authority

This commit is contained in:
2026-08-26 00:52:55 +03:00
parent a8b2c4eed9
commit 6719160c13
24 changed files with 8 additions and 2566 deletions
+2 -21
View File
@@ -89,37 +89,18 @@ openspec status --store wealth-ledger-specs
Require explicit Change Owner approval and invalidate dependent approvals after upstream edits.'
apply_gate="$apply_gate"$'\n'"$planning_line"
mkdir -p "$fixture/specs/agent-projection/opencode"
cp -R "$fixture/.opencode/commands" "$fixture/specs/agent-projection/opencode/commands"
cp -R "$fixture/.opencode/skills" "$fixture/specs/agent-projection/opencode/skills"
run_verifier() {
WEALTH_LEDGER_WORKSPACE="$fixture" bash "$verifier"
}
run_verifier
rm "$fixture/specs/agent-projection/opencode/commands/opsx-apply.md"
if run_verifier; then
echo "expected missing canonical projection source to fail" >&2
exit 1
fi
cp "$fixture/.opencode/commands/opsx-apply.md" "$fixture/specs/agent-projection/opencode/commands/opsx-apply.md"
for path in \
.opencode/commands/opsx-propose.md \
specs/agent-projection/opencode/commands/opsx-propose.md; do
perl -0pi -e 's/^bash specs\/scripts\/verify-openspec-planning\.sh .*\n//m' "$fixture/$path"
done
perl -0pi -e 's/^bash specs\/scripts\/verify-openspec-planning\.sh .*\n//m' "$fixture/.opencode/commands/opsx-propose.md"
if run_verifier; then
echo "expected missing planning gate in an artifact entrypoint to fail" >&2
exit 1
fi
for path in \
.opencode/commands/opsx-propose.md \
specs/agent-projection/opencode/commands/opsx-propose.md; do
printf '%s\n' "$planning_line" >> "$fixture/$path"
done
printf '%s\n' "$planning_line" >> "$fixture/.opencode/commands/opsx-propose.md"
write_file "specs/openspec/.cli-version" '9.9.9'
if run_verifier; then