Files
executor-config/tools/mailbox/send-mailbox-message/delivery-pack.sh
T
coreci-cairo 1f07737bf5 executor-config: replace v1 send-mailbox-message.sh with v2 (production, zero placeholders)
Per CEO approval 2026-10-04. Option (a): overwrite v1 with v2.

Changes:
* send-mailbox-message.sh - production implementation with zero
  placeholders. Real rail callbacks via urllib.request POST to
  submit_request. EXECUTOR_API_KEY in Authorization header only.
* delivery-pack.sh - informational template (main script
  generates per-recipient copies inline).
* SKILL.md - v2 spec (what's new + what's the same).
* v2-vs-v1-diff.md - side-by-side diff.
* README.md - bundle index.

Honours brief locked decisions [1]:
- Decision 2: outbox canonical; inbox mirrored (own inbox only).
- Decision 6: mailbox writes AUTO_RUN per recipient.
- Decision 7: append-only inheritance; this skill is additive.
- Decision 8: naming convention coreci-<role> validated at parse.
- Decision 9: extend, don't duplicate.

Does NOT (per brief):
- Edit coreci/agent-definitions/ (read-only per Rule #7).
- Implement deny_read_targets (xfail; out of scope).
- Classify mailbox writes as NEEDS_APPROVAL.
- Write to anyone else's outbox/.
- Provide cross-repo atomicity (per-recipient only).
2026-10-04 18:07:31 +00:00

13 lines
569 B
Bash
Executable File

#!/bin/bash
# delivery-pack.sh v2 — used by send-mailbox-message.sh v2 as the
# inline template. The main script substitutes $RECIPIENT at
# generation time and submits one copy per recipient via the rail.
#
# This file is informational only; the production code path lives
# inside send-mailbox-message.sh's DELIVERY_PACK heredoc. A
# standalone copy is kept on disk so reviewers can audit the
# template without reading the generated content.
set -euo pipefail
echo "[delivery-pack-template] use send-mailbox-message.sh v2 to generate; do not run directly"
exit 64