Commit 74dcaf3
committed
fix(workflow): address Copilot review feedback on #2421
- Centralize the integration.json path as a module-level INTEGRATION_JSON
constant in workflows/engine.py (mirrors specify_cli.INTEGRATION_JSON;
cannot be imported directly without a circular dependency).
- Catch UnicodeDecodeError alongside JSONDecodeError/OSError so a
non-UTF8 integration.json falls back to the literal default instead
of crashing the workflow engine. Adds a regression test.
- Drop the narrow requires.integrations.any allowlist in the speckit
workflow YAML; the four core commands (specify/plan/tasks/implement)
are provided by every integration, so the previous list was always
inaccurate (e.g. opencode, codex, etc. were excluded).1 parent 56187f3 commit 74dcaf3
3 files changed
Lines changed: 37 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
741 | 748 | | |
742 | 749 | | |
743 | 750 | | |
744 | | - | |
| 751 | + | |
745 | 752 | | |
746 | 753 | | |
747 | 754 | | |
748 | 755 | | |
749 | | - | |
| 756 | + | |
750 | 757 | | |
751 | 758 | | |
752 | 759 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1593 | 1593 | | |
1594 | 1594 | | |
1595 | 1595 | | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
1596 | 1621 | | |
1597 | 1622 | | |
1598 | 1623 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments