From fbfa367c16422b52217c08b6cf835dfaac072334 Mon Sep 17 00:00:00 2001 From: Denis Urs Rudolph Date: Fri, 3 Apr 2026 20:43:01 +0200 Subject: [PATCH] Initial commit: raceplanner project scaffold --- .DS_Store | Bin 0 -> 6148 bytes .opencode/command/opsx-apply.md | 149 +++++++++ .opencode/command/opsx-archive.md | 154 ++++++++++ .opencode/command/opsx-explore.md | 170 +++++++++++ .opencode/command/opsx-propose.md | 103 +++++++ .../skills/openspec-apply-change/SKILL.md | 156 ++++++++++ .../skills/openspec-archive-change/SKILL.md | 114 +++++++ .opencode/skills/openspec-explore/SKILL.md | 288 ++++++++++++++++++ .opencode/skills/openspec-propose/SKILL.md | 110 +++++++ openspec/.DS_Store | Bin 0 -> 8196 bytes openspec/changes/.DS_Store | Bin 0 -> 6148 bytes .../changes/new-raceplanner-app/.DS_Store | Bin 0 -> 6148 bytes .../new-raceplanner-app/.openspec.yaml | 2 + .../changes/new-raceplanner-app/design.md | 115 +++++++ .../changes/new-raceplanner-app/proposal.md | 34 +++ .../new-raceplanner-app/specs/.DS_Store | Bin 0 -> 8196 bytes .../specs/announcements/spec.md | 39 +++ .../specs/dashboard/spec.md | 38 +++ .../specs/event-categorization/spec.md | 63 ++++ .../specs/event-management/spec.md | 39 +++ .../specs/payment-tracking/spec.md | 38 +++ .../specs/registration-system/spec.md | 42 +++ .../specs/user-auth/spec.md | 37 +++ openspec/changes/new-raceplanner-app/tasks.md | 84 +++++ openspec/config.yaml | 20 ++ 25 files changed, 1795 insertions(+) create mode 100644 .DS_Store create mode 100644 .opencode/command/opsx-apply.md create mode 100644 .opencode/command/opsx-archive.md create mode 100644 .opencode/command/opsx-explore.md create mode 100644 .opencode/command/opsx-propose.md create mode 100644 .opencode/skills/openspec-apply-change/SKILL.md create mode 100644 .opencode/skills/openspec-archive-change/SKILL.md create mode 100644 .opencode/skills/openspec-explore/SKILL.md create mode 100644 .opencode/skills/openspec-propose/SKILL.md create mode 100644 openspec/.DS_Store create mode 100644 openspec/changes/.DS_Store create mode 100644 openspec/changes/new-raceplanner-app/.DS_Store create mode 100644 openspec/changes/new-raceplanner-app/.openspec.yaml create mode 100644 openspec/changes/new-raceplanner-app/design.md create mode 100644 openspec/changes/new-raceplanner-app/proposal.md create mode 100644 openspec/changes/new-raceplanner-app/specs/.DS_Store create mode 100644 openspec/changes/new-raceplanner-app/specs/announcements/spec.md create mode 100644 openspec/changes/new-raceplanner-app/specs/dashboard/spec.md create mode 100644 openspec/changes/new-raceplanner-app/specs/event-categorization/spec.md create mode 100644 openspec/changes/new-raceplanner-app/specs/event-management/spec.md create mode 100644 openspec/changes/new-raceplanner-app/specs/payment-tracking/spec.md create mode 100644 openspec/changes/new-raceplanner-app/specs/registration-system/spec.md create mode 100644 openspec/changes/new-raceplanner-app/specs/user-auth/spec.md create mode 100644 openspec/changes/new-raceplanner-app/tasks.md create mode 100644 openspec/config.yaml diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..fa6c34a3f8bfe16f56f88896effb7abcb9cdea47 GIT binary patch literal 6148 zcmeHKPfrs;6n_I%wji=Vix4&0*oz5`LM%b!!KGjf@c>~7LIBHdJJgkBrtWU3NJx6u zyH^uGfM;*|0rcqAgI~alXMFQ#gIGM77(@0YGru?U-kX{C+sw=k0FZLCHVI$?fPqC| zrWdPIMA${?kS^VmK_qgF2pT}4Iv?8t^r)`TL!=EUoYSu+Qh+7 z#&Y9G3TmhLd#$LU{oi|yz>ngIi7%w9J9F-QkI`fF8Jo@%-g06$ZboG{ToBFLR zFnMe0PSKhwO&=a+jeOze-KEM-u*>*MxpW|SP)X_6n7}JkI*9PAdpa@lDM{?BX(p*< zd;2c*UmP$8hlU4pgZX@Zgp{)Ndg#{{wznf1ul}O1iP@?l4}wJ= z`LWO0+J>Axrn~cOo8ydP1q%&fidJYCA$G*9uDN08vN|pAZw9VMg9TRRam;sDeau3v zTu$jU+^Wy&g?rx>o7sYWU1=s15`v9fqG=?B54AT^UuK+93|dr{g8fjt7%&bq;J^kv zgEqW|x9|==!e{sfKj4V;lM!-_jFTdnBGbesGh~UZlP%(srz*ZH`Pf(Wcp6BAO2^0E zb3ztyR!3VBcQWj(wRDz7-&sp6%_n6bW#F$F5a)x1MWC&*txz5vSji^" and how to override (e.g., `/opsx-apply `). + +2. **Check status to understand the schema** + ```bash + openspec status --change "" --json + ``` + Parse the JSON to understand: + - `schemaName`: The workflow being used (e.g., "spec-driven") + - Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others) + +3. **Get apply instructions** + + ```bash + openspec instructions apply --change "" --json + ``` + + This returns: + - Context file paths (varies by schema) + - Progress (total, complete, remaining) + - Task list with status + - Dynamic instruction based on current state + + **Handle states:** + - If `state: "blocked"` (missing artifacts): show message, suggest using `/opsx-continue` + - If `state: "all_done"`: congratulate, suggest archive + - Otherwise: proceed to implementation + +4. **Read context files** + + Read the files listed in `contextFiles` from the apply instructions output. + The files depend on the schema being used: + - **spec-driven**: proposal, specs, design, tasks + - Other schemas: follow the contextFiles from CLI output + +5. **Show current progress** + + Display: + - Schema being used + - Progress: "N/M tasks complete" + - Remaining tasks overview + - Dynamic instruction from CLI + +6. **Implement tasks (loop until done or blocked)** + + For each pending task: + - Show which task is being worked on + - Make the code changes required + - Keep changes minimal and focused + - Mark task complete in the tasks file: `- [ ]` → `- [x]` + - Continue to next task + + **Pause if:** + - Task is unclear → ask for clarification + - Implementation reveals a design issue → suggest updating artifacts + - Error or blocker encountered → report and wait for guidance + - User interrupts + +7. **On completion or pause, show status** + + Display: + - Tasks completed this session + - Overall progress: "N/M tasks complete" + - If all done: suggest archive + - If paused: explain why and wait for guidance + +**Output During Implementation** + +``` +## Implementing: (schema: ) + +Working on task 3/7: +[...implementation happening...] +✓ Task complete + +Working on task 4/7: +[...implementation happening...] +✓ Task complete +``` + +**Output On Completion** + +``` +## Implementation Complete + +**Change:** +**Schema:** +**Progress:** 7/7 tasks complete ✓ + +### Completed This Session +- [x] Task 1 +- [x] Task 2 +... + +All tasks complete! You can archive this change with `/opsx-archive`. +``` + +**Output On Pause (Issue Encountered)** + +``` +## Implementation Paused + +**Change:** +**Schema:** +**Progress:** 4/7 tasks complete + +### Issue Encountered + + +**Options:** +1.