schedule-continuity-workflow
SKILL.md
Schedule Continuity Workflow
Use this skill for the schedule continuity feature across erify_api, erify_studios, and Google Sheets integration scripts.
Canonical Feature Docs
apps/erify_api/docs/SCHEDULE_CONTINUITY.mdapps/erify_api/docs/design/IMPLEMENTATION_CANCELLED_PENDING_RESOLUTION_GAP_MVP.mdapps/erify_studios/docs/design/DESIGN_FE_SCHEDULE_CONTINUITY_IMPLEMENTATION_PLAN.md
Baseline Behavior
- Schedule flow is
update -> validate -> publish. - Publish is identity-preserving diff+upsert (no delete-all/recreate path).
- Removed shows with active tasks move to
cancelled_pending_resolution. - Removed shows without active tasks move to
cancelled. - Reappearing shows (matched by
(client_id, external_id)) are restored in place.
Contract Language
- External API/contracts use
idandexternal_id. - Internal implementation may use UID terminology for clarity.
Review Focus
- Identity continuity (show IDs/UIDs preserved across republish).
- Task continuity (task targets remain linked for matched shows).
- Pending-resolution visibility and resolution flow for studio/system admins.
- Consistency across API types, backend behavior, and FE/status UX.
Resolution Endpoint Guideline (Reference)
For cancelled_pending_resolution resolution, prefer an explicit action endpoint over generic show PATCH when the flow requires:
- state precondition checks (
CANCELLED_PENDING_RESOLUTIONonly), - policy checks (for example active-task count rules),
- mandatory reason/audit metadata,
- deterministic domain-specific error responses.
Use generic status update endpoints only if the same guards/audit/error contract are enforced identically.
Checklist
- Show identity preserved across republish (by
(client_id, external_id)match) - Task targets remain linked for matched shows
- Removed shows with active tasks move to
cancelled_pending_resolution - Removed shows without active tasks move to
cancelled - Reappearing shows are restored in place
- External API uses
idandexternal_id(not UIDs) - Consistency verified across
@eridu/api-types, backend, and frontend
Weekly Installs
2
Repository
allenlin90/erid…servicesGitHub Stars
1
First Seen
3 days ago
Security Audits
Installed on
mcpjam2
claude-code2
replit2
junie2
windsurf2
zencoder2