arkaos 4.5.0 → 4.7.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/CONSTITUTION.md +30 -16
- package/VERSION +1 -1
- package/arka/SKILL.md +26 -35
- package/arka/skills/bootstrap-agent/SKILL.md +6 -0
- package/arka/skills/checkpoint/SKILL.md +1 -1
- package/arka/skills/costs/SKILL.md +14 -5
- package/arka/skills/flow/SKILL.md +29 -14
- package/arka/skills/forge/SKILL.md +19 -15
- package/arka/skills/human-writing/SKILL.md +16 -7
- package/arka/skills/research/SKILL.md +20 -7
- package/arka/templates/skill-template.md +102 -0
- package/config/claude-agents/architect.md +51 -0
- package/config/claude-agents/backend-dev.md +51 -0
- package/config/claude-agents/dba.md +51 -0
- package/config/claude-agents/devops-eng.md +51 -0
- package/config/claude-agents/eduardo-copy.md +14 -7
- package/config/claude-agents/francisca-tech.md +24 -6
- package/config/claude-agents/frontend-dev.md +51 -0
- package/config/claude-agents/marta-cqo.md +28 -8
- package/config/claude-agents/qa-eng.md +51 -0
- package/config/claude-agents/research-assistant.md +50 -0
- package/config/claude-agents/security-eng.md +51 -0
- package/config/constitution.yaml +127 -88
- package/config/hooks/session-start.ps1 +3 -1
- package/config/hooks/session-start.sh +3 -1
- package/config/hooks/user-prompt-submit-v2.sh +4 -11
- package/config/hooks/user-prompt-submit.ps1 +4 -7
- package/config/hooks/user-prompt-submit.sh +1 -1
- package/core/agents/__pycache__/behavioral_compiler.cpython-313.pyc +0 -0
- package/core/agents/behavioral_compiler.py +294 -0
- package/core/governance/__pycache__/closing_marker_check.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/closing_marker_check.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/phantom_action_check.cpython-313.pyc +0 -0
- package/core/governance/__pycache__/phantom_action_check.cpython-314.pyc +0 -0
- package/core/governance/__pycache__/qg_verdict.cpython-313.pyc +0 -0
- package/core/governance/closing_marker_check.py +2 -2
- package/core/governance/phantom_action_check.py +206 -0
- package/core/governance/qg_verdict.py +12 -0
- package/core/hooks/__pycache__/post_tool_use.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/stop.cpython-313.pyc +0 -0
- package/core/hooks/__pycache__/stop.cpython-314.pyc +0 -0
- package/core/hooks/__pycache__/user_prompt_submit.cpython-313.pyc +0 -0
- package/core/hooks/post_tool_use.py +10 -0
- package/core/hooks/stop.py +25 -0
- package/core/hooks/user_prompt_submit.py +6 -8
- package/core/knowledge/__pycache__/vector_store.cpython-312.pyc +0 -0
- package/core/runtime/__pycache__/mcp_telemetry.cpython-313.pyc +0 -0
- package/core/runtime/__pycache__/mcp_telemetry_cli.cpython-313.pyc +0 -0
- package/core/runtime/mcp_telemetry.py +184 -0
- package/core/runtime/mcp_telemetry_cli.py +62 -0
- package/core/shared/__pycache__/temp_paths.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/engine.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/engine.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/engine.cpython-314.pyc +0 -0
- package/core/synapse/__pycache__/layers.cpython-312.pyc +0 -0
- package/core/synapse/__pycache__/layers.cpython-313.pyc +0 -0
- package/core/synapse/__pycache__/layers.cpython-314.pyc +0 -0
- package/core/synapse/engine.py +4 -2
- package/core/synapse/layers.py +0 -49
- package/dashboard/package.json +1 -1
- package/departments/brand/SKILL.md +5 -13
- package/departments/brand/skills/archetype-finder/SKILL.md +3 -11
- package/departments/brand/skills/colors/SKILL.md +3 -11
- package/departments/brand/skills/design-review/SKILL.md +11 -3
- package/departments/brand/skills/design-system/SKILL.md +3 -11
- package/departments/brand/skills/identity-system/SKILL.md +3 -11
- package/departments/brand/skills/logo-brief/SKILL.md +3 -11
- package/departments/brand/skills/mockup-generate/SKILL.md +3 -11
- package/departments/brand/skills/naming-evaluate/SKILL.md +3 -11
- package/departments/brand/skills/positioning-statement/SKILL.md +3 -11
- package/departments/brand/skills/primal-audit/SKILL.md +3 -11
- package/departments/brand/skills/ux-audit/SKILL.md +3 -11
- package/departments/brand/skills/voice-guide/SKILL.md +3 -11
- package/departments/brand/skills/wireframe/SKILL.md +3 -11
- package/departments/community/SKILL.md +4 -12
- package/departments/community/skills/ai-community/SKILL.md +3 -11
- package/departments/community/skills/betting-setup/SKILL.md +3 -11
- package/departments/community/skills/business-model/SKILL.md +3 -11
- package/departments/community/skills/content-calendar/SKILL.md +3 -11
- package/departments/community/skills/events-plan/SKILL.md +3 -11
- package/departments/community/skills/gamification-design/SKILL.md +3 -11
- package/departments/community/skills/growth-plan/SKILL.md +13 -12
- package/departments/community/skills/metrics-track/SKILL.md +3 -11
- package/departments/community/skills/moderation/SKILL.md +3 -11
- package/departments/community/skills/monetize-plan/SKILL.md +3 -11
- package/departments/community/skills/niche-setup/SKILL.md +3 -11
- package/departments/community/skills/onboarding-flow/SKILL.md +3 -11
- package/departments/community/skills/platform-select/SKILL.md +3 -11
- package/departments/content/SKILL.md +4 -12
- package/departments/content/skills/ai-workflow/SKILL.md +3 -11
- package/departments/content/skills/analytics/SKILL.md +3 -11
- package/departments/content/skills/calendar/SKILL.md +3 -11
- package/departments/content/skills/content-system/SKILL.md +3 -11
- package/departments/content/skills/monetization-plan/SKILL.md +3 -11
- package/departments/content/skills/newsletter-write/SKILL.md +3 -11
- package/departments/content/skills/platform-optimize/SKILL.md +3 -11
- package/departments/content/skills/repurpose-plan/SKILL.md +3 -11
- package/departments/content/skills/script-structure/SKILL.md +3 -11
- package/departments/content/skills/short-form/SKILL.md +3 -11
- package/departments/content/skills/thumbnail-package/SKILL.md +3 -11
- package/departments/content/skills/viral-design/SKILL.md +3 -11
- package/departments/content/skills/youtube-strategy/SKILL.md +3 -11
- package/departments/dev/SKILL.md +4 -12
- package/departments/dev/agents/security-eng.yaml +1 -1
- package/departments/dev/skills/adversarial-review/SKILL.md +10 -2
- package/departments/dev/skills/ai-assisted-dev/SKILL.md +3 -11
- package/departments/dev/skills/architecture-design/SKILL.md +3 -11
- package/departments/dev/skills/clean-code-review/SKILL.md +9 -2
- package/departments/dev/skills/code-review/SKILL.md +12 -12
- package/departments/dev/skills/db-design/SKILL.md +3 -11
- package/departments/dev/skills/ddd-model/SKILL.md +3 -11
- package/departments/dev/skills/demo-gif/SKILL.md +3 -11
- package/departments/dev/skills/deploy/SKILL.md +3 -11
- package/departments/dev/skills/devops-pipeline/SKILL.md +3 -11
- package/departments/dev/skills/docs/SKILL.md +3 -11
- package/departments/dev/skills/mcp/SKILL.md +3 -11
- package/departments/dev/skills/performance-audit/SKILL.md +3 -11
- package/departments/dev/skills/refactor-plan/SKILL.md +3 -11
- package/departments/dev/skills/research/SKILL.md +16 -12
- package/departments/dev/skills/security-compliance/SKILL.md +3 -11
- package/departments/dev/skills/spec/SKILL.md +15 -10
- package/departments/dev/skills/stack-check/SKILL.md +3 -11
- package/departments/ecom/SKILL.md +4 -12
- package/departments/ecom/skills/analytics/SKILL.md +3 -11
- package/departments/ecom/skills/browse-competitor/SKILL.md +3 -11
- package/departments/ecom/skills/cart-recovery/SKILL.md +3 -11
- package/departments/ecom/skills/cro-optimize/SKILL.md +3 -11
- package/departments/ecom/skills/customer-journey/SKILL.md +3 -11
- package/departments/ecom/skills/fulfillment-plan/SKILL.md +3 -11
- package/departments/ecom/skills/marketplace-manage/SKILL.md +3 -11
- package/departments/ecom/skills/pricing-strategy/SKILL.md +3 -11
- package/departments/ecom/skills/product-launch/SKILL.md +3 -11
- package/departments/ecom/skills/rfm-segment/SKILL.md +3 -11
- package/departments/ecom/skills/social-commerce/SKILL.md +3 -11
- package/departments/ecom/skills/store-audit/SKILL.md +3 -11
- package/departments/ecom/skills/subscription-model/SKILL.md +3 -11
- package/departments/finance/SKILL.md +4 -12
- package/departments/finance/skills/budget-plan/SKILL.md +3 -11
- package/departments/finance/skills/cashflow-forecast/SKILL.md +3 -11
- package/departments/finance/skills/ciso-advisor/SKILL.md +3 -11
- package/departments/finance/skills/financial-model/SKILL.md +3 -11
- package/departments/finance/skills/pitch-deck/SKILL.md +3 -11
- package/departments/finance/skills/scenario-analysis/SKILL.md +3 -11
- package/departments/finance/skills/unit-economics/SKILL.md +3 -11
- package/departments/finance/skills/valuation-model/SKILL.md +3 -11
- package/departments/kb/SKILL.md +4 -12
- package/departments/kb/skills/ai-research/SKILL.md +3 -11
- package/departments/kb/skills/competitive-intel/SKILL.md +3 -11
- package/departments/kb/skills/knowledge-review/SKILL.md +3 -11
- package/departments/kb/skills/learn-content/SKILL.md +3 -11
- package/departments/kb/skills/moc-create/SKILL.md +3 -11
- package/departments/kb/skills/persona-build/SKILL.md +3 -11
- package/departments/kb/skills/research-plan/SKILL.md +3 -11
- package/departments/kb/skills/search-kb/SKILL.md +3 -11
- package/departments/kb/skills/source-evaluate/SKILL.md +3 -11
- package/departments/kb/skills/taxonomy-manage/SKILL.md +3 -11
- package/departments/kb/skills/write-as-persona/SKILL.md +3 -11
- package/departments/landing/SKILL.md +4 -12
- package/departments/landing/skills/ab-test/SKILL.md +3 -11
- package/departments/landing/skills/affiliate-bridge/SKILL.md +3 -11
- package/departments/landing/skills/awareness-diagnose/SKILL.md +3 -11
- package/departments/landing/skills/copy-framework/SKILL.md +1 -1
- package/departments/landing/skills/email-sequence/SKILL.md +3 -11
- package/departments/landing/skills/funnel-metrics/SKILL.md +3 -11
- package/departments/landing/skills/headline-write/SKILL.md +3 -11
- package/departments/landing/skills/launch-sequence/SKILL.md +3 -11
- package/departments/landing/skills/offer-create/SKILL.md +3 -11
- package/departments/landing/skills/optimize-page/SKILL.md +3 -11
- package/departments/landing/skills/page-architect/SKILL.md +3 -11
- package/departments/landing/skills/persuasion-apply/SKILL.md +3 -11
- package/departments/landing/skills/webinar-funnel/SKILL.md +3 -11
- package/departments/leadership/SKILL.md +4 -12
- package/departments/leadership/skills/change-manage/SKILL.md +3 -11
- package/departments/leadership/skills/conflict-resolve/SKILL.md +3 -11
- package/departments/leadership/skills/culture-audit/SKILL.md +3 -11
- package/departments/leadership/skills/delegation-matrix/SKILL.md +3 -11
- package/departments/leadership/skills/disc-assess/SKILL.md +3 -11
- package/departments/leadership/skills/feedback-give/SKILL.md +3 -11
- package/departments/leadership/skills/hiring-plan/SKILL.md +3 -11
- package/departments/leadership/skills/performance-review/SKILL.md +3 -11
- package/departments/marketing/SKILL.md +4 -12
- package/departments/marketing/skills/ab-test/SKILL.md +3 -11
- package/departments/marketing/skills/analytics-report/SKILL.md +3 -11
- package/departments/marketing/skills/audience-segment/SKILL.md +3 -11
- package/departments/marketing/skills/calendar-plan/SKILL.md +3 -11
- package/departments/marketing/skills/competitor-analysis/SKILL.md +3 -11
- package/departments/marketing/skills/content-audit/SKILL.md +3 -11
- package/departments/marketing/skills/email-sequence/SKILL.md +3 -11
- package/departments/marketing/skills/growth-loop/SKILL.md +15 -13
- package/departments/marketing/skills/marketing-automation/SKILL.md +3 -11
- package/departments/marketing/skills/paid-campaign/SKILL.md +3 -11
- package/departments/marketing/skills/programmatic-seo/SKILL.md +3 -11
- package/departments/marketing/skills/seo-audit/SKILL.md +3 -11
- package/departments/marketing/skills/social-strategy/SKILL.md +3 -11
- package/departments/ops/SKILL.md +4 -12
- package/departments/ops/skills/bottleneck-find/SKILL.md +3 -11
- package/departments/ops/skills/dashboard-build/SKILL.md +3 -11
- package/departments/ops/skills/gdpr-compliance/SKILL.md +3 -11
- package/departments/ops/skills/gtd-setup/SKILL.md +3 -11
- package/departments/ops/skills/integration-design/SKILL.md +3 -11
- package/departments/ops/skills/iso27001/SKILL.md +3 -11
- package/departments/ops/skills/lean-audit/SKILL.md +3 -11
- package/departments/ops/skills/metrics-dashboard/SKILL.md +3 -11
- package/departments/ops/skills/n8n-flow/SKILL.md +3 -11
- package/departments/ops/skills/quality-management/SKILL.md +3 -11
- package/departments/ops/skills/risk-management/SKILL.md +3 -11
- package/departments/ops/skills/soc2-compliance/SKILL.md +3 -11
- package/departments/ops/skills/sop-create/SKILL.md +3 -11
- package/departments/ops/skills/workflow-automate/SKILL.md +3 -11
- package/departments/ops/skills/zapier-flow/SKILL.md +3 -11
- package/departments/org/SKILL.md +4 -12
- package/departments/org/skills/compensation-plan/SKILL.md +3 -11
- package/departments/org/skills/culture-define/SKILL.md +3 -11
- package/departments/org/skills/decision-framework/SKILL.md +3 -11
- package/departments/org/skills/hiring-plan/SKILL.md +3 -11
- package/departments/org/skills/meeting-optimize/SKILL.md +3 -11
- package/departments/org/skills/onboarding-design/SKILL.md +3 -11
- package/departments/org/skills/org-design/SKILL.md +3 -11
- package/departments/org/skills/remote-setup/SKILL.md +3 -11
- package/departments/org/skills/sop-process/SKILL.md +3 -11
- package/departments/org/skills/team-assess/SKILL.md +3 -11
- package/departments/pm/SKILL.md +4 -12
- package/departments/pm/skills/backlog-groom/SKILL.md +3 -11
- package/departments/pm/skills/discovery-plan/SKILL.md +3 -11
- package/departments/pm/skills/estimate-forecast/SKILL.md +3 -11
- package/departments/pm/skills/impact-map/SKILL.md +3 -11
- package/departments/pm/skills/kanban-setup/SKILL.md +3 -11
- package/departments/pm/skills/risk-register/SKILL.md +3 -11
- package/departments/pm/skills/roadmap-build/SKILL.md +3 -11
- package/departments/pm/skills/sprint-plan/SKILL.md +3 -11
- package/departments/pm/skills/stakeholder-map/SKILL.md +3 -11
- package/departments/pm/skills/standup-run/SKILL.md +3 -11
- package/departments/pm/skills/story-write/SKILL.md +3 -11
- package/departments/quality/agents/copy-director.yaml +10 -4
- package/departments/saas/SKILL.md +4 -12
- package/departments/saas/skills/benchmark-compare/SKILL.md +3 -11
- package/departments/saas/skills/churn-analysis/SKILL.md +3 -11
- package/departments/saas/skills/customer-success/SKILL.md +3 -11
- package/departments/saas/skills/growth-plan/SKILL.md +13 -12
- package/departments/saas/skills/gtm-strategy/SKILL.md +3 -11
- package/departments/saas/skills/launch-execute/SKILL.md +3 -11
- package/departments/saas/skills/metrics-dashboard/SKILL.md +3 -11
- package/departments/saas/skills/micro-saas-stack/SKILL.md +3 -11
- package/departments/saas/skills/mvp-build/SKILL.md +3 -11
- package/departments/saas/skills/niche-evaluate/SKILL.md +13 -12
- package/departments/saas/skills/onboarding-optimize/SKILL.md +3 -11
- package/departments/saas/skills/plg-setup/SKILL.md +3 -11
- package/departments/saas/skills/pricing-strategy/SKILL.md +3 -11
- package/departments/saas/skills/validate-idea/SKILL.md +13 -13
- package/departments/sales/SKILL.md +4 -12
- package/departments/sales/skills/challenger-sell/SKILL.md +3 -11
- package/departments/sales/skills/deal-qualify/SKILL.md +3 -11
- package/departments/sales/skills/discovery-call/SKILL.md +3 -11
- package/departments/sales/skills/forecast-revenue/SKILL.md +3 -11
- package/departments/sales/skills/negotiate-plan/SKILL.md +3 -11
- package/departments/sales/skills/objection-handle/SKILL.md +3 -11
- package/departments/sales/skills/pipeline-manage/SKILL.md +3 -11
- package/departments/sales/skills/pricing-negotiate/SKILL.md +3 -11
- package/departments/strategy/SKILL.md +4 -12
- package/departments/strategy/skills/blue-ocean/SKILL.md +3 -11
- package/departments/strategy/skills/bmc/SKILL.md +3 -11
- package/departments/strategy/skills/board-advisor/SKILL.md +3 -11
- package/departments/strategy/skills/cto-advisor/SKILL.md +3 -11
- package/departments/strategy/skills/extract-data/SKILL.md +3 -11
- package/departments/strategy/skills/five-forces/SKILL.md +3 -11
- package/departments/strategy/skills/growth-strategy/SKILL.md +15 -14
- package/departments/strategy/skills/moat-analysis/SKILL.md +3 -11
- package/departments/strategy/skills/position/SKILL.md +3 -11
- package/departments/strategy/skills/scenario-plan/SKILL.md +3 -11
- package/package.json +1 -1
- package/pyproject.toml +1 -1
- package/scripts/__pycache__/migrate_skills_kb_first.cpython-313.pyc +0 -0
- package/scripts/migrate_skills_kb_first.py +41 -21
- package/scripts/tools/__pycache__/prompt_lint.cpython-313.pyc +0 -0
- package/scripts/tools/prompt_lint.py +276 -0
|
@@ -7,17 +7,9 @@ allowed-tools: [Read, Write, Edit, Agent, WebFetch, WebSearch]
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<!-- arka:kb-first-prefix begin -->
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
15
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
16
|
-
3. Only after (1) and (2) may external tools run.
|
|
17
|
-
|
|
18
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
19
|
-
treat them as your default source. External research supplements, it
|
|
20
|
-
does not replace the vault.
|
|
10
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
11
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
12
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
21
13
|
<!-- arka:kb-first-prefix end -->
|
|
22
14
|
|
|
23
15
|
# Viral Content Design — `/content viral <topic>`
|
|
@@ -8,17 +8,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
<!-- arka:kb-first-prefix begin -->
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
16
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
17
|
-
3. Only after (1) and (2) may external tools run.
|
|
18
|
-
|
|
19
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
20
|
-
treat them as your default source. External research supplements, it
|
|
21
|
-
does not replace the vault.
|
|
11
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
12
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
13
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
22
14
|
<!-- arka:kb-first-prefix end -->
|
|
23
15
|
|
|
24
16
|
# YouTube Strategy — `/content youtube <topic>`
|
package/departments/dev/SKILL.md
CHANGED
|
@@ -9,17 +9,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
<!-- arka:kb-first-prefix begin -->
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
17
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
18
|
-
3. Only after (1) and (2) may external tools run.
|
|
19
|
-
|
|
20
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
21
|
-
treat them as your default source. External research supplements, it
|
|
22
|
-
does not replace the vault.
|
|
12
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
13
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
14
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
23
15
|
<!-- arka:kb-first-prefix end -->
|
|
24
16
|
|
|
25
17
|
# Development Department — ArkaOS v2
|
|
@@ -121,7 +113,7 @@ Feature branches: `feature/<slug>` · `fix/<slug>` · `refactor/<slug>`
|
|
|
121
113
|
When dispatching subagent work via the Task tool, include the `model` parameter from the target agent's YAML `model:` field:
|
|
122
114
|
|
|
123
115
|
- Agent YAMLs at `departments/*/agents/*.yaml` have `model: opus | sonnet | haiku`
|
|
124
|
-
- Quality Gate dispatch
|
|
116
|
+
- Quality Gate dispatch model: constitution `quality_gate.model_policy` (single source — best-available via Model Fabric; veto is model-independent)
|
|
125
117
|
- Default to `sonnet` if the agent YAML has no `model` field
|
|
126
118
|
- Mechanical tasks (commit messages, routing, keyword extraction) use `model: haiku`
|
|
127
119
|
|
|
@@ -16,7 +16,7 @@ behavioral_dna:
|
|
|
16
16
|
type: 6
|
|
17
17
|
wing: 5
|
|
18
18
|
core_motivation: "Protecting systems and users from security threats"
|
|
19
|
-
core_fear: "A breach caused by an oversight
|
|
19
|
+
core_fear: "A breach caused by an oversight that should have been caught"
|
|
20
20
|
subtype: self-preservation
|
|
21
21
|
big_five:
|
|
22
22
|
openness: 58
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dev/adversarial-review
|
|
3
3
|
description: >
|
|
4
|
-
Adversarial code review with 3 hostile personas
|
|
5
|
-
Security Auditor
|
|
4
|
+
Adversarial code review with 3 hostile personas (Saboteur, New Hire,
|
|
5
|
+
Security Auditor) that hunts edge cases, race conditions, and abuse
|
|
6
|
+
vectors and issues a BLOCK/CONCERNS/CLEAN merge verdict. TRIGGER:
|
|
7
|
+
"/dev adversarial-review", "red team", "adversarial", "try to break
|
|
8
|
+
this", "tenta partir isto", "ataca este código", "encontra falhas",
|
|
9
|
+
"abuse cases", "threat model this diff", "refuta isto", or any diff
|
|
10
|
+
touching auth, payments, or concurrency; run AFTER implementation on
|
|
11
|
+
the real diff, never on a plan. SKIP: routine pre-merge pass on
|
|
12
|
+
ordinary changes -> dev/code-review wins; style/SOLID-only sweep ->
|
|
13
|
+
dev/clean-code-review wins; visual/brand compliance -> brand/design-review wins.
|
|
6
14
|
allowed-tools: [Read, Bash, Grep, Glob, Agent]
|
|
7
15
|
---
|
|
8
16
|
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Ai Assisted Dev — `/dev ai-dev <task>`
|
|
@@ -7,17 +7,9 @@ allowed-tools: [Read, Write, Edit, Grep, Glob, Agent, WebFetch]
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<!-- arka:kb-first-prefix begin -->
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
15
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
16
|
-
3. Only after (1) and (2) may external tools run.
|
|
17
|
-
|
|
18
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
19
|
-
treat them as your default source. External research supplements, it
|
|
20
|
-
does not replace the vault.
|
|
10
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
11
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
12
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
21
13
|
<!-- arka:kb-first-prefix end -->
|
|
22
14
|
|
|
23
15
|
# Architecture Design — `/dev architecture <system>`
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dev/clean-code-review
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
function size, nesting depth, dead code, god classes,
|
|
4
|
+
Focused Clean Code (Uncle Bob) + SOLID sweep of a file or PR — naming,
|
|
5
|
+
function size, nesting depth, dead code, god classes, dependency
|
|
6
|
+
direction — reported as BLOCKER/WARNING/NOTE with scores. TRIGGER:
|
|
7
|
+
"/dev clean-review", "clean code", "SOLID", "code smells", "god class",
|
|
8
|
+
"naming review", "refactor review", "está limpo?", "verifica SOLID",
|
|
9
|
+
"revê a qualidade do código", "isto viola SRP?". SKIP: full review that
|
|
10
|
+
must also weigh tests, security, and a merge verdict -> dev/code-review wins;
|
|
11
|
+
hunting bugs, race conditions, or attack vectors -> dev/adversarial-review wins;
|
|
12
|
+
anything visual (UI, layout, brand compliance) -> brand/design-review wins.
|
|
6
13
|
allowed-tools: [Read, Grep, Glob, Agent]
|
|
7
14
|
---
|
|
8
15
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dev/code-review
|
|
3
3
|
description: >
|
|
4
|
-
|
|
4
|
+
General code review of a file, diff, or PR against Clean Code, SOLID, test
|
|
5
|
+
coverage, and baseline security — the default pre-merge review pass in dev
|
|
6
|
+
workflows. TRIGGER: "/dev review", "code review", "review this PR/diff/file",
|
|
7
|
+
"revê o código", "faz review", "revê este PR", "análise ao código",
|
|
8
|
+
"pode fazer merge?"; run BEFORE approving any merge. SKIP: pure
|
|
9
|
+
naming/SOLID/style sweep with no test, security, or merge concern ->
|
|
10
|
+
dev/clean-code-review wins; red-team pass, "try to break it", hostile edge-case
|
|
11
|
+
or abuse-vector hunting -> dev/adversarial-review wins; visual/UI/brand review
|
|
12
|
+
(Figma, screenshots, pixels, guidelines) -> brand/design-review wins.
|
|
5
13
|
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
6
14
|
---
|
|
7
15
|
|
|
8
16
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
17
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
18
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
19
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
20
|
<!-- arka:kb-first-prefix end -->
|
|
21
21
|
|
|
22
22
|
# Code Review — `/dev review <file/pr>`
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Db Design — `/dev db <action>`
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Ddd Model — `/dev ddd <domain>`
|
|
@@ -8,17 +8,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
<!-- arka:kb-first-prefix begin -->
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
16
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
17
|
-
3. Only after (1) and (2) may external tools run.
|
|
18
|
-
|
|
19
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
20
|
-
treat them as your default source. External research supplements, it
|
|
21
|
-
does not replace the vault.
|
|
11
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
12
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
13
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
22
14
|
<!-- arka:kb-first-prefix end -->
|
|
23
15
|
|
|
24
16
|
# Demo GIF Recording — `/dev demo-gif`
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Deploy — `/dev deploy <env>`
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Devops Pipeline — `/dev pipeline <project>`
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Docs — `/dev docs`
|
|
@@ -9,17 +9,9 @@ description: >
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
<!-- arka:kb-first-prefix begin -->
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
17
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
18
|
-
3. Only after (1) and (2) may external tools run.
|
|
19
|
-
|
|
20
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
21
|
-
treat them as your default source. External research supplements, it
|
|
22
|
-
does not replace the vault.
|
|
12
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
13
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
14
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
23
15
|
<!-- arka:kb-first-prefix end -->
|
|
24
16
|
|
|
25
17
|
# MCP Management — ARKA OS Dev Department
|
|
@@ -7,17 +7,9 @@ allowed-tools: [Read, Bash, Grep, Glob, Agent, WebFetch]
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<!-- arka:kb-first-prefix begin -->
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
15
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
16
|
-
3. Only after (1) and (2) may external tools run.
|
|
17
|
-
|
|
18
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
19
|
-
treat them as your default source. External research supplements, it
|
|
20
|
-
does not replace the vault.
|
|
10
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
11
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
12
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
21
13
|
<!-- arka:kb-first-prefix end -->
|
|
22
14
|
|
|
23
15
|
# Performance Audit — `/dev performance <target>`
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Refactor Plan — `/dev refactor <scope>`
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dev/research
|
|
3
3
|
description: >
|
|
4
|
-
|
|
4
|
+
Dev-scoped technical research (Lucas, Analyst): library evaluation,
|
|
5
|
+
framework/package selection, code pattern comparison, and engineering
|
|
6
|
+
best-practice discovery via Context7 official docs + web research,
|
|
7
|
+
ending in a trade-off report with a recommendation.
|
|
8
|
+
TRIGGER: user types "/dev research", "avalia a biblioteca", "que
|
|
9
|
+
lib/framework usamos", "compara X vs Y" for code dependencies,
|
|
10
|
+
"library evaluation", "which package/ORM/framework should we use",
|
|
11
|
+
"best practice" questions about implementation choices — load BEFORE
|
|
12
|
+
adding a new dependency or committing to an architecture-relevant
|
|
13
|
+
library.
|
|
14
|
+
SKIP: general, market, or knowledge-base research whose deliverable
|
|
15
|
+
is an Obsidian KB note — arka-research (/arka research, 5-source
|
|
16
|
+
fan-out) wins; requirements definition — arka-dev-spec wins.
|
|
5
17
|
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
6
18
|
---
|
|
7
19
|
|
|
8
20
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
21
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
22
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
23
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
24
|
<!-- arka:kb-first-prefix end -->
|
|
21
25
|
|
|
22
26
|
# Research — `/dev research <topic>`
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Security Compliance — `/dev security-compliance`
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: arka-dev-spec
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
and test scenarios.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
Spec-driven development gate, constitution MUST rule spec-driven (Constitution #7 — no code
|
|
5
|
+
without an approved spec): creates, validates, and manages feature
|
|
6
|
+
specifications with the Living Specs engine (core/specs/), covering scope,
|
|
7
|
+
acceptance criteria, data model, API contracts, UI/UX requirements, edge
|
|
8
|
+
cases, and test scenarios. TRIGGER: "spec", "specification",
|
|
9
|
+
"requirements", "requisitos", "define feature", "write spec", "escreve a
|
|
10
|
+
spec", "critérios de aceitação", "describe what to build", "/dev spec";
|
|
11
|
+
auto-invoked as Phase 0 of every code-modifying dev workflow (/dev
|
|
12
|
+
feature, /dev api, /dev db, code-modifying /dev do) — load BEFORE writing
|
|
13
|
+
any code. SKIP: multi-agent planning, complexity escalation, or "how do
|
|
14
|
+
we execute this" -> /arka-forge (the Forge plans the WORK; spec defines
|
|
15
|
+
the WHAT — requirements and acceptance criteria); reviewing existing code
|
|
16
|
+
-> dev/code-review; /dev debug and /dev refactor operate on existing code
|
|
17
|
+
and need no new spec.
|
|
13
18
|
---
|
|
14
19
|
|
|
15
20
|
# Spec-Driven Development — ARKA OS Dev Department
|
|
16
21
|
|
|
17
|
-
No code is written until a detailed spec exists and is approved. **
|
|
22
|
+
No code is written until a detailed spec exists and is approved. **Constitution MUST rule spec-driven (#7).**
|
|
18
23
|
|
|
19
24
|
## Commands
|
|
20
25
|
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Stack Check — `/dev stack-check`
|
|
@@ -7,17 +7,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<!-- arka:kb-first-prefix begin -->
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
15
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
16
|
-
3. Only after (1) and (2) may external tools run.
|
|
17
|
-
|
|
18
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
19
|
-
treat them as your default source. External research supplements, it
|
|
20
|
-
does not replace the vault.
|
|
10
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
11
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
12
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
21
13
|
<!-- arka:kb-first-prefix end -->
|
|
22
14
|
|
|
23
15
|
# E-Commerce — ArkaOS v2
|
|
@@ -57,7 +49,7 @@ does not replace the vault.
|
|
|
57
49
|
When dispatching subagent work via the Task tool, include the `model` parameter from the target agent's YAML `model:` field:
|
|
58
50
|
|
|
59
51
|
- Agent YAMLs at `departments/*/agents/*.yaml` have `model: opus | sonnet | haiku`
|
|
60
|
-
- Quality Gate dispatch
|
|
52
|
+
- Quality Gate dispatch model: constitution `quality_gate.model_policy` (single source — best-available via Model Fabric; veto is model-independent)
|
|
61
53
|
- Default to `sonnet` if the agent YAML has no `model` field
|
|
62
54
|
- Mechanical tasks (commit messages, routing, keyword extraction) use `model: haiku`
|
|
63
55
|
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Analytics — `/ecom analytics`
|
|
@@ -8,17 +8,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
<!-- arka:kb-first-prefix begin -->
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
16
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
17
|
-
3. Only after (1) and (2) may external tools run.
|
|
18
|
-
|
|
19
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
20
|
-
treat them as your default source. External research supplements, it
|
|
21
|
-
does not replace the vault.
|
|
11
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
12
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
13
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
22
14
|
<!-- arka:kb-first-prefix end -->
|
|
23
15
|
|
|
24
16
|
# Browse Competitor — `/ecom browse-competitor`
|
|
@@ -6,17 +6,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- arka:kb-first-prefix begin -->
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
14
|
-
2. Cite relevant hits with `[[wikilinks]]` or explicitly declare a KB gap.
|
|
15
|
-
3. Only after (1) and (2) may external tools run.
|
|
16
|
-
|
|
17
|
-
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
18
|
-
treat them as your default source. External research supplements, it
|
|
19
|
-
does not replace the vault.
|
|
9
|
+
> **KB-first:** query `mcp__obsidian__search_notes` and cite
|
|
10
|
+
> `[[wikilinks]]` — or declare the gap — BEFORE any external research.
|
|
11
|
+
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
12
|
<!-- arka:kb-first-prefix end -->
|
|
21
13
|
|
|
22
14
|
# Cart Recovery — `/ecom cart-recovery`
|