share
chronicle:share (stub)
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Status: stub. This skill is scaffolded but not functional. Target workflow documented below; implementation is pending.
Planned workflow
-
Preflight — verify
brotli,aws,op,buninstalled; verify R2 bucket reachable; verify 1Password access. -
Bundle — run
scripts/bundle.shto enumerate session JSONL under~/.claude/projects/<encoded-cwd>/and stage them with a manifest. See Plugin CLAUDE.md for the CLI and manifest schema. -
Sanitize — run
scripts/sanitize.sh <STAGING_DIR>. Wraps the upstreamsanitize_sessions.py, auto-discovers it, fingerprints it, mutates the manifest. See Plugin CLAUDE.md. -
Compress — Brotli-9 sanitized files.
-
Upload —
aws s3 cpto R2 endpoint, credentials from 1Password. -
Presign —
aws s3 presign --expires-in 604800(7 days, matches Terry's own pipeline). -
Emit — print URL; optionally pipe to
tlg:send-mediafor direct Telegram posting.