Skip to content

Commit 11a985b

Browse files
Merge pull request #30 from diazMelgarejo/ecc-tools/periscope-1785310602022
2 parents b632e94 + e51123f commit 11a985b

5 files changed

Lines changed: 110 additions & 2 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: context-visualizer-ui-feature-workflow
3+
description: Workflow command scaffold for context-visualizer-ui-feature-workflow in periscope.
4+
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
5+
---
6+
7+
# /context-visualizer-ui-feature-workflow
8+
9+
Use this workflow when working on **context-visualizer-ui-feature-workflow** in `periscope`.
10+
11+
## Goal
12+
13+
Implements or migrates context visualizer UI features, including bug fixes, refactors, and kit-ui migrations.
14+
15+
## Common Files
16+
17+
- `frontend/src/lib/components/context/*.svelte`
18+
- `frontend/src/lib/components/context/*.test.ts`
19+
- `frontend/messages/*.json`
20+
- `frontend/scripts/generate-api-client.mjs`
21+
- `docs/context-session-visualizer-mvp-plan.md`
22+
- `docs/context-session-visualizer-roadmap.md`
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 Svelte components under frontend/src/lib/components/context/
34+
- Update or add related test files (*.test.ts) for those components
35+
- Update frontend/messages/*.json for i18n if needed
36+
- Update or fix docs/context-session-visualizer-*.md and docs/context-visualizer-ui-recommendation.md as needed
37+
- Update frontend/scripts/generate-api-client.mjs if API changes
38+
39+
## Notes
40+
41+
- Treat this as a scaffold, not a hard-coded script.
42+
- Update the command if the workflow evolves materially.

.claude/commands/database-migration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Database schema changes with migration files
1515
## Common Files
1616

1717
- `**/schema.*`
18+
- `migrations/*`
1819

1920
## Suggested Sequence
2021

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: database-schema-and-storage-migration
3+
description: Workflow command scaffold for database-schema-and-storage-migration in periscope.
4+
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
5+
---
6+
7+
# /database-schema-and-storage-migration
8+
9+
Use this workflow when working on **database-schema-and-storage-migration** in `periscope`.
10+
11+
## Goal
12+
13+
Adds or modifies database tables, triggers, or storage logic, including migrations and related Go code/tests.
14+
15+
## Common Files
16+
17+
- `internal/db/schema.sql`
18+
- `internal/db/*.go`
19+
- `internal/db/*_test.go`
20+
- `internal/artifact/*.go`
21+
- `internal/artifact/*_test.go`
22+
- `internal/parser/*.go`
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 internal/db/schema.sql or equivalent Go migration logic
34+
- Update or add Go files in internal/db/ (e.g., artifact_publication.go, sessions.go, usage_events.go)
35+
- Update or add related test files in internal/db/
36+
- Edit or add storage logic in internal/artifact/ or internal/parser/ as needed
37+
- Update docs/specs or plans if schema or storage design changes
38+
39+
## Notes
40+
41+
- Treat this as a scaffold, not a hard-coded script.
42+
- Update the command if the workflow evolves materially.

.claude/ecc-tools.json

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
"label": "Security evidence",
5656
"status": "present",
5757
"evidence": [
58-
"scripts/git/audit_attribution.sh",
59-
"scripts/git/audit_engine.py"
58+
"SECURITY.md"
6059
],
6160
"recommendation": "Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs."
6261
},
@@ -339,6 +338,16 @@
339338
"moduleId": "workflow-pack",
340339
"path": ".claude/commands/feature-development-with-tests-and-docs.md",
341340
"description": "Workflow command scaffold for feature-development-with-tests-and-docs."
341+
},
342+
{
343+
"moduleId": "workflow-pack",
344+
"path": ".claude/commands/context-visualizer-ui-feature-workflow.md",
345+
"description": "Workflow command scaffold for context-visualizer-ui-feature-workflow."
346+
},
347+
{
348+
"moduleId": "workflow-pack",
349+
"path": ".claude/commands/database-schema-and-storage-migration.md",
350+
"description": "Workflow command scaffold for database-schema-and-storage-migration."
342351
}
343352
],
344353
"workflows": [
@@ -365,6 +374,18 @@
365374
{
366375
"command": "feature-development-with-tests-and-docs",
367376
"path": ".claude/commands/feature-development-with-tests-and-docs.md"
377+
},
378+
{
379+
"command": "context-visualizer-ui-feature-workflow",
380+
"path": ".claude/commands/context-visualizer-ui-feature-workflow.md"
381+
},
382+
{
383+
"command": "database-schema-and-storage-migration",
384+
"path": ".claude/commands/database-schema-and-storage-migration.md"
385+
},
386+
{
387+
"command": "database-migration",
388+
"path": ".claude/commands/database-migration.md"
368389
}
369390
],
370391
"adapters": {

.codex/AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ The generated baseline enables GitHub, Context7, Exa, Memory, Playwright, and Se
3131
- `.claude/commands/add-new-parser-or-provider.md`
3232
- `.claude/commands/feature-development-with-tests-and-docs.md`
3333

34+
- `.claude/commands/context-visualizer-ui-feature-workflow.md`
35+
- `.claude/commands/database-schema-and-storage-migration.md`
3436
Use these workflow files as reusable task scaffolds when the detected repository workflows recur.
3537
Pair them with the synthesized instincts in
3638
`.claude/homunculus/instincts/inherited/periscope-instincts.yaml` and the workflow

0 commit comments

Comments
 (0)