mirror of
https://github.com/tiennm99/claude-code-routine-trigger.git
synced 2026-10-13 10:15:35 +00:00
4.2 KiB
4.2 KiB
phase, title, status, priority, effort, dependencies
| phase | title | status | priority | effort | dependencies | ||||
|---|---|---|---|---|---|---|---|---|---|
| 5 | Docs + release | completed | P2 | 1.5h |
|
Phase 5: Docs + release
Overview
Full README mirroring sibling repos' tone, comparison-table back-link in both siblings, v0.1.0 GitHub release, public deployment of the author's own instance.
Requirements
- Functional:
- README covers: why-this-vs-siblings, quickstart, env vars, secret upload, customize schedule, beta header policy, security, license.
- GitHub release
v0.1.0tagged. - Both sibling READMEs updated with a row pointing to this repo.
- Non-functional:
- Same prose voice as siblings (
> [!TIP]/> [!WARNING]callouts, terse). - Code blocks copy-pasteable.
- All claims about CF cron precision sourced (link CF docs).
- Same prose voice as siblings (
Architecture
README sections (in order)
- Header + tagline — one-liner.
- Why this vs siblings — three-column comparison table.
- Quickstart —
wrangler deploy+ 2 secret-puts + done. - Environment variables — table (name, required, default, notes).
- Multiple schedules —
wrangler.toml[triggers].cronsarray. - Templates —
{LocalTime},{Cron},{ISO}. - Customize schedule — edit
wrangler.toml,wrangler deploy. - Local development —
.dev.vars+wrangler dev --test-scheduled. - Secret rotation —
wrangler secret putoverwrites. - CF Workers free tier — link, note 5-cron-per-worker limit.
- Beta header — pinned value, bump policy.
- Operational notes — log access (
wrangler tail), no idempotency. - License — Apache-2.0.
Sibling repo updates
- Edit
claude-code-routine-trigger/README.md— add row in the "no longer used by author" callout listingtrigger-workeras another option. - Edit
claude-code-routine-cron/README.md— extend "Why this vsclaude-code-routine-trigger" table to a 3-way comparison includingtrigger-worker.
Related Code Files
- Modify:
README.md(this repo) - Modify (out of repo, requires PR/commit):
/config/workspace/tiennm99/claude-code-routine-trigger/README.md - Modify (out of repo):
/config/workspace/tiennm99/claude-code-routine-cron/README.md - Create:
CHANGELOG.md(Keep-A-Changelog format) - Optional:
.github/release.ymlfor release-notes automation
Implementation Steps
- Draft README per architecture sections — use sibling READMEs verbatim where applicable (Apache-2.0 license clauses, beta header note, security note about per-routine token scope).
- Write
CHANGELOG.mdwith## [0.1.0] - 2026-MM-DDinitial entry listing features. - Local proof: deploy author's instance via
wrangler deploy, attach a non-prod routine, observe one cron tick, capturesession_urlfor README screenshot. - Tag and release:
git tag v0.1.0 git push origin v0.1.0 gh release create v0.1.0 --generate-notes - Open PRs (or direct commits if author owns) to update sibling READMEs with the comparison row.
- Final commit:
docs: README + v0.1.0 release notes.
Success Criteria
- README renders cleanly on GitHub
- All code blocks in README are runnable (copy-paste tested)
- Comparison table accurately reflects all 3 options
- Both sibling READMEs reference this repo
v0.1.0tag pushed and GitHub release published- Author's own deployment fired at least one successful cron tick (proof-of-life)
Risk Assessment
- Beta header drift: if Anthropic ships new dated beta between phase 2 and release, bump in code + CHANGELOG before tagging.
- Sibling repo edits cause merge conflicts: branch + PR if user has unmerged work; otherwise direct commit.
- CF dashboard URL format changes: don't hardcode dashboard URLs in README; use
wrangler tail(CLI) which is stable.
Security Considerations
- README must NOT include real
ROUTINE_FIRE_URLor token — onlysk-ant-oat01-...placeholder format. - Document that pushing to a public fork preserves
.dev.varsexclusion (gitignore line).
Next Steps (post v0.1.0)
- v0.2: optional
WEBHOOK_URLto mirror fire output to Slack/Discord (low priority — most users usewrangler tail). - v0.3:
wrangler.toml.examplewith multi-routine deployment helper script.