From dc301aae91ec6182cba5724847d9cc4f2903985d Mon Sep 17 00:00:00 2001 From: jefbinomed Date: Tue, 14 Jul 2026 15:04:13 +0200 Subject: [PATCH 1/7] =?UTF-8?q?=F0=9F=90=9B=20fix(docs):=20base=20VitePres?= =?UTF-8?q?s=20/talk-control/=20pour=20GitHub=20Pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le site est servi en project page (talkcontrol.github.io/talk-control/) mais base valait '/' : tous les assets étaient référencés à la racine du domaine et 404aient — page publiée sans style ni JS. Vérifié en local : 6 références préfixées, 0 à la racine après build. Co-Authored-By: Claude Fable 5 --- docs-sources/.vitepress/config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs-sources/.vitepress/config.js b/docs-sources/.vitepress/config.js index b7a3b3f0..d26a7b98 100644 --- a/docs-sources/.vitepress/config.js +++ b/docs-sources/.vitepress/config.js @@ -1,7 +1,9 @@ export default { title: 'TalkControl', description: 'TalkControl documentation', - base: '/', + // Le site est servi en project page GitHub Pages (…github.io/talk-control/) — + // sans ce base, les assets sont référencés à la racine du domaine et 404ent. + base: '/talk-control/', ignoreDeadLinks: 'localhostLinks', themeConfig: { nav: [ From 0e677b816c42b53a14c3e78bd6846e1054180181 Mon Sep 17 00:00:00 2001 From: jefbinomed Date: Fri, 7 Aug 2026 16:17:03 +0200 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=94=A7=20chore(tooling):=20int=C3=A9g?= =?UTF-8?q?rer=20OpenSpec=20pour=20le=20workflow=20spec-driven?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - openspec init — structure openspec/specs/ + openspec/changes/ - config.yaml avec contexte TalkControl (stack, conventions, règles) - 9 skills + 9 commands /opsx:* dans .claude/ pour Claude Code - .gitignore : exceptionner .claude/commands/ et .claude/skills/openspec-*/ Co-Authored-By: Claude Sonnet 4.6 --- .claude/commands/opsx/apply.md | 158 +++++ .claude/commands/opsx/archive.md | 162 +++++ .claude/commands/opsx/continue.md | 122 ++++ .claude/commands/opsx/explore.md | 182 ++++++ .claude/commands/opsx/new.md | 80 +++ .claude/commands/opsx/onboard.md | 570 +++++++++++++++++ .claude/commands/opsx/propose.md | 117 ++++ .claude/commands/opsx/sync.md | 150 +++++ .claude/commands/opsx/verify.md | 171 ++++++ .claude/skills/openspec-apply-change/SKILL.md | 162 +++++ .../skills/openspec-archive-change/SKILL.md | 119 ++++ .../skills/openspec-continue-change/SKILL.md | 126 ++++ .claude/skills/openspec-explore/SKILL.md | 300 +++++++++ .claude/skills/openspec-new-change/SKILL.md | 85 +++ .claude/skills/openspec-onboard/SKILL.md | 574 ++++++++++++++++++ .claude/skills/openspec-propose/SKILL.md | 121 ++++ .claude/skills/openspec-sync-specs/SKILL.md | 154 +++++ .../skills/openspec-verify-change/SKILL.md | 175 ++++++ .gitignore | 12 + openspec/config.yaml | 43 ++ 20 files changed, 3583 insertions(+) create mode 100644 .claude/commands/opsx/apply.md create mode 100644 .claude/commands/opsx/archive.md create mode 100644 .claude/commands/opsx/continue.md create mode 100644 .claude/commands/opsx/explore.md create mode 100644 .claude/commands/opsx/new.md create mode 100644 .claude/commands/opsx/onboard.md create mode 100644 .claude/commands/opsx/propose.md create mode 100644 .claude/commands/opsx/sync.md create mode 100644 .claude/commands/opsx/verify.md create mode 100644 .claude/skills/openspec-apply-change/SKILL.md create mode 100644 .claude/skills/openspec-archive-change/SKILL.md create mode 100644 .claude/skills/openspec-continue-change/SKILL.md create mode 100644 .claude/skills/openspec-explore/SKILL.md create mode 100644 .claude/skills/openspec-new-change/SKILL.md create mode 100644 .claude/skills/openspec-onboard/SKILL.md create mode 100644 .claude/skills/openspec-propose/SKILL.md create mode 100644 .claude/skills/openspec-sync-specs/SKILL.md create mode 100644 .claude/skills/openspec-verify-change/SKILL.md create mode 100644 openspec/config.yaml diff --git a/.claude/commands/opsx/apply.md b/.claude/commands/opsx/apply.md new file mode 100644 index 00000000..bb7f5188 --- /dev/null +++ b/.claude/commands/opsx/apply.md @@ -0,0 +1,158 @@ +--- +name: 'OPSX: Apply' +description: Implement tasks from an OpenSpec change (Experimental) +category: Workflow +tags: [workflow, artifacts, experimental] +--- + +Implement tasks from an OpenSpec change. + +**Store selection:** If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run `openspec store list --json` to discover registered store ids, then pass `--store ` on the commands that read or write specs and changes (`new change`, `status`, `instructions`, `list`, `show`, `validate`, `archive`, `doctor`, `context`). Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local `openspec/` root. + +**Input**: Optionally specify a change name (e.g., `/opsx:apply add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes. + +**Steps** + +1. **Select the change** + + If a name is provided, use it. Otherwise: + - Infer from conversation context if the user mentioned a change + - Auto-select if only one active change exists + - If ambiguous, run `openspec list --json` to get available changes and use the **AskUserQuestion tool** to let the user select + + Always announce: "Using change: " 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") + - `planningHome`, `changeRoot`, and `actionContext`: planning scope and edit constraints + - 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: + - `contextFiles`: artifact ID -> array of concrete 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 every file path listed under `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.