From 3b0fb9a86371099b1ca039f4cde4931d65281fcf Mon Sep 17 00:00:00 2001 From: Flop Butylkin Date: Sun, 5 Jul 2026 20:52:02 +0200 Subject: [PATCH 1/4] Start new v0.11.0 development Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/ksef-client-ts/CHANGELOG.md | 6 ++++++ packages/ksef-client-ts/package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/ksef-client-ts/CHANGELOG.md b/packages/ksef-client-ts/CHANGELOG.md index 4399122..19af62d 100644 --- a/packages/ksef-client-ts/CHANGELOG.md +++ b/packages/ksef-client-ts/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.11.0] - Unreleased + +### Added + +### Fixed + ## [0.10.0] - 2026-06-15 ### Changed (breaking) diff --git a/packages/ksef-client-ts/package.json b/packages/ksef-client-ts/package.json index e26d740..ef4d1c0 100644 --- a/packages/ksef-client-ts/package.json +++ b/packages/ksef-client-ts/package.json @@ -1,6 +1,6 @@ { "name": "ksef-client-ts", - "version": "0.10.0", + "version": "0.11.0", "description": "TypeScript client for the Polish National e-Invoice System (KSeF) API", "type": "module", "sideEffects": false, From 1454ccb872a12b3d096a6be9946dae25d1f0843a Mon Sep 17 00:00:00 2001 From: Flop Butylkin Date: Sun, 5 Jul 2026 22:28:45 +0200 Subject: [PATCH 2/4] chore: regenerate OpenSpec tooling and expand .gitignore - Regenerate openspec skills for claude/codex/cursor harnesses - Add opsx command files for claude and cursor - Ignore macOS, editor, log, and env/secret noise Co-Authored-By: Claude Opus 4.8 (1M context) --- .claude/commands/opsx/apply.md | 152 +++++++++++ .claude/commands/opsx/archive.md | 157 ++++++++++++ .claude/commands/opsx/bulk-archive.md | 242 ++++++++++++++++++ .claude/commands/opsx/continue.md | 114 +++++++++ .claude/commands/opsx/explore.md | 174 +++++++++++++ .claude/commands/opsx/ff.md | 94 +++++++ .claude/commands/opsx/new.md | 69 +++++ .claude/commands/opsx/sync.md | 134 ++++++++++ .claude/commands/opsx/verify.md | 164 ++++++++++++ .claude/skills/openspec-apply-change/SKILL.md | 2 +- .../skills/openspec-archive-change/SKILL.md | 4 +- .../openspec-bulk-archive-change/SKILL.md | 6 +- .../skills/openspec-continue-change/SKILL.md | 2 +- .claude/skills/openspec-explore/SKILL.md | 38 +-- .claude/skills/openspec-ff-change/SKILL.md | 2 +- .claude/skills/openspec-new-change/SKILL.md | 2 +- .claude/skills/openspec-sync-specs/SKILL.md | 2 +- .../skills/openspec-verify-change/SKILL.md | 2 +- .codex/skills/openspec-apply-change/SKILL.md | 2 +- .../skills/openspec-archive-change/SKILL.md | 4 +- .../openspec-bulk-archive-change/SKILL.md | 6 +- .../skills/openspec-continue-change/SKILL.md | 2 +- .codex/skills/openspec-explore/SKILL.md | 38 +-- .codex/skills/openspec-ff-change/SKILL.md | 2 +- .codex/skills/openspec-new-change/SKILL.md | 2 +- .codex/skills/openspec-sync-specs/SKILL.md | 2 +- .codex/skills/openspec-verify-change/SKILL.md | 2 +- .cursor/commands/opsx-apply.md | 152 +++++++++++ .cursor/commands/opsx-archive.md | 157 ++++++++++++ .cursor/commands/opsx-bulk-archive.md | 242 ++++++++++++++++++ .cursor/commands/opsx-continue.md | 114 +++++++++ .cursor/commands/opsx-explore.md | 174 +++++++++++++ .cursor/commands/opsx-ff.md | 94 +++++++ .cursor/commands/opsx-new.md | 69 +++++ .cursor/commands/opsx-sync.md | 134 ++++++++++ .cursor/commands/opsx-verify.md | 164 ++++++++++++ .cursor/skills/openspec-apply-change/SKILL.md | 2 +- .../skills/openspec-archive-change/SKILL.md | 4 +- .../openspec-bulk-archive-change/SKILL.md | 6 +- .../skills/openspec-continue-change/SKILL.md | 2 +- .cursor/skills/openspec-explore/SKILL.md | 38 +-- .cursor/skills/openspec-ff-change/SKILL.md | 2 +- .cursor/skills/openspec-new-change/SKILL.md | 2 +- .cursor/skills/openspec-sync-specs/SKILL.md | 2 +- .../skills/openspec-verify-change/SKILL.md | 2 +- .gitignore | 19 ++ 46 files changed, 2712 insertions(+), 87 deletions(-) create mode 100644 .claude/commands/opsx/apply.md create mode 100644 .claude/commands/opsx/archive.md create mode 100644 .claude/commands/opsx/bulk-archive.md create mode 100644 .claude/commands/opsx/continue.md create mode 100644 .claude/commands/opsx/explore.md create mode 100644 .claude/commands/opsx/ff.md create mode 100644 .claude/commands/opsx/new.md create mode 100644 .claude/commands/opsx/sync.md create mode 100644 .claude/commands/opsx/verify.md create mode 100644 .cursor/commands/opsx-apply.md create mode 100644 .cursor/commands/opsx-archive.md create mode 100644 .cursor/commands/opsx-bulk-archive.md create mode 100644 .cursor/commands/opsx-continue.md create mode 100644 .cursor/commands/opsx-explore.md create mode 100644 .cursor/commands/opsx-ff.md create mode 100644 .cursor/commands/opsx-new.md create mode 100644 .cursor/commands/opsx-sync.md create mode 100644 .cursor/commands/opsx-verify.md diff --git a/.claude/commands/opsx/apply.md b/.claude/commands/opsx/apply.md new file mode 100644 index 0000000..bf23721 --- /dev/null +++ b/.claude/commands/opsx/apply.md @@ -0,0 +1,152 @@ +--- +name: "OPSX: Apply" +description: Implement tasks from an OpenSpec change (Experimental) +category: Workflow +tags: [workflow, artifacts, experimental] +--- + +Implement tasks from an OpenSpec change. + +**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") + - 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.