Skip to content

Commit 73b6701

Browse files
feat: harmonize ECC workflow-pack onto current merged (PR #21 synthesis) (#21)
1 parent f4c8325 commit 73b6701

7 files changed

Lines changed: 171 additions & 19 deletions

File tree

.agents/skills/periscope/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,6 @@ and handoff notes before expanding scope.
232232
| `/database-migration` | `.claude/commands/database-migration.md` |
233233
| `/feature-development` | `.claude/commands/feature-development.md` |
234234
| `/refactoring` | `.claude/commands/refactoring.md` |
235+
| `/add-or-update-backend-feature-with-tests` | `.claude/commands/add-or-update-backend-feature-with-tests.md` |
236+
| `/frontend-component-update-with-i18n-and-tests` | `.claude/commands/frontend-component-update-with-i18n-and-tests.md` |
237+
| `/documentation-and-blueprint-update` | `.claude/commands/documentation-and-blueprint-update.md` |
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: add-or-update-backend-feature-with-tests
3+
description: Workflow command scaffold for add-or-update-backend-feature-with-tests in periscope.
4+
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
5+
---
6+
7+
# /add-or-update-backend-feature-with-tests
8+
9+
Use this workflow when working on **add-or-update-backend-feature-with-tests** in `periscope`.
10+
11+
## Goal
12+
13+
Implements or refactors backend features, always accompanied by corresponding test files. Typically involves Go source files and their _test.go counterparts in cmd/periscope/ or internal/ directories.
14+
15+
## Common Files
16+
17+
- `cmd/periscope/*.go`
18+
- `cmd/periscope/*_test.go`
19+
- `internal/**/*.go`
20+
- `internal/**/*_test.go`
21+
- `Makefile`
22+
- `go.mod`
23+
24+
## Suggested Sequence
25+
26+
1. Understand the current state and failure mode before editing.
27+
2. Make the smallest coherent change that satisfies the workflow goal.
28+
3. Run the most relevant verification for touched files.
29+
4. Summarize what changed and what still needs review.
30+
31+
## Typical Commit Signals
32+
33+
- Edit or create Go implementation file in cmd/periscope/ or internal/ directories
34+
- Edit or create corresponding _test.go file for tests
35+
- Update Makefile or go.mod/go.sum if dependencies or build steps change
36+
- Run tests to verify changes
37+
38+
## Notes
39+
40+
- Treat this as a scaffold, not a hard-coded script.
41+
- Update the command if the workflow evolves materially.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: documentation-and-blueprint-update
3+
description: Workflow command scaffold for documentation-and-blueprint-update in periscope.
4+
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
5+
---
6+
7+
# /documentation-and-blueprint-update
8+
9+
Use this workflow when working on **documentation-and-blueprint-update** in `periscope`.
10+
11+
## Goal
12+
13+
Updates or adds documentation, blueprints, or architecture plans, often in docs/ or scripts/guides/ directories.
14+
15+
## Common Files
16+
17+
- `docs/**/*.md`
18+
- `docs/guides/**/*.md`
19+
- `docs/superpowers/**/*.md`
20+
21+
## Suggested Sequence
22+
23+
1. Understand the current state and failure mode before editing.
24+
2. Make the smallest coherent change that satisfies the workflow goal.
25+
3. Run the most relevant verification for touched files.
26+
4. Summarize what changed and what still needs review.
27+
28+
## Typical Commit Signals
29+
30+
- Edit or create markdown files in docs/ or docs/guides/
31+
- Optionally update related scripts or blueprints
32+
- Commit with a message referencing documentation or blueprint
33+
34+
## Notes
35+
36+
- Treat this as a scaffold, not a hard-coded script.
37+
- Update the command if the workflow evolves materially.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: frontend-component-update-with-i18n-and-tests
3+
description: Workflow command scaffold for frontend-component-update-with-i18n-and-tests in periscope.
4+
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
5+
---
6+
7+
# /frontend-component-update-with-i18n-and-tests
8+
9+
Use this workflow when working on **frontend-component-update-with-i18n-and-tests** in `periscope`.
10+
11+
## Goal
12+
13+
Adds or updates a frontend Svelte component, updates internationalization files, and adds or updates corresponding tests.
14+
15+
## Common Files
16+
17+
- `frontend/src/lib/components/**/*.svelte`
18+
- `frontend/src/lib/components/**/*.test.ts`
19+
- `frontend/messages/*.json`
20+
21+
## Suggested Sequence
22+
23+
1. Understand the current state and failure mode before editing.
24+
2. Make the smallest coherent change that satisfies the workflow goal.
25+
3. Run the most relevant verification for touched files.
26+
4. Summarize what changed and what still needs review.
27+
28+
## Typical Commit Signals
29+
30+
- Edit or create .svelte component in frontend/src/lib/components/
31+
- Edit or create corresponding .test.ts file for the component
32+
- Update i18n message files (frontend/messages/*.json) for localization
33+
- Update other related frontend files if needed
34+
35+
## Notes
36+
37+
- Treat this as a scaffold, not a hard-coded script.
38+
- Update the command if the workflow evolves materially.

.claude/ecc-tools.json

Lines changed: 48 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"generatedAt": "2026-07-28T14:38:14.771Z",
66
"repo": "https://github.com/diazMelgarejo/periscope",
77
"referenceSetReadiness": {
8-
"score": 29,
9-
"present": 2,
8+
"score": 43,
9+
"present": 3,
1010
"total": 7,
1111
"items": [
1212
{
@@ -19,8 +19,10 @@
1919
{
2020
"id": "rag-evaluator",
2121
"label": "RAG/evaluator comparison",
22-
"status": "missing",
23-
"evidence": [],
22+
"status": "present",
23+
"evidence": [
24+
"frontend/src/lib/storage/local-storage-key.test.ts"
25+
],
2426
"recommendation": "Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior."
2527
},
2628
{
@@ -42,9 +44,9 @@
4244
"label": "Harness compatibility",
4345
"status": "present",
4446
"evidence": [
45-
".agents/skills/localization-paraglide/SKILL.md",
46-
".agents/skills/localization-paraglide/agents/openai.yaml",
47-
".agents/skills/localization-paraglide/references/paraglide-formatting.md"
47+
".agents/skills/periscope/SKILL.md",
48+
".agents/skills/periscope/agents/openai.yaml",
49+
".claude/ecc-tools.json"
4850
],
4951
"recommendation": "Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces."
5052
},
@@ -53,8 +55,8 @@
5355
"label": "Security evidence",
5456
"status": "present",
5557
"evidence": [
56-
"SECURITY.md",
57-
"scripts/git/audit_attribution.sh"
58+
"scripts/git/audit_attribution.sh",
59+
"scripts/git/audit_engine.py"
5860
],
5961
"recommendation": "Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs."
6062
},
@@ -184,7 +186,10 @@
184186
".claude/homunculus/instincts/inherited/periscope-instincts.yaml",
185187
".claude/commands/database-migration.md",
186188
".claude/commands/feature-development.md",
187-
".claude/commands/refactoring.md"
189+
".claude/commands/refactoring.md",
190+
".claude/commands/add-or-update-backend-feature-with-tests.md",
191+
".claude/commands/frontend-component-update-with-i18n-and-tests.md",
192+
".claude/commands/documentation-and-blueprint-update.md"
188193
],
189194
"packageFiles": {
190195
"runtime-core": [
@@ -202,7 +207,10 @@
202207
"workflow-pack": [
203208
".claude/commands/database-migration.md",
204209
".claude/commands/feature-development.md",
205-
".claude/commands/refactoring.md"
210+
".claude/commands/refactoring.md",
211+
".claude/commands/add-or-update-backend-feature-with-tests.md",
212+
".claude/commands/frontend-component-update-with-i18n-and-tests.md",
213+
".claude/commands/documentation-and-blueprint-update.md"
206214
]
207215
},
208216
"moduleFiles": {
@@ -221,7 +229,10 @@
221229
"workflow-pack": [
222230
".claude/commands/database-migration.md",
223231
".claude/commands/feature-development.md",
224-
".claude/commands/refactoring.md"
232+
".claude/commands/refactoring.md",
233+
".claude/commands/add-or-update-backend-feature-with-tests.md",
234+
".claude/commands/frontend-component-update-with-i18n-and-tests.md",
235+
".claude/commands/documentation-and-blueprint-update.md"
225236
]
226237
},
227238
"files": [
@@ -289,20 +300,35 @@
289300
"moduleId": "workflow-pack",
290301
"path": ".claude/commands/refactoring.md",
291302
"description": "Workflow command scaffold for refactoring."
303+
},
304+
{
305+
"moduleId": "workflow-pack",
306+
"path": ".claude/commands/add-or-update-backend-feature-with-tests.md",
307+
"description": "Workflow command scaffold for add-or-update-backend-feature-with-tests."
308+
},
309+
{
310+
"moduleId": "workflow-pack",
311+
"path": ".claude/commands/frontend-component-update-with-i18n-and-tests.md",
312+
"description": "Workflow command scaffold for frontend-component-update-with-i18n-and-tests."
313+
},
314+
{
315+
"moduleId": "workflow-pack",
316+
"path": ".claude/commands/documentation-and-blueprint-update.md",
317+
"description": "Workflow command scaffold for documentation-and-blueprint-update."
292318
}
293319
],
294320
"workflows": [
295321
{
296-
"command": "database-migration",
297-
"path": ".claude/commands/database-migration.md"
322+
"command": "add-or-update-backend-feature-with-tests",
323+
"path": ".claude/commands/add-or-update-backend-feature-with-tests.md"
298324
},
299325
{
300-
"command": "feature-development",
301-
"path": ".claude/commands/feature-development.md"
326+
"command": "frontend-component-update-with-i18n-and-tests",
327+
"path": ".claude/commands/frontend-component-update-with-i18n-and-tests.md"
302328
},
303329
{
304-
"command": "refactoring",
305-
"path": ".claude/commands/refactoring.md"
330+
"command": "documentation-and-blueprint-update",
331+
"path": ".claude/commands/documentation-and-blueprint-update.md"
306332
}
307333
],
308334
"adapters": {
@@ -312,7 +338,10 @@
312338
"commandPaths": [
313339
".claude/commands/database-migration.md",
314340
".claude/commands/feature-development.md",
315-
".claude/commands/refactoring.md"
341+
".claude/commands/refactoring.md",
342+
".claude/commands/add-or-update-backend-feature-with-tests.md",
343+
".claude/commands/frontend-component-update-with-i18n-and-tests.md",
344+
".claude/commands/documentation-and-blueprint-update.md"
316345
]
317346
},
318347
"codex": {

.claude/homunculus/instincts/inherited/periscope-instincts.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Generated: 2026-07-28T14:38:14.771Z
33
# Harmonized with ECC run: 2026-07-28T01:26:19.263Z (PR #16 on merged)
44
# Additive replay from ECC run: 2026-07-28T14:39:08.509Z (PR #18)
5+
# Workflow-pack additive replay: 2026-07-29T00:00:00.000Z (PR #21 — commands only; instincts unchanged)
56
# Version: 2.0
67
# Absorbed ID aliases from the second run:
78
# - periscope-instinct-commit-format -> periscope-instinct-git-commit-format

.claude/skills/periscope/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,6 @@ and handoff notes before expanding scope.
232232
| `/database-migration` | `.claude/commands/database-migration.md` |
233233
| `/feature-development` | `.claude/commands/feature-development.md` |
234234
| `/refactoring` | `.claude/commands/refactoring.md` |
235+
| `/add-or-update-backend-feature-with-tests` | `.claude/commands/add-or-update-backend-feature-with-tests.md` |
236+
| `/frontend-component-update-with-i18n-and-tests` | `.claude/commands/frontend-component-update-with-i18n-and-tests.md` |
237+
| `/documentation-and-blueprint-update` | `.claude/commands/documentation-and-blueprint-update.md` |

0 commit comments

Comments
 (0)