diff --git a/build.sh b/build.sh index 4cdcc5d0..4ec6870d 100755 --- a/build.sh +++ b/build.sh @@ -2404,7 +2404,7 @@ if [ ! -f "$WORK_IMG" ]; then # the API key lines to the seed. The seed importer merges them into # both the operator's ~/.env and the daemon's provider.env at boot. if [ -f /usr/local/etc/colibri/provider.env ]; then - grep -E '^(DEEPSEEK_API_KEY|OPENROUTER_API_KEY|TELEGRAM_BOT_TOKEN)=' \ + grep -E '^(DEEPSEEK_API_KEY|OPENROUTER_API_KEY|TELEGRAM_BOT_TOKEN|ZAI_API_KEY|ANTHROPIC_API_KEY|EMBED_API_KEY)=' \ /usr/local/etc/colibri/provider.env \ > "${_seed_agent_dir}/env" 2>/dev/null || true if [ -s "${_seed_agent_dir}/env" ]; then diff --git a/tests/seed-import-test.sh b/tests/seed-import-test.sh index 07f08bce..b58cf790 100755 --- a/tests/seed-import-test.sh +++ b/tests/seed-import-test.sh @@ -13,9 +13,9 @@ # - staging: soul/ tree, harness.toml, agent-name, active-agent, raw env # - idempotency: re-import does not duplicate keys / known_hosts # -# PENDING group: AGENTS.md -> zot home. This is the change Hermes is pushing. -# It is xfail (informational) until the importer learns to install AGENTS.md; -# re-run with REQUIRE_AGENTS_MD=1 after the patch to enforce it as required. +# AGENTS.md → zot home: shipped in importer (lines 361-369 of +# clawdie-live-seed). The REQUIRE_AGENTS_MD=1 flag enforces this contract; +# without it, AGENTS.md checks are informational (non-fatal). # # Usage: sh tests/seed-import-test.sh # current contract must pass # REQUIRE_AGENTS_MD=1 sh tests/... # also enforce the AGENTS.md patch @@ -155,7 +155,7 @@ contains required "${STAGE}/agent-name" '^clawdie$' "age contains required "${SEED_IMPORT_ROOT}/active-agent" '^clawdie$' "active-agent recorded" exists required "${STAGE}/env" "raw env staged (0600)" -echo "-- PENDING: AGENTS.md -> zot global slot (Hermes's importer patch) --" +echo "-- AGENTS.md -> zot global slot (shipped in importer) --" exists pending "${EXPECT_AGENTS_MD}" "AGENTS.md installed to \$ZOT_HOME" contains pending "${EXPECT_AGENTS_MD}" 'CANARY_AGENTS_MARKER=zot-sees-this' "AGENTS.md content intact at zot slot"