opencastle 1.4.3 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/adapters/claude-code.d.ts.map +1 -1
- package/dist/cli/adapters/claude-code.js +1 -0
- package/dist/cli/adapters/claude-code.js.map +1 -1
- package/dist/cli/adapters/single-file-base.d.ts +8 -0
- package/dist/cli/adapters/single-file-base.d.ts.map +1 -1
- package/dist/cli/adapters/single-file-base.js +48 -22
- package/dist/cli/adapters/single-file-base.js.map +1 -1
- package/dist/cli/bootstrap-on-init.test.js +16 -5
- package/dist/cli/bootstrap-on-init.test.js.map +1 -1
- package/dist/cli/bootstrap.d.ts +17 -0
- package/dist/cli/bootstrap.d.ts.map +1 -1
- package/dist/cli/bootstrap.js +284 -312
- package/dist/cli/bootstrap.js.map +1 -1
- package/dist/cli/bootstrap.test.js +22 -16
- package/dist/cli/bootstrap.test.js.map +1 -1
- package/dist/cli/command-namespace.test.js +17 -0
- package/dist/cli/command-namespace.test.js.map +1 -1
- package/dist/cli/convoy/engine.d.ts +12 -0
- package/dist/cli/convoy/engine.d.ts.map +1 -1
- package/dist/cli/convoy/engine.git.test.js +55 -0
- package/dist/cli/convoy/engine.git.test.js.map +1 -1
- package/dist/cli/convoy/engine.js +47 -3
- package/dist/cli/convoy/engine.js.map +1 -1
- package/dist/cli/convoy/findings.d.ts +35 -0
- package/dist/cli/convoy/findings.d.ts.map +1 -0
- package/dist/cli/convoy/findings.js +100 -0
- package/dist/cli/convoy/findings.js.map +1 -0
- package/dist/cli/convoy/findings.test.d.ts +2 -0
- package/dist/cli/convoy/findings.test.d.ts.map +1 -0
- package/dist/cli/convoy/findings.test.js +75 -0
- package/dist/cli/convoy/findings.test.js.map +1 -0
- package/dist/cli/convoy/isolation.d.ts.map +1 -1
- package/dist/cli/convoy/isolation.js +2 -1
- package/dist/cli/convoy/isolation.js.map +1 -1
- package/dist/cli/convoy/worktree.d.ts +5 -0
- package/dist/cli/convoy/worktree.d.ts.map +1 -1
- package/dist/cli/convoy/worktree.js +12 -0
- package/dist/cli/convoy/worktree.js.map +1 -1
- package/dist/cli/detect.d.ts +4 -0
- package/dist/cli/detect.d.ts.map +1 -1
- package/dist/cli/detect.js +1 -1
- package/dist/cli/detect.js.map +1 -1
- package/dist/cli/docs-accuracy.test.js +34 -0
- package/dist/cli/docs-accuracy.test.js.map +1 -1
- package/dist/cli/doctor.d.ts +11 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +74 -10
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/doctor.test.js +82 -1
- package/dist/cli/doctor.test.js.map +1 -1
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +58 -53
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/init.test.js +32 -28
- package/dist/cli/init.test.js.map +1 -1
- package/dist/cli/layers.d.ts +20 -0
- package/dist/cli/layers.d.ts.map +1 -1
- package/dist/cli/layers.js +53 -1
- package/dist/cli/layers.js.map +1 -1
- package/dist/cli/layers.test.js +67 -1
- package/dist/cli/layers.test.js.map +1 -1
- package/dist/cli/lessons.d.ts +10 -0
- package/dist/cli/lessons.d.ts.map +1 -1
- package/dist/cli/lessons.js +26 -1
- package/dist/cli/lessons.js.map +1 -1
- package/dist/cli/lessons.test.js +38 -1
- package/dist/cli/lessons.test.js.map +1 -1
- package/dist/cli/log.d.ts +2 -2
- package/dist/cli/log.d.ts.map +1 -1
- package/dist/cli/log.js +1 -1
- package/dist/cli/log.js.map +1 -1
- package/dist/cli/log.test.js +1 -1
- package/dist/cli/log.test.js.map +1 -1
- package/dist/cli/managed-paths.d.ts +1 -1
- package/dist/cli/managed-paths.d.ts.map +1 -1
- package/dist/cli/managed-paths.js +0 -1
- package/dist/cli/managed-paths.js.map +1 -1
- package/dist/cli/plan.test.js +10 -8
- package/dist/cli/plan.test.js.map +1 -1
- package/dist/cli/project-facts.d.ts +103 -0
- package/dist/cli/project-facts.d.ts.map +1 -0
- package/dist/cli/project-facts.js +577 -0
- package/dist/cli/project-facts.js.map +1 -0
- package/dist/cli/project-facts.test.d.ts +2 -0
- package/dist/cli/project-facts.test.d.ts.map +1 -0
- package/dist/cli/project-facts.test.js +209 -0
- package/dist/cli/project-facts.test.js.map +1 -0
- package/dist/cli/stack-config.js +1 -1
- package/dist/cli/stack-config.js.map +1 -1
- package/dist/cli/sync-check.test.js +14 -2
- package/dist/cli/sync-check.test.js.map +1 -1
- package/dist/orchestrator/plugins/notion/config.d.ts.map +1 -1
- package/dist/orchestrator/plugins/notion/config.js +21 -17
- package/dist/orchestrator/plugins/notion/config.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/adapters/claude-code.ts +1 -0
- package/src/cli/adapters/single-file-base.ts +63 -31
- package/src/cli/bootstrap-on-init.test.ts +17 -5
- package/src/cli/bootstrap.test.ts +22 -16
- package/src/cli/bootstrap.ts +361 -373
- package/src/cli/command-namespace.test.ts +17 -0
- package/src/cli/convoy/engine.git.test.ts +59 -0
- package/src/cli/convoy/engine.ts +53 -2
- package/src/cli/convoy/findings.test.ts +86 -0
- package/src/cli/convoy/findings.ts +129 -0
- package/src/cli/convoy/isolation.ts +2 -1
- package/src/cli/convoy/worktree.ts +12 -0
- package/src/cli/detect.ts +1 -1
- package/src/cli/docs-accuracy.test.ts +42 -0
- package/src/cli/doctor.test.ts +101 -1
- package/src/cli/doctor.ts +77 -11
- package/src/cli/init.test.ts +31 -27
- package/src/cli/init.ts +62 -57
- package/src/cli/layers.test.ts +72 -1
- package/src/cli/layers.ts +52 -1
- package/src/cli/lessons.test.ts +48 -0
- package/src/cli/lessons.ts +27 -1
- package/src/cli/log.test.ts +1 -1
- package/src/cli/log.ts +2 -2
- package/src/cli/managed-paths.ts +0 -1
- package/src/cli/plan.test.ts +10 -8
- package/src/cli/project-facts.test.ts +228 -0
- package/src/cli/project-facts.ts +647 -0
- package/src/cli/stack-config.ts +1 -1
- package/src/cli/sync-check.test.ts +16 -2
- package/src/orchestrator/agent-workflows/data-pipeline.md +2 -2
- package/src/orchestrator/agent-workflows/feature-implementation.md +2 -2
- package/src/orchestrator/agent-workflows/schema-changes.md +1 -1
- package/src/orchestrator/agents/team-lead.agent.md +6 -6
- package/src/orchestrator/agents/testing-expert.agent.md +2 -2
- package/src/orchestrator/customizations/LESSONS-LEARNED.md +1 -1
- package/src/orchestrator/customizations/README.md +27 -84
- package/src/orchestrator/instructions/ai-optimization.instructions.md +6 -23
- package/src/orchestrator/instructions/general.instructions.md +22 -95
- package/src/orchestrator/plugins/astro/skills/astro-framework/SKILL.md +1 -3
- package/src/orchestrator/plugins/chrome-devtools/skills/browser-testing/SKILL.md +3 -5
- package/src/orchestrator/plugins/cloudflare/skills/cloudflare-platform/SKILL.md +2 -2
- package/src/orchestrator/plugins/contentful/skills/contentful-cms/SKILL.md +1 -1
- package/src/orchestrator/plugins/convex/skills/convex-database/SKILL.md +1 -3
- package/src/orchestrator/plugins/coolify/skills/coolify-deployment/SKILL.md +1 -1
- package/src/orchestrator/plugins/cypress/skills/cypress-testing/SKILL.md +1 -1
- package/src/orchestrator/plugins/drizzle/skills/drizzle-orm/SKILL.md +1 -1
- package/src/orchestrator/plugins/expo/skills/expo-development/SKILL.md +2 -2
- package/src/orchestrator/plugins/figma/skills/figma-design/SKILL.md +1 -3
- package/src/orchestrator/plugins/hetzner/skills/hetzner-cloud/SKILL.md +1 -1
- package/src/orchestrator/plugins/jira/skills/jira-management/SKILL.md +1 -3
- package/src/orchestrator/plugins/linear/skills/linear-task-management/SKILL.md +1 -3
- package/src/orchestrator/plugins/netlify/skills/netlify-deployment/SKILL.md +2 -2
- package/src/orchestrator/plugins/nextjs/skills/nextjs-framework/SKILL.md +13 -6
- package/src/orchestrator/plugins/notion/config.ts +21 -17
- package/src/orchestrator/plugins/notion/skills/notion-knowledge-management/SKILL.md +8 -16
- package/src/orchestrator/plugins/nx/skills/nx-workspace/SKILL.md +2 -4
- package/src/orchestrator/plugins/playwright/skills/playwright-testing/SKILL.md +1 -3
- package/src/orchestrator/plugins/prisma/skills/prisma-database/SKILL.md +1 -3
- package/src/orchestrator/plugins/resend/skills/resend-email/SKILL.md +2 -2
- package/src/orchestrator/plugins/sanity/skills/sanity-cms/SKILL.md +1 -3
- package/src/orchestrator/plugins/sentry/skills/sentry-monitoring/SKILL.md +1 -1
- package/src/orchestrator/plugins/slack/skills/slack-notifications/SKILL.md +1 -3
- package/src/orchestrator/plugins/strapi/skills/strapi-cms/SKILL.md +1 -3
- package/src/orchestrator/plugins/stripe/skills/stripe-payments/SKILL.md +4 -4
- package/src/orchestrator/plugins/supabase/skills/supabase-database/SKILL.md +3 -5
- package/src/orchestrator/plugins/teams/skills/teams-notifications/SKILL.md +1 -3
- package/src/orchestrator/plugins/trello/skills/trello-task-management/SKILL.md +1 -1
- package/src/orchestrator/plugins/turborepo/skills/turborepo-monorepo/SKILL.md +15 -88
- package/src/orchestrator/plugins/vercel/skills/vercel-deployment/SKILL.md +2 -2
- package/src/orchestrator/plugins/vitest/skills/vitest-testing/SKILL.md +17 -150
- package/src/orchestrator/prompts/assess-complexity.prompt.md +1 -0
- package/src/orchestrator/prompts/bootstrap-customizations.prompt.md +38 -238
- package/src/orchestrator/prompts/brainstorm.prompt.md +1 -1
- package/src/orchestrator/prompts/create-skill.prompt.md +13 -67
- package/src/orchestrator/prompts/fix-convoy.prompt.md +1 -0
- package/src/orchestrator/prompts/fix-prd.prompt.md +1 -0
- package/src/orchestrator/prompts/generate-prd.prompt.md +1 -0
- package/src/orchestrator/prompts/implement-feature.prompt.md +6 -6
- package/src/orchestrator/prompts/resolve-pr-comments.prompt.md +2 -2
- package/src/orchestrator/prompts/validate-convoy.prompt.md +1 -0
- package/src/orchestrator/prompts/validate-prd.prompt.md +1 -0
- package/src/orchestrator/skills/accessibility-standards/REFERENCE.md +17 -12
- package/src/orchestrator/skills/accessibility-standards/SKILL.md +1 -1
- package/src/orchestrator/skills/agent-hooks/HOOKS-REFERENCE.md +3 -5
- package/src/orchestrator/skills/agent-hooks/SKILL.md +8 -6
- package/src/orchestrator/skills/agent-memory/KNOWLEDGE-GRAPH.md +1 -1
- package/src/orchestrator/skills/agent-memory/SKILL.md +7 -16
- package/src/orchestrator/skills/api-patterns/SKILL.md +1 -1
- package/src/orchestrator/skills/code-commenting/SKILL.md +1 -1
- package/src/orchestrator/skills/context-map/REFERENCE.md +0 -2
- package/src/orchestrator/skills/context-map/SKILL.md +2 -2
- package/src/orchestrator/skills/data-engineering/REFERENCE.md +3 -9
- package/src/orchestrator/skills/data-engineering/SKILL.md +9 -16
- package/src/orchestrator/skills/decomposition/SKILL.md +1 -1
- package/src/orchestrator/skills/deployment-infrastructure/SKILL.md +4 -4
- package/src/orchestrator/skills/documentation-standards/SKILL.md +5 -3
- package/src/orchestrator/skills/fast-review/REFERENCE.md +0 -2
- package/src/orchestrator/skills/fast-review/SKILL.md +5 -5
- package/src/orchestrator/skills/frontend-design/REFERENCE.md +6 -28
- package/src/orchestrator/skills/frontend-design/SKILL.md +19 -9
- package/src/orchestrator/skills/git-workflow/SKILL.md +1 -1
- package/src/orchestrator/skills/memory-merger/SKILL.md +13 -15
- package/src/orchestrator/skills/observability-logging/SKILL.md +2 -2
- package/src/orchestrator/skills/orchestration-protocols/REFERENCE.md +5 -9
- package/src/orchestrator/skills/orchestration-protocols/SKILL.md +6 -6
- package/src/orchestrator/skills/panel-majority-vote/REFERENCE.md +1 -5
- package/src/orchestrator/skills/panel-majority-vote/SKILL.md +1 -1
- package/src/orchestrator/skills/panel-majority-vote/panel-report.template.md +0 -2
- package/src/orchestrator/skills/performance-optimization/SKILL.md +2 -2
- package/src/orchestrator/skills/project-consistency/SKILL.md +2 -2
- package/src/orchestrator/skills/project-consistency/TEMPLATES.md +0 -4
- package/src/orchestrator/skills/react-development/SKILL.md +3 -3
- package/src/orchestrator/skills/security-hardening/SKILL.md +5 -5
- package/src/orchestrator/skills/self-improvement/LESSON-CATEGORIES.md +0 -2
- package/src/orchestrator/skills/self-improvement/SKILL.md +1 -1
- package/src/orchestrator/skills/seo-patterns/SKILL.md +1 -1
- package/src/orchestrator/skills/session-checkpoints/CHECKPOINT-TEMPLATE.md +0 -2
- package/src/orchestrator/skills/session-checkpoints/SKILL.md +1 -1
- package/src/orchestrator/skills/team-lead-reference/SKILL.md +3 -3
- package/src/orchestrator/skills/technical-writing/SKILL.md +8 -13
- package/src/orchestrator/skills/testing-workflow/SKILL.md +6 -6
- package/src/orchestrator/skills/typescript-best-practices/SKILL.md +1 -1
- package/src/orchestrator/skills/unslop/SKILL.md +1 -1
- package/src/orchestrator/skills/validation-gates/REFERENCE.md +6 -31
- package/src/orchestrator/skills/validation-gates/SKILL.md +12 -26
- package/src/orchestrator/skills/writing-for-agents/SKILL.md +2 -2
- package/src/orchestrator/customizations/AGENT-EXPERTISE.md +0 -325
- package/src/orchestrator/customizations/AGENT-FAILURES.md +0 -69
- package/src/orchestrator/customizations/AGENT-PERFORMANCE.md +0 -55
- package/src/orchestrator/customizations/DISPUTES.md +0 -162
- package/src/orchestrator/customizations/KNOWLEDGE-GRAPH.md +0 -10
- package/src/orchestrator/customizations/agents/skill-matrix.md +0 -111
- package/src/orchestrator/customizations/logs/events.ndjson +0 -0
- package/src/orchestrator/customizations/project/decisions.md +0 -31
- package/src/orchestrator/customizations/project/docs-structure.md +0 -34
- package/src/orchestrator/customizations/project/roadmap.md +0 -24
- package/src/orchestrator/skills/documentation-standards/WRITING-GUIDE.md +0 -39
- package/src/orchestrator/skills/frontend-design/COMPONENTS.md +0 -113
- /package/src/orchestrator/{customizations/logs/README.md → skills/observability-logging/LOG-SCHEMA.md} +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: validation-gates
|
|
3
|
-
description: "Defines
|
|
3
|
+
description: "Defines the ten gates delegated work passes, from secret scanning and lint/test/build to blast radius, dependency audit, browser, regression and smoke tests. Use when deciding which checks a change needs, or whether work is ready to merge or deploy."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Validation Gates
|
|
7
7
|
|
|
8
|
+
The project's commands live under Key Commands in `.opencastle/project.instructions.md`; with a task runner (Nx, Turborepo), its skill has them. Every gate below runs those, never a guessed `npm run …`.
|
|
9
|
+
|
|
8
10
|
| Gate | Name | Runs When |
|
|
9
11
|
|------|------|-----------|
|
|
10
12
|
| 1 | Secret Scanning | Every delegation |
|
|
@@ -12,7 +14,7 @@ description: "Defines 10 sequential validation gates: secret scanning, lint/test
|
|
|
12
14
|
| 3 | Blast Radius Check | Every delegation |
|
|
13
15
|
| 4 | Dependency Audit | When `package.json` or lockfiles change |
|
|
14
16
|
| 5 | Fast Review | Every delegation (with auto-PASS exceptions) |
|
|
15
|
-
| 6 | Cache Clearing |
|
|
17
|
+
| 6 | Cache Clearing | Only when a stale cache is suspected |
|
|
16
18
|
| 7 | Browser Testing | UI changes |
|
|
17
19
|
| 8 | Regression Testing | Every delegation |
|
|
18
20
|
| 9 | Panel Review | High-stakes changes only |
|
|
@@ -35,15 +37,11 @@ Not a hit: obviously fake test fixtures (`sk-test-1234567890`), documentation
|
|
|
35
37
|
placeholders (`YOUR_API_KEY_HERE`), and pattern matches inside explanatory
|
|
36
38
|
comments.
|
|
37
39
|
|
|
38
|
-
Scan every diff **before** any other gate: `gitleaks
|
|
40
|
+
Scan every diff **before** any other gate: `gitleaks git --redact --log-opts="main..HEAD"` for the branch's commits, `gitleaks dir <path>` for uncommitted files (or the CI equivalent). Fail on any finding.
|
|
39
41
|
|
|
40
42
|
## Gate 2: Deterministic Checks
|
|
41
43
|
|
|
42
|
-
Run
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
npm run lint && npm test --silent && npm run build
|
|
46
|
-
```
|
|
44
|
+
Run the project's own lint (with auto-fix), test and build commands for every affected project. All must pass with zero errors.
|
|
47
45
|
|
|
48
46
|
## Gate 3: Blast Radius Check
|
|
49
47
|
|
|
@@ -70,40 +68,28 @@ Full checklist (license, duplicates, maintenance, peer deps, type coverage) with
|
|
|
70
68
|
|
|
71
69
|
## Gate 5: Fast Review
|
|
72
70
|
|
|
73
|
-
Spawn reviewer sub-agent (load **fast-review**
|
|
71
|
+
Spawn a reviewer sub-agent (load **fast-review**). Auto-PASS rules, retries and escalation: the **fast-review** Handle Verdict table.
|
|
74
72
|
|
|
75
73
|
## Gate 6: Cache Clearing
|
|
76
74
|
|
|
77
|
-
|
|
78
|
-
rm -rf node_modules/.cache .next/cache .astro/ dist/
|
|
79
|
-
```
|
|
75
|
+
Skip unless a stale cache is the suspect: the browser shows old output, or a build reports files that no longer exist. Then clear the framework cache (e.g. `.next/cache`, `node_modules/.cache`) and the project's own build output directory, named in its build config, and rebuild.
|
|
80
76
|
|
|
81
77
|
## Gate 7: Browser Testing
|
|
82
78
|
|
|
83
|
-
UI changes are verified in Chrome. Start dev server → verify ACs →
|
|
84
|
-
|
|
85
|
-
```json
|
|
86
|
-
{ "tool": "browser-testing/take_screenshot", "url": "http://localhost:3000", "viewports": ["mobile", "desktop"] }
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
Additional options: see [REFERENCE.md](REFERENCE.md).
|
|
79
|
+
UI changes are verified in Chrome with the **browser-testing** skill (Chrome DevTools MCP: `navigate_page`, `take_snapshot`, `evaluate_script` with a `function`). Start the dev server → verify ACs → every project breakpoint → at most 3 screenshots, as evidence.
|
|
90
80
|
|
|
91
81
|
## Gate 8: Regression Testing
|
|
92
82
|
|
|
93
|
-
1. Full test suite for all affected projects
|
|
83
|
+
1. Full test suite for all affected projects.
|
|
94
84
|
2. Browser-test adjacent pages (navigation, routing, back-button) — find them via `rg "href=\"/changed-path|import .*from '@/components/changed'"`.
|
|
95
85
|
3. Find consuming apps/packages via `rg "from '@/components/PriceRange'|@my-org/ui-package"`; run their tests or smoke builds.
|
|
96
86
|
|
|
97
87
|
## Gate 9: Panel Review
|
|
98
88
|
|
|
99
|
-
Load **panel-majority-vote**
|
|
89
|
+
Load **panel-majority-vote** — 3 isolated reviewers, majority (2/3) wins. Use for: the 3rd fast-review FAIL, security-sensitive changes, DB migrations.
|
|
100
90
|
|
|
101
91
|
## Gate 10: Final Smoke Test
|
|
102
92
|
|
|
103
93
|
> Runs once after ALL tasks are Done.
|
|
104
94
|
|
|
105
|
-
|
|
106
|
-
npm run build && npm test && npx playwright test
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
Full build + test from clean state → E2E browser walkthrough → cross-task integration check → responsive sweep (if UI). On failure: re-delegate specific failing integration only.
|
|
95
|
+
The project's full build and test commands, its E2E suite included, from a clean state → E2E browser walkthrough → cross-task integration check → responsive sweep (if UI). On failure: re-delegate specific failing integration only.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: writing-for-agents
|
|
3
|
-
description: "Levers for writing documents an agent
|
|
3
|
+
description: "Levers for writing documents an agent reads: context pointers, progressive disclosure, completion criteria, leading words and pruning. Use when creating or editing a skill, an agent, an instruction file, AGENTS.md or CLAUDE.md."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Writing for Agents
|
|
@@ -79,6 +79,6 @@ When skills multiply past what a human can remember, that piled-up cognitive loa
|
|
|
79
79
|
|
|
80
80
|
## How this project compiles a skill
|
|
81
81
|
|
|
82
|
-
A skill is one directory holding `SKILL.md` with `name` and `description` frontmatter. The `description` is the skill's top-level context pointer
|
|
82
|
+
A skill is one directory holding `SKILL.md` with `name` and `description` frontmatter. The `description` is the skill's top-level context pointer, always loaded, so it carries the trigger branches. Every target copies the whole directory, so companion files ship beside `SKILL.md` and are reached through the pointers `SKILL.md` gives them: what every branch needs stays in `SKILL.md`, what only some branches need can live in a companion file.
|
|
83
83
|
|
|
84
84
|
Adapted from the `writing-for-agents` skill in [mattpocock/skills](https://github.com/mattpocock/skills), MIT, copyright 2026 Matt Pocock.
|
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
# Agent Expertise Registry
|
|
2
|
-
|
|
3
|
-
Structured tracking of agent performance across sessions. Updated by the Team Lead after task completion.
|
|
4
|
-
|
|
5
|
-
> **Protocol:** See the **agent-memory** skill for update triggers, retrieval protocol, and pruning rules.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Developer
|
|
10
|
-
|
|
11
|
-
### Strong Areas
|
|
12
|
-
|
|
13
|
-
| Area | Evidence | Last Updated |
|
|
14
|
-
|------|----------|-------------|
|
|
15
|
-
| _(no entries yet)_ | | |
|
|
16
|
-
|
|
17
|
-
### Weak Areas
|
|
18
|
-
|
|
19
|
-
| Area | Evidence | Last Updated |
|
|
20
|
-
|------|----------|-------------|
|
|
21
|
-
| _(no entries yet)_ | | |
|
|
22
|
-
|
|
23
|
-
### File Familiarity
|
|
24
|
-
|
|
25
|
-
_(no entries yet)_
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## Testing Expert
|
|
30
|
-
|
|
31
|
-
### Strong Areas
|
|
32
|
-
|
|
33
|
-
| Area | Evidence | Last Updated |
|
|
34
|
-
|------|----------|-------------|
|
|
35
|
-
| _(no entries yet)_ | | |
|
|
36
|
-
|
|
37
|
-
### Weak Areas
|
|
38
|
-
|
|
39
|
-
| Area | Evidence | Last Updated |
|
|
40
|
-
|------|----------|-------------|
|
|
41
|
-
| _(no entries yet)_ | | |
|
|
42
|
-
|
|
43
|
-
### File Familiarity
|
|
44
|
-
|
|
45
|
-
_(no entries yet)_
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## Content Engineer
|
|
50
|
-
|
|
51
|
-
### Strong Areas
|
|
52
|
-
|
|
53
|
-
| Area | Evidence | Last Updated |
|
|
54
|
-
|------|----------|-------------|
|
|
55
|
-
| _(no entries yet)_ | | |
|
|
56
|
-
|
|
57
|
-
### Weak Areas
|
|
58
|
-
|
|
59
|
-
| Area | Evidence | Last Updated |
|
|
60
|
-
|------|----------|-------------|
|
|
61
|
-
| _(no entries yet)_ | | |
|
|
62
|
-
|
|
63
|
-
### File Familiarity
|
|
64
|
-
|
|
65
|
-
_(no entries yet)_
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## Data Engineer
|
|
70
|
-
|
|
71
|
-
### Strong Areas
|
|
72
|
-
|
|
73
|
-
| Area | Evidence | Last Updated |
|
|
74
|
-
|------|----------|-------------|
|
|
75
|
-
| _(no entries yet)_ | | |
|
|
76
|
-
|
|
77
|
-
### Weak Areas
|
|
78
|
-
|
|
79
|
-
| Area | Evidence | Last Updated |
|
|
80
|
-
|------|----------|-------------|
|
|
81
|
-
| _(no entries yet)_ | | |
|
|
82
|
-
|
|
83
|
-
### File Familiarity
|
|
84
|
-
|
|
85
|
-
_(no entries yet)_
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
## UI/UX Expert
|
|
90
|
-
|
|
91
|
-
### Strong Areas
|
|
92
|
-
|
|
93
|
-
| Area | Evidence | Last Updated |
|
|
94
|
-
|------|----------|-------------|
|
|
95
|
-
| _(no entries yet)_ | | |
|
|
96
|
-
|
|
97
|
-
### Weak Areas
|
|
98
|
-
|
|
99
|
-
| Area | Evidence | Last Updated |
|
|
100
|
-
|------|----------|-------------|
|
|
101
|
-
| _(no entries yet)_ | | |
|
|
102
|
-
|
|
103
|
-
### File Familiarity
|
|
104
|
-
|
|
105
|
-
_(no entries yet)_
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
## Performance Expert
|
|
110
|
-
|
|
111
|
-
### Strong Areas
|
|
112
|
-
|
|
113
|
-
| Area | Evidence | Last Updated |
|
|
114
|
-
|------|----------|-------------|
|
|
115
|
-
| _(no entries yet)_ | | |
|
|
116
|
-
|
|
117
|
-
### Weak Areas
|
|
118
|
-
|
|
119
|
-
| Area | Evidence | Last Updated |
|
|
120
|
-
|------|----------|-------------|
|
|
121
|
-
| _(no entries yet)_ | | |
|
|
122
|
-
|
|
123
|
-
### File Familiarity
|
|
124
|
-
|
|
125
|
-
_(no entries yet)_
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
|
-
## Security Expert
|
|
130
|
-
|
|
131
|
-
### Strong Areas
|
|
132
|
-
|
|
133
|
-
| Area | Evidence | Last Updated |
|
|
134
|
-
|------|----------|-------------|
|
|
135
|
-
| _(no entries yet)_ | | |
|
|
136
|
-
|
|
137
|
-
### Weak Areas
|
|
138
|
-
|
|
139
|
-
| Area | Evidence | Last Updated |
|
|
140
|
-
|------|----------|-------------|
|
|
141
|
-
| _(no entries yet)_ | | |
|
|
142
|
-
|
|
143
|
-
### File Familiarity
|
|
144
|
-
|
|
145
|
-
_(no entries yet)_
|
|
146
|
-
|
|
147
|
-
---
|
|
148
|
-
|
|
149
|
-
## Data Engineer
|
|
150
|
-
|
|
151
|
-
### Strong Areas
|
|
152
|
-
|
|
153
|
-
| Area | Evidence | Last Updated |
|
|
154
|
-
|------|----------|-------------|
|
|
155
|
-
| _(no entries yet)_ | | |
|
|
156
|
-
|
|
157
|
-
### Weak Areas
|
|
158
|
-
|
|
159
|
-
| Area | Evidence | Last Updated |
|
|
160
|
-
|------|----------|-------------|
|
|
161
|
-
| _(no entries yet)_ | | |
|
|
162
|
-
|
|
163
|
-
### File Familiarity
|
|
164
|
-
|
|
165
|
-
_(no entries yet)_
|
|
166
|
-
|
|
167
|
-
---
|
|
168
|
-
|
|
169
|
-
## DevOps Expert
|
|
170
|
-
|
|
171
|
-
### Strong Areas
|
|
172
|
-
|
|
173
|
-
| Area | Evidence | Last Updated |
|
|
174
|
-
|------|----------|-------------|
|
|
175
|
-
| _(no entries yet)_ | | |
|
|
176
|
-
|
|
177
|
-
### Weak Areas
|
|
178
|
-
|
|
179
|
-
| Area | Evidence | Last Updated |
|
|
180
|
-
|------|----------|-------------|
|
|
181
|
-
| _(no entries yet)_ | | |
|
|
182
|
-
|
|
183
|
-
### File Familiarity
|
|
184
|
-
|
|
185
|
-
_(no entries yet)_
|
|
186
|
-
|
|
187
|
-
---
|
|
188
|
-
|
|
189
|
-
## Architect
|
|
190
|
-
|
|
191
|
-
### Strong Areas
|
|
192
|
-
|
|
193
|
-
| Area | Evidence | Last Updated |
|
|
194
|
-
|------|----------|-------------|
|
|
195
|
-
| _(no entries yet)_ | | |
|
|
196
|
-
|
|
197
|
-
### Weak Areas
|
|
198
|
-
|
|
199
|
-
| Area | Evidence | Last Updated |
|
|
200
|
-
|------|----------|-------------|
|
|
201
|
-
| _(no entries yet)_ | | |
|
|
202
|
-
|
|
203
|
-
### File Familiarity
|
|
204
|
-
|
|
205
|
-
_(no entries yet)_
|
|
206
|
-
|
|
207
|
-
---
|
|
208
|
-
|
|
209
|
-
## Writer
|
|
210
|
-
|
|
211
|
-
### Strong Areas
|
|
212
|
-
|
|
213
|
-
| Area | Evidence | Last Updated |
|
|
214
|
-
|------|----------|-------------|
|
|
215
|
-
| _(no entries yet)_ | | |
|
|
216
|
-
|
|
217
|
-
### Weak Areas
|
|
218
|
-
|
|
219
|
-
| Area | Evidence | Last Updated |
|
|
220
|
-
|------|----------|-------------|
|
|
221
|
-
| _(no entries yet)_ | | |
|
|
222
|
-
|
|
223
|
-
### File Familiarity
|
|
224
|
-
|
|
225
|
-
_(no entries yet)_
|
|
226
|
-
|
|
227
|
-
---
|
|
228
|
-
|
|
229
|
-
## Researcher
|
|
230
|
-
|
|
231
|
-
### Strong Areas
|
|
232
|
-
|
|
233
|
-
| Area | Evidence | Last Updated |
|
|
234
|
-
|------|----------|-------------|
|
|
235
|
-
| _(no entries yet)_ | | |
|
|
236
|
-
|
|
237
|
-
### Weak Areas
|
|
238
|
-
|
|
239
|
-
| Area | Evidence | Last Updated |
|
|
240
|
-
|------|----------|-------------|
|
|
241
|
-
| _(no entries yet)_ | | |
|
|
242
|
-
|
|
243
|
-
### File Familiarity
|
|
244
|
-
|
|
245
|
-
_(no entries yet)_
|
|
246
|
-
|
|
247
|
-
---
|
|
248
|
-
|
|
249
|
-
## Writer
|
|
250
|
-
|
|
251
|
-
### Strong Areas
|
|
252
|
-
|
|
253
|
-
| Area | Evidence | Last Updated |
|
|
254
|
-
|------|----------|-------------|
|
|
255
|
-
| _(no entries yet)_ | | |
|
|
256
|
-
|
|
257
|
-
### Weak Areas
|
|
258
|
-
|
|
259
|
-
| Area | Evidence | Last Updated |
|
|
260
|
-
|------|----------|-------------|
|
|
261
|
-
| _(no entries yet)_ | | |
|
|
262
|
-
|
|
263
|
-
### File Familiarity
|
|
264
|
-
|
|
265
|
-
_(no entries yet)_
|
|
266
|
-
|
|
267
|
-
---
|
|
268
|
-
|
|
269
|
-
## Writer
|
|
270
|
-
|
|
271
|
-
### Strong Areas
|
|
272
|
-
|
|
273
|
-
| Area | Evidence | Last Updated |
|
|
274
|
-
|------|----------|-------------|
|
|
275
|
-
| _(no entries yet)_ | | |
|
|
276
|
-
|
|
277
|
-
### Weak Areas
|
|
278
|
-
|
|
279
|
-
| Area | Evidence | Last Updated |
|
|
280
|
-
|------|----------|-------------|
|
|
281
|
-
| _(no entries yet)_ | | |
|
|
282
|
-
|
|
283
|
-
### File Familiarity
|
|
284
|
-
|
|
285
|
-
_(no entries yet)_
|
|
286
|
-
|
|
287
|
-
---
|
|
288
|
-
|
|
289
|
-
## Developer
|
|
290
|
-
|
|
291
|
-
### Strong Areas
|
|
292
|
-
|
|
293
|
-
| Area | Evidence | Last Updated |
|
|
294
|
-
|------|----------|-------------|
|
|
295
|
-
| _(no entries yet)_ | | |
|
|
296
|
-
|
|
297
|
-
### Weak Areas
|
|
298
|
-
|
|
299
|
-
| Area | Evidence | Last Updated |
|
|
300
|
-
|------|----------|-------------|
|
|
301
|
-
| _(no entries yet)_ | | |
|
|
302
|
-
|
|
303
|
-
### File Familiarity
|
|
304
|
-
|
|
305
|
-
_(no entries yet)_
|
|
306
|
-
|
|
307
|
-
---
|
|
308
|
-
|
|
309
|
-
## DevOps & Release
|
|
310
|
-
|
|
311
|
-
### Strong Areas
|
|
312
|
-
|
|
313
|
-
| Area | Evidence | Last Updated |
|
|
314
|
-
|------|----------|-------------|
|
|
315
|
-
| _(no entries yet)_ | | |
|
|
316
|
-
|
|
317
|
-
### Weak Areas
|
|
318
|
-
|
|
319
|
-
| Area | Evidence | Last Updated |
|
|
320
|
-
|------|----------|-------------|
|
|
321
|
-
| _(no entries yet)_ | | |
|
|
322
|
-
|
|
323
|
-
### File Familiarity
|
|
324
|
-
|
|
325
|
-
_(no entries yet)_
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
````markdown
|
|
2
|
-
# Agent Failure Log (Dead Letter Queue)
|
|
3
|
-
|
|
4
|
-
Structured log of failed agent delegations for diagnosis and retry. Prevents failed work from silently disappearing.
|
|
5
|
-
|
|
6
|
-
> **Review this file at the start of each session.** Check for pending failures that need retry and patterns that indicate systemic issues.
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## How to Use This File
|
|
11
|
-
|
|
12
|
-
### When to add an entry
|
|
13
|
-
|
|
14
|
-
Add an entry when **any** of these occur:
|
|
15
|
-
|
|
16
|
-
- A delegated agent fails to complete its task after 2+ attempts
|
|
17
|
-
- A background agent produces output that fails all verification gates
|
|
18
|
-
- A panel review BLOCKs 3 times and requires escalation → **create a dispute record** in `DISPUTES.md` instead (see below)
|
|
19
|
-
- An agent encounters an unrecoverable error (e.g., MCP server down, tool unavailable)
|
|
20
|
-
|
|
21
|
-
> **Disputes vs. DLQ:** When a panel BLOCKs 3 times or agents fundamentally disagree on an approach, create a **dispute record** in `DISPUTES.md` — not a DLQ entry. Disputes package both perspectives and resolution options for human decision-making. DLQ entries are for simple failures (tool errors, timeouts, scope creep).
|
|
22
|
-
|
|
23
|
-
### Entry format
|
|
24
|
-
|
|
25
|
-
```markdown
|
|
26
|
-
### DLQ-XXX: Short description
|
|
27
|
-
|
|
28
|
-
| Field | Value |
|
|
29
|
-
|-------|-------|
|
|
30
|
-
| **Date** | YYYY-MM-DD |
|
|
31
|
-
| **Agent** | Agent name |
|
|
32
|
-
| **Tracker Issue** | PREFIX-XX (if applicable) |
|
|
33
|
-
| **Failure Type** | `verification-fail` / `tool-error` / `panel-block` / `timeout` / `scope-creep` |
|
|
34
|
-
| **Attempts** | Number of attempts before logging |
|
|
35
|
-
|
|
36
|
-
**Task:** What was the agent supposed to do?
|
|
37
|
-
|
|
38
|
-
**Failure Details:** What went wrong? Include error messages, failed checks, or panel BLOCK reasons.
|
|
39
|
-
|
|
40
|
-
**Root Cause:** Why did it fail? (if known)
|
|
41
|
-
|
|
42
|
-
**Resolution:** How was it eventually resolved? (or "pending" if unresolved)
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### Failure types
|
|
46
|
-
|
|
47
|
-
| Type | Description |
|
|
48
|
-
|------|-------------|
|
|
49
|
-
| `verification-fail` | Agent completed but output fails lint/test/build/browser checks |
|
|
50
|
-
| `tool-error` | MCP server down, tool unavailable, API error |
|
|
51
|
-
| `panel-block` | Panel review blocked 3+ times |
|
|
52
|
-
| `timeout` | Agent ran out of context or took too long |
|
|
53
|
-
| `scope-creep` | Agent modified files outside its partition or went off-task |
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
## Failures
|
|
58
|
-
|
|
59
|
-
<!-- Failures are appended here by the Team Lead during sessions.
|
|
60
|
-
Start numbering from DLQ-001. -->
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## Index
|
|
65
|
-
|
|
66
|
-
| ID | Date | Agent | Type | Status |
|
|
67
|
-
|----|------|-------|------|--------|
|
|
68
|
-
|
|
69
|
-
````
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
````markdown
|
|
2
|
-
# Agent Performance Tracking
|
|
3
|
-
|
|
4
|
-
Tracks agent success rates across panel reviews and delegated tasks to inform model routing and panel reviewer selection.
|
|
5
|
-
|
|
6
|
-
## Data Sources
|
|
7
|
-
|
|
8
|
-
Performance data is collected automatically via NDJSON session logs:
|
|
9
|
-
- **All events:** `.opencastle/logs/events.ndjson` — unified log for all event types (sessions, delegations, reviews, panels, disputes), appended via `opencastle log`
|
|
10
|
-
- **Dashboard:** Run `npx opencastle convoy dashboard` to visualize agent performance
|
|
11
|
-
|
|
12
|
-
## Quick Queries
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
# Sessions per agent
|
|
16
|
-
jq -r 'select(.type == "session") | .agent' .opencastle/logs/events.ndjson | sort | uniq -c | sort -rn
|
|
17
|
-
|
|
18
|
-
# Success rate by agent
|
|
19
|
-
jq -r 'select(.type == "session") | [.agent, .outcome] | @tsv' .opencastle/logs/events.ndjson | sort | uniq -c
|
|
20
|
-
|
|
21
|
-
# Delegation tier distribution
|
|
22
|
-
jq -r 'select(.type == "delegation") | .tier' .opencastle/logs/events.ndjson | sort | uniq -c
|
|
23
|
-
|
|
24
|
-
# Failed delegations
|
|
25
|
-
jq 'select(.type == "delegation" and .outcome == "failed")' .opencastle/logs/events.ndjson
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Panel Review Performance
|
|
29
|
-
|
|
30
|
-
Panel review data is collected automatically in `.opencastle/logs/events.ndjson` with `type: "panel"` (appended by the panel runner after each review — see step 7 in the panel majority vote skill).
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
# Total panel reviews
|
|
34
|
-
jq 'select(.type == "panel")' .opencastle/logs/events.ndjson | wc -l
|
|
35
|
-
|
|
36
|
-
# Pass vs block rate
|
|
37
|
-
jq -r 'select(.type == "panel") | .verdict' .opencastle/logs/events.ndjson | sort | uniq -c
|
|
38
|
-
|
|
39
|
-
# Reviews by panel key
|
|
40
|
-
jq -r 'select(.type == "panel") | .panel_key' .opencastle/logs/events.ndjson | sort | uniq -c | sort -rn
|
|
41
|
-
|
|
42
|
-
# Reviews that required retries (attempt > 1)
|
|
43
|
-
jq 'select(.type == "panel" and .attempt > 1)' .opencastle/logs/events.ndjson
|
|
44
|
-
|
|
45
|
-
# Average SHOULD-FIX items per review
|
|
46
|
-
jq -s '[.[] | select(.type == "panel")] | if length > 0 then (map(.should_fix) | add) / length else 0 end' .opencastle/logs/events.ndjson
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## Usage
|
|
50
|
-
|
|
51
|
-
Referenced by the **panel-majority-vote** skill for weight assignment:
|
|
52
|
-
- Agents with >80% success rate for similar reviews get a +1 weight bonus
|
|
53
|
-
- This file is the source of truth for that metric
|
|
54
|
-
|
|
55
|
-
````
|