feat(agents-vault): sync the vault from the claude and agy wrappers

Both wrappers stay behind the C1 guard, so disabling
__fish_config_op_aliases still passes straight through to the real binary.

Launch commits but never pushes, keeping the network and any credential
prompt off the critical path; pushing is left to the Claude Code SessionEnd
hook. agy has no such hook, so its memory lands one launch later.
This commit is contained in:
2026-09-03 18:56:46 -04:00
parent 11f4551fa5
commit 2ad5bf75d2
6 changed files with 131 additions and 9 deletions
+14
View File
@@ -11,6 +11,8 @@
# and loads it as an isolated interactive session.
# 3. Runs the functional checks in tests/functional.fish inside that
# loaded session.
# 4. Runs tests/test-agents-vault.fish as its own process; that suite
# builds its own throwaway repos and needs no loaded config.
#
# Usage: fish tests/run-tests.fish
@@ -86,4 +88,16 @@ if test $functional_status -ne 0
set overall_failed 1
end
# ---- Phase 3: hermetic vault helper tests --------------------------------
# Run as its own fish process rather than inside the sandboxed session:
# the suite builds its own throwaway git repos and binds the vault, claude
# and agy roots to them, so it needs no loaded config and must never see
# the real ~/.claude.
echo ""
echo "== Vault helper tests =="
fish $repo_root/tests/test-agents-vault.fish
if test $status -ne 0
set overall_failed 1
end
exit $overall_failed