arkaos 4.21.0 → 4.23.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/README.md +1 -1
- package/THE-ARKAOS-GUIDE.md +72 -0
- package/VERSION +1 -1
- package/arka/SKILL.md +30 -7
- package/arka/skills/bootstrap-agent/SKILL.md +3 -2
- package/arka/skills/flow/SKILL.md +3 -2
- package/arka/skills/forge/SKILL.md +3 -2
- package/arka/skills/recipes/SKILL.md +3 -2
- package/arka/skills/refine/SKILL.md +3 -2
- package/arka/skills/research/SKILL.md +3 -2
- package/bin/arka-doctor +8 -0
- package/config/claude-agents/marta-cqo.md +9 -0
- package/config/standards/{claude-md-overlays → stack-rules}/laravel.md +11 -0
- package/config/standards/{claude-md-overlays → stack-rules}/node.md +10 -1
- package/config/standards/{claude-md-overlays → stack-rules}/nuxt.md +12 -1
- package/config/standards/stack-rules/php.md +13 -0
- package/config/standards/{claude-md-overlays → stack-rules}/python.md +5 -0
- package/config/standards/stack-rules/react.md +14 -0
- package/config/standards/stack-rules/vue.md +13 -0
- package/core/cognition/evolve.py +299 -0
- package/core/cognition/evolve_cli.py +55 -0
- package/core/cognition/insights/store.py +15 -4
- package/core/forge/persistence.py +27 -9
- package/core/forge/schema.py +45 -22
- package/core/governance/evidence_checks.py +101 -9
- package/core/governance/kb_cite_check.py +16 -6
- package/core/governance/stop_lint.py +293 -0
- package/core/governance/stop_lint_telemetry.py +141 -0
- package/core/governance/tool_loop_check.py +111 -0
- package/core/hooks/stop.py +73 -22
- package/core/hooks/user_prompt_submit.py +21 -23
- package/core/runtime/pricing.py +53 -19
- package/core/synapse/engine.py +46 -16
- package/core/synapse/graph_context_layer.py +7 -2
- package/core/synapse/kb_cache.py +63 -16
- package/core/synapse/layers.py +131 -495
- package/core/synapse/layers_base.py +115 -0
- package/core/synapse/layers_kb.py +701 -0
- package/core/sync/content_syncer.py +79 -10
- package/dashboard/app/components/AgentDependencyGraph.vue +5 -5
- package/dashboard/app/components/AgentEditDrawer.vue +120 -52
- package/dashboard/app/components/AgentSuggestionsCard.vue +4 -2
- package/dashboard/app/components/ConfirmDialog.vue +2 -2
- package/dashboard/app/components/DashboardState.vue +5 -3
- package/dashboard/app/components/GlobalSearch.vue +11 -7
- package/dashboard/app/components/KeyboardShortcutsHelp.vue +8 -6
- package/dashboard/app/components/KnowledgeSourcesList.vue +13 -9
- package/dashboard/app/components/MarkdownEditor.vue +1 -1
- package/dashboard/app/components/NotificationsBell.vue +8 -4
- package/dashboard/app/components/OnboardingTour.vue +24 -11
- package/dashboard/app/components/PersonaCloneDialog.vue +15 -8
- package/dashboard/app/components/PersonaWizard.vue +105 -72
- package/dashboard/app/components/SidebarFavoritesWidget.vue +5 -5
- package/dashboard/app/components/SidebarStatsWidget.vue +3 -1
- package/dashboard/app/components/Terminal.vue +9 -8
- package/dashboard/app/components/TextDiff.vue +27 -15
- package/dashboard/app/composables/useActivityFeed.ts +3 -3
- package/dashboard/app/composables/useApi.ts +4 -2
- package/dashboard/app/composables/useConfirmDialog.ts +1 -1
- package/dashboard/app/composables/useFavorites.ts +8 -8
- package/dashboard/app/composables/useTerminalThemes.ts +13 -13
- package/dashboard/app/composables/useThemeColor.ts +7 -4
- package/dashboard/app/layouts/default.vue +7 -0
- package/dashboard/app/pages/agents/[id].vue +319 -159
- package/dashboard/app/pages/agents/compare.vue +152 -52
- package/dashboard/app/pages/agents/index.vue +68 -55
- package/dashboard/app/pages/agents/new.vue +125 -58
- package/dashboard/app/pages/audit.vue +13 -6
- package/dashboard/app/pages/budget.vue +20 -18
- package/dashboard/app/pages/commands.vue +26 -22
- package/dashboard/app/pages/departments/[dept].vue +67 -31
- package/dashboard/app/pages/departments/compare.vue +85 -27
- package/dashboard/app/pages/departments/index.vue +31 -7
- package/dashboard/app/pages/health.vue +19 -12
- package/dashboard/app/pages/knowledge/index.vue +190 -78
- package/dashboard/app/pages/models.vue +74 -28
- package/dashboard/app/pages/personas/[id].vue +322 -219
- package/dashboard/app/pages/personas/archetypes.vue +20 -6
- package/dashboard/app/pages/personas/compare-with-agent.vue +109 -39
- package/dashboard/app/pages/personas/compare.vue +196 -124
- package/dashboard/app/pages/personas/index.vue +67 -60
- package/dashboard/app/pages/personas/new.vue +1 -1
- package/dashboard/app/pages/plan-canvas.vue +630 -0
- package/dashboard/app/pages/settings.vue +1 -0
- package/dashboard/app/pages/tasks.vue +80 -38
- package/dashboard/app/pages/trash.vue +11 -9
- package/dashboard/app/pages/workflows.vue +29 -19
- package/dashboard/nuxt.config.ts +2 -1
- package/dashboard/package.json +5 -0
- package/departments/brand/SKILL.md +3 -2
- package/departments/brand/skills/archetype-finder/SKILL.md +3 -2
- package/departments/brand/skills/colors/SKILL.md +3 -2
- package/departments/brand/skills/design-system/SKILL.md +3 -2
- package/departments/brand/skills/identity-system/SKILL.md +3 -2
- package/departments/brand/skills/logo-brief/SKILL.md +3 -2
- package/departments/brand/skills/mockup-generate/SKILL.md +3 -2
- package/departments/brand/skills/naming-evaluate/SKILL.md +3 -2
- package/departments/brand/skills/positioning-statement/SKILL.md +3 -2
- package/departments/brand/skills/primal-audit/SKILL.md +3 -2
- package/departments/brand/skills/ux-audit/SKILL.md +3 -2
- package/departments/brand/skills/voice-guide/SKILL.md +3 -2
- package/departments/brand/skills/wireframe/SKILL.md +3 -2
- package/departments/community/SKILL.md +3 -2
- package/departments/community/skills/ai-community/SKILL.md +3 -2
- package/departments/community/skills/betting-setup/SKILL.md +3 -2
- package/departments/community/skills/business-model/SKILL.md +3 -2
- package/departments/community/skills/content-calendar/SKILL.md +3 -2
- package/departments/community/skills/events-plan/SKILL.md +3 -2
- package/departments/community/skills/gamification-design/SKILL.md +3 -2
- package/departments/community/skills/growth-plan/SKILL.md +3 -2
- package/departments/community/skills/metrics-track/SKILL.md +3 -2
- package/departments/community/skills/moderation/SKILL.md +3 -2
- package/departments/community/skills/monetize-plan/SKILL.md +3 -2
- package/departments/community/skills/niche-setup/SKILL.md +3 -2
- package/departments/community/skills/onboarding-flow/SKILL.md +3 -2
- package/departments/community/skills/platform-select/SKILL.md +3 -2
- package/departments/content/SKILL.md +3 -2
- package/departments/content/skills/ai-workflow/SKILL.md +3 -2
- package/departments/content/skills/analytics/SKILL.md +3 -2
- package/departments/content/skills/calendar/SKILL.md +3 -2
- package/departments/content/skills/content-system/SKILL.md +3 -2
- package/departments/content/skills/monetization-plan/SKILL.md +3 -2
- package/departments/content/skills/newsletter-write/SKILL.md +3 -2
- package/departments/content/skills/platform-optimize/SKILL.md +3 -2
- package/departments/content/skills/repurpose-plan/SKILL.md +3 -2
- package/departments/content/skills/research-compile/SKILL.md +3 -2
- package/departments/content/skills/script-structure/SKILL.md +3 -2
- package/departments/content/skills/short-form/SKILL.md +3 -2
- package/departments/content/skills/thumbnail-package/SKILL.md +3 -2
- package/departments/content/skills/trend-hunt/SKILL.md +3 -2
- package/departments/content/skills/video-produce/SKILL.md +3 -2
- package/departments/content/skills/video-setup/SKILL.md +3 -2
- package/departments/content/skills/viral-design/SKILL.md +3 -2
- package/departments/content/skills/youtube-strategy/SKILL.md +3 -2
- package/departments/dev/SKILL.md +3 -2
- package/departments/dev/skills/ai-assisted-dev/SKILL.md +3 -2
- package/departments/dev/skills/animated-website/SKILL.md +7 -0
- package/departments/dev/skills/architecture-design/SKILL.md +3 -2
- package/departments/dev/skills/code-review/SKILL.md +3 -2
- package/departments/dev/skills/db-design/SKILL.md +3 -2
- package/departments/dev/skills/ddd-model/SKILL.md +3 -2
- package/departments/dev/skills/demo-gif/SKILL.md +3 -2
- package/departments/dev/skills/deploy/SKILL.md +3 -2
- package/departments/dev/skills/devops-pipeline/SKILL.md +3 -2
- package/departments/dev/skills/docs/SKILL.md +3 -2
- package/departments/dev/skills/mcp/SKILL.md +3 -2
- package/departments/dev/skills/performance-audit/SKILL.md +3 -2
- package/departments/dev/skills/refactor-plan/SKILL.md +3 -2
- package/departments/dev/skills/research/SKILL.md +3 -2
- package/departments/dev/skills/security-compliance/SKILL.md +3 -2
- package/departments/dev/skills/stack-check/SKILL.md +3 -2
- package/departments/ecom/SKILL.md +3 -2
- package/departments/ecom/skills/analytics/SKILL.md +3 -2
- package/departments/ecom/skills/browse-competitor/SKILL.md +3 -2
- package/departments/ecom/skills/cart-recovery/SKILL.md +3 -2
- package/departments/ecom/skills/cro-optimize/SKILL.md +3 -2
- package/departments/ecom/skills/customer-journey/SKILL.md +3 -2
- package/departments/ecom/skills/fulfillment-plan/SKILL.md +3 -2
- package/departments/ecom/skills/marketplace-manage/SKILL.md +3 -2
- package/departments/ecom/skills/pricing-strategy/SKILL.md +3 -2
- package/departments/ecom/skills/product-launch/SKILL.md +3 -2
- package/departments/ecom/skills/rfm-segment/SKILL.md +3 -2
- package/departments/ecom/skills/social-commerce/SKILL.md +3 -2
- package/departments/ecom/skills/store-audit/SKILL.md +3 -2
- package/departments/ecom/skills/subscription-model/SKILL.md +3 -2
- package/departments/finance/SKILL.md +3 -2
- package/departments/finance/skills/budget-plan/SKILL.md +3 -2
- package/departments/finance/skills/cashflow-forecast/SKILL.md +3 -2
- package/departments/finance/skills/ciso-advisor/SKILL.md +3 -2
- package/departments/finance/skills/financial-model/SKILL.md +3 -2
- package/departments/finance/skills/pitch-deck/SKILL.md +3 -2
- package/departments/finance/skills/scenario-analysis/SKILL.md +3 -2
- package/departments/finance/skills/unit-economics/SKILL.md +3 -2
- package/departments/finance/skills/valuation-model/SKILL.md +3 -2
- package/departments/kb/SKILL.md +3 -2
- package/departments/kb/skills/ai-research/SKILL.md +3 -2
- package/departments/kb/skills/competitive-intel/SKILL.md +3 -2
- package/departments/kb/skills/doc-extraction/SKILL.md +100 -0
- package/departments/kb/skills/doc-redaction/SKILL.md +104 -0
- package/departments/kb/skills/knowledge-ops/SKILL.md +3 -2
- package/departments/kb/skills/knowledge-review/SKILL.md +3 -2
- package/departments/kb/skills/learn-content/SKILL.md +3 -2
- package/departments/kb/skills/moc-create/SKILL.md +3 -2
- package/departments/kb/skills/persona-build/SKILL.md +3 -2
- package/departments/kb/skills/research-plan/SKILL.md +3 -2
- package/departments/kb/skills/search-kb/SKILL.md +3 -2
- package/departments/kb/skills/source-evaluate/SKILL.md +3 -2
- package/departments/kb/skills/taxonomy-manage/SKILL.md +3 -2
- package/departments/kb/skills/write-as-persona/SKILL.md +3 -2
- package/departments/landing/SKILL.md +3 -2
- package/departments/landing/skills/ab-test/SKILL.md +3 -2
- package/departments/landing/skills/affiliate-bridge/SKILL.md +3 -2
- package/departments/landing/skills/awareness-diagnose/SKILL.md +3 -2
- package/departments/landing/skills/email-sequence/SKILL.md +3 -2
- package/departments/landing/skills/funnel-metrics/SKILL.md +3 -2
- package/departments/landing/skills/headline-write/SKILL.md +3 -2
- package/departments/landing/skills/launch-sequence/SKILL.md +3 -2
- package/departments/landing/skills/offer-create/SKILL.md +3 -2
- package/departments/landing/skills/optimize-page/SKILL.md +3 -2
- package/departments/landing/skills/page-architect/SKILL.md +3 -2
- package/departments/landing/skills/persuasion-apply/SKILL.md +3 -2
- package/departments/landing/skills/webinar-funnel/SKILL.md +3 -2
- package/departments/leadership/SKILL.md +3 -2
- package/departments/leadership/skills/change-manage/SKILL.md +3 -2
- package/departments/leadership/skills/conflict-resolve/SKILL.md +3 -2
- package/departments/leadership/skills/culture-audit/SKILL.md +3 -2
- package/departments/leadership/skills/delegation-matrix/SKILL.md +3 -2
- package/departments/leadership/skills/disc-assess/SKILL.md +3 -2
- package/departments/leadership/skills/feedback-give/SKILL.md +3 -2
- package/departments/leadership/skills/hiring-plan/SKILL.md +3 -2
- package/departments/leadership/skills/performance-review/SKILL.md +3 -2
- package/departments/marketing/SKILL.md +3 -2
- package/departments/marketing/skills/ab-test/SKILL.md +3 -2
- package/departments/marketing/skills/analytics-report/SKILL.md +3 -2
- package/departments/marketing/skills/audience-segment/SKILL.md +3 -2
- package/departments/marketing/skills/calendar-plan/SKILL.md +3 -2
- package/departments/marketing/skills/competitor-analysis/SKILL.md +3 -2
- package/departments/marketing/skills/content-audit/SKILL.md +3 -2
- package/departments/marketing/skills/email-sequence/SKILL.md +3 -2
- package/departments/marketing/skills/growth-loop/SKILL.md +3 -2
- package/departments/marketing/skills/marketing-automation/SKILL.md +3 -2
- package/departments/marketing/skills/paid-campaign/SKILL.md +3 -2
- package/departments/marketing/skills/programmatic-seo/SKILL.md +3 -2
- package/departments/marketing/skills/seo-audit/SKILL.md +3 -2
- package/departments/marketing/skills/social-strategy/SKILL.md +3 -2
- package/departments/ops/SKILL.md +3 -2
- package/departments/ops/skills/bottleneck-find/SKILL.md +3 -2
- package/departments/ops/skills/dashboard-build/SKILL.md +3 -2
- package/departments/ops/skills/gdpr-compliance/SKILL.md +3 -2
- package/departments/ops/skills/github-ops/SKILL.md +3 -2
- package/departments/ops/skills/gtd-setup/SKILL.md +3 -2
- package/departments/ops/skills/integration-design/SKILL.md +3 -2
- package/departments/ops/skills/iso27001/SKILL.md +3 -2
- package/departments/ops/skills/lean-audit/SKILL.md +3 -2
- package/departments/ops/skills/metrics-dashboard/SKILL.md +3 -2
- package/departments/ops/skills/n8n-flow/SKILL.md +3 -2
- package/departments/ops/skills/quality-management/SKILL.md +3 -2
- package/departments/ops/skills/risk-management/SKILL.md +3 -2
- package/departments/ops/skills/soc2-compliance/SKILL.md +3 -2
- package/departments/ops/skills/sop-create/SKILL.md +3 -2
- package/departments/ops/skills/terminal-ops/SKILL.md +3 -2
- package/departments/ops/skills/workflow-automate/SKILL.md +3 -2
- package/departments/ops/skills/zapier-flow/SKILL.md +3 -2
- package/departments/org/SKILL.md +3 -2
- package/departments/org/skills/compensation-plan/SKILL.md +3 -2
- package/departments/org/skills/culture-define/SKILL.md +3 -2
- package/departments/org/skills/decision-framework/SKILL.md +3 -2
- package/departments/org/skills/hiring-plan/SKILL.md +3 -2
- package/departments/org/skills/meeting-optimize/SKILL.md +3 -2
- package/departments/org/skills/onboarding-design/SKILL.md +3 -2
- package/departments/org/skills/org-design/SKILL.md +3 -2
- package/departments/org/skills/remote-setup/SKILL.md +3 -2
- package/departments/org/skills/sop-process/SKILL.md +3 -2
- package/departments/org/skills/team-assess/SKILL.md +3 -2
- package/departments/pm/SKILL.md +3 -2
- package/departments/pm/skills/backlog-groom/SKILL.md +3 -2
- package/departments/pm/skills/discovery-plan/SKILL.md +3 -2
- package/departments/pm/skills/estimate-forecast/SKILL.md +3 -2
- package/departments/pm/skills/impact-map/SKILL.md +3 -2
- package/departments/pm/skills/kanban-setup/SKILL.md +3 -2
- package/departments/pm/skills/risk-register/SKILL.md +3 -2
- package/departments/pm/skills/roadmap-build/SKILL.md +3 -2
- package/departments/pm/skills/sprint-plan/SKILL.md +3 -2
- package/departments/pm/skills/stakeholder-map/SKILL.md +3 -2
- package/departments/pm/skills/standup-run/SKILL.md +3 -2
- package/departments/pm/skills/story-write/SKILL.md +3 -2
- package/departments/saas/SKILL.md +3 -2
- package/departments/saas/skills/benchmark-compare/SKILL.md +3 -2
- package/departments/saas/skills/churn-analysis/SKILL.md +3 -2
- package/departments/saas/skills/customer-success/SKILL.md +3 -2
- package/departments/saas/skills/growth-plan/SKILL.md +3 -2
- package/departments/saas/skills/gtm-strategy/SKILL.md +3 -2
- package/departments/saas/skills/launch-execute/SKILL.md +3 -2
- package/departments/saas/skills/metrics-dashboard/SKILL.md +3 -2
- package/departments/saas/skills/micro-saas-stack/SKILL.md +3 -2
- package/departments/saas/skills/mvp-build/SKILL.md +3 -2
- package/departments/saas/skills/niche-evaluate/SKILL.md +3 -2
- package/departments/saas/skills/onboarding-optimize/SKILL.md +3 -2
- package/departments/saas/skills/plg-setup/SKILL.md +3 -2
- package/departments/saas/skills/pricing-strategy/SKILL.md +3 -2
- package/departments/saas/skills/validate-idea/SKILL.md +3 -2
- package/departments/sales/SKILL.md +3 -2
- package/departments/sales/skills/challenger-sell/SKILL.md +3 -2
- package/departments/sales/skills/deal-qualify/SKILL.md +3 -2
- package/departments/sales/skills/discovery-call/SKILL.md +3 -2
- package/departments/sales/skills/forecast-revenue/SKILL.md +3 -2
- package/departments/sales/skills/negotiate-plan/SKILL.md +3 -2
- package/departments/sales/skills/objection-handle/SKILL.md +3 -2
- package/departments/sales/skills/pipeline-manage/SKILL.md +3 -2
- package/departments/sales/skills/pricing-negotiate/SKILL.md +3 -2
- package/departments/strategy/SKILL.md +3 -2
- package/departments/strategy/skills/blue-ocean/SKILL.md +3 -2
- package/departments/strategy/skills/bmc/SKILL.md +3 -2
- package/departments/strategy/skills/board-advisor/SKILL.md +3 -2
- package/departments/strategy/skills/cto-advisor/SKILL.md +3 -2
- package/departments/strategy/skills/extract-data/SKILL.md +3 -2
- package/departments/strategy/skills/five-forces/SKILL.md +3 -2
- package/departments/strategy/skills/growth-strategy/SKILL.md +3 -2
- package/departments/strategy/skills/moat-analysis/SKILL.md +3 -2
- package/departments/strategy/skills/position/SKILL.md +3 -2
- package/departments/strategy/skills/scenario-plan/SKILL.md +3 -2
- package/installer/config-seed.js +81 -25
- package/installer/graphify.js +340 -0
- package/installer/index.js +9 -2
- package/installer/keys.js +18 -3
- package/installer/update.js +8 -1
- package/knowledge/commands-registry.json +16 -3
- package/knowledge/skills-manifest.json +27 -1
- package/mcps/registry.json +9 -9
- package/mcps/scripts/apply-mcps.sh +6 -2
- package/package.json +2 -1
- package/pyproject.toml +1 -1
- package/scripts/dashboard-api.py +336 -124
- package/scripts/guide_gen.py +139 -0
- package/scripts/migrate_skills_kb_first.py +3 -2
- package/scripts/synapse-bridge.py +9 -1
package/README.md
CHANGED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# The ArkaOS Guide
|
|
2
|
+
|
|
3
|
+
> v4.23.0 — 86 agents, 17 departments, 292 skills, 270 commands, 16 ADRs.
|
|
4
|
+
> One file, everything you need to start. Generated by `scripts/guide_gen.py` — never hand-edited.
|
|
5
|
+
|
|
6
|
+
## What it is
|
|
7
|
+
|
|
8
|
+
ArkaOS is an operating system for AI agent teams: specialized
|
|
9
|
+
departments with framework-backed agents, a constitution with a
|
|
10
|
+
Quality Gate that holds veto power, and an evidence flow where
|
|
11
|
+
gates pass on tool output read from disk — never on narration.
|
|
12
|
+
|
|
13
|
+
## Start here
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx arkaos install # detects your runtime, installs the core
|
|
17
|
+
npx arkaos doctor # canonical health check (venv, hooks,
|
|
18
|
+
# fastpath, security advisory)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Then inside your runtime: `/arka setup` (profile) and `/do <what
|
|
22
|
+
you need>` — plain language routes to the right department.
|
|
23
|
+
|
|
24
|
+
## Keep it updated (two steps)
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npx arkaos@latest update # step 1: core, hooks, CLI
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Then `/arka update` inside the runtime — step 2 syncs every
|
|
31
|
+
project (skills, MCP configs, settings, stack rules).
|
|
32
|
+
|
|
33
|
+
## Departments
|
|
34
|
+
|
|
35
|
+
Every request routes through a department squad — ArkaOS never
|
|
36
|
+
answers as a generic assistant.
|
|
37
|
+
|
|
38
|
+
| Prefix | Commands |
|
|
39
|
+
|---|---|
|
|
40
|
+
| `/arka` | 22 |
|
|
41
|
+
| `/brand` | 12 |
|
|
42
|
+
| `/community` | 14 |
|
|
43
|
+
| `/content` | 19 |
|
|
44
|
+
| `/dev` | 36 |
|
|
45
|
+
| `/do` | 1 |
|
|
46
|
+
| `/ecom` | 18 |
|
|
47
|
+
| `/fin` | 10 |
|
|
48
|
+
| `/kb` | 22 |
|
|
49
|
+
| `/landing` | 14 |
|
|
50
|
+
| `/lead` | 10 |
|
|
51
|
+
| `/mkt` | 12 |
|
|
52
|
+
| `/ops` | 24 |
|
|
53
|
+
| `/org` | 10 |
|
|
54
|
+
| `/pm` | 12 |
|
|
55
|
+
| `/saas` | 14 |
|
|
56
|
+
| `/sales` | 10 |
|
|
57
|
+
| `/strat` | 10 |
|
|
58
|
+
|
|
59
|
+
## How work ships
|
|
60
|
+
|
|
61
|
+
1. **G1 CONTEXT** — routing + grounding before anything runs.
|
|
62
|
+
2. **G2 PLAN** — explicit approval before code.
|
|
63
|
+
3. **G3 EXECUTE** — real test runs with exit codes on record.
|
|
64
|
+
4. **G4 REVIEW** — the Quality Gate (CQO + copy + tech reviewers)
|
|
65
|
+
issues a binary APPROVED/REJECTED; failing evidence can never
|
|
66
|
+
be overridden by narrative.
|
|
67
|
+
|
|
68
|
+
## Go deeper
|
|
69
|
+
|
|
70
|
+
- Wiki: https://github.com/andreagroferreira/arka-os/wiki
|
|
71
|
+
- npm: https://www.npmjs.com/package/arkaos
|
|
72
|
+
- Dashboard: `npx arkaos dashboard` (localhost:3333)
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.
|
|
1
|
+
4.23.0
|
package/arka/SKILL.md
CHANGED
|
@@ -7,25 +7,47 @@ description: >
|
|
|
7
7
|
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
## KB-First Research (
|
|
10
|
+
## KB-First Research (`always-research` SHOULD)
|
|
11
11
|
|
|
12
12
|
Canonical home of the doctrine — every skill's compact
|
|
13
|
-
`arka:kb-first-prefix` pointer references this section.
|
|
13
|
+
`arka:kb-first-prefix` pointer references this section. The Knowledge Base
|
|
14
|
+
has two co-equal faces over the same corpus: **Obsidian** (note content)
|
|
15
|
+
and **Graphify** (the knowledge graph — how concepts connect). Before any
|
|
14
16
|
external research (Context7, WebSearch, WebFetch, Firecrawl):
|
|
15
17
|
|
|
16
18
|
1. Call `mcp__obsidian__search_notes` on the query first.
|
|
17
|
-
2.
|
|
18
|
-
|
|
19
|
+
2. When Graphify is configured, also call `mcp__graphify__query_graph`
|
|
20
|
+
(or `god_nodes` / `shortest_path`) for the relationship view.
|
|
21
|
+
3. Cite relevant hits with `[[wikilinks]]` and/or graph nodes, or
|
|
22
|
+
explicitly declare a KB gap.
|
|
23
|
+
4. Only after (1)–(3) may external tools run.
|
|
24
|
+
|
|
25
|
+
**Fail-open:** Graphify runs on a per-user endpoint (home LAN, localhost,
|
|
26
|
+
or VPS — see `knowledge.graphify` config). When it is not configured or
|
|
27
|
+
not reachable, treat it as a gap and proceed with Obsidian alone; never
|
|
28
|
+
block a turn waiting on it. Obsidian remains the mandatory first step.
|
|
19
29
|
|
|
20
30
|
The Synapse L2.5 layer pre-injects top KB matches on every user prompt;
|
|
21
31
|
treat them as your default source. External research supplements the vault;
|
|
22
|
-
it does not replace it.
|
|
23
|
-
|
|
32
|
+
it does not replace it.
|
|
33
|
+
|
|
34
|
+
**Enforcement** runs on three surfaces, in the order they fire:
|
|
35
|
+
|
|
36
|
+
| Surface | Effect |
|
|
37
|
+
| --- | --- |
|
|
38
|
+
| PreToolUse gate (`core/workflow/research_gate.py`) | DENIES the tool call in the current turn on a repeat violation |
|
|
39
|
+
| Quality Gate | DOD item `kb-research-cited` (`definition_of_done.universal`) is `hard: true` — a failed hard item blocks the done marker (rule `definition-of-done-per-domain`) |
|
|
40
|
+
| Stop hook (`core/governance/kb_cite_check.py`) | SOFT — measures citation compliance and nudges the next turn, never blocks this one |
|
|
41
|
+
|
|
42
|
+
Governing rule: `always-research` (SHOULD, `config/constitution.yaml`).
|
|
43
|
+
`kb-research-cited` is a Definition-of-Done item (`hard: true`), not an
|
|
44
|
+
entry in the must/should/non-negotiable rule lists — the two are
|
|
45
|
+
complementary, not alternatives.
|
|
24
46
|
|
|
25
47
|
# ArkaOS — Main Orchestrator
|
|
26
48
|
|
|
27
49
|
> **The Operating System for AI Agent Teams**
|
|
28
|
-
> 86 agents. 17 departments.
|
|
50
|
+
> 86 agents. 17 departments. 292 skills. Multi-runtime. Dashboard. Knowledge RAG.
|
|
29
51
|
|
|
30
52
|
## ⛔ Evidence flow — 4 gates (NON-NEGOTIABLE)
|
|
31
53
|
|
|
@@ -175,6 +197,7 @@ violation (squad-routing, arka-supremacy, spec-driven, mandatory-qa).
|
|
|
175
197
|
| `/arka mcps [period]` | MCP usage — aggregates the PostToolUse MCP telemetry (`~/.arkaos/telemetry/mcp-usage.jsonl`) by day/week/month/all. Shows total calls, servers in use, top servers and top tools. Shells out to `~/.arkaos/bin/arka-py -m core.runtime.mcp_telemetry_cli <period>`. |
|
|
176
198
|
| `/arka compliance [period]` | Behavior compliance summary (PR29 v2.48.0) — aggregates stop-hook telemetry by day/week/month/all. Shows rates for the four contracts: closing marker, `[arka:meta]` tag, KB citation pass, sycophancy clean. Shells out to `~/.arkaos/bin/arka-py -m core.governance.compliance_telemetry_cli <period>`. |
|
|
177
199
|
| `/arka reorganize [--since-days N]` | Dreaming → Agent reorganizer. Aggregates recent KB pattern/anti-pattern/lesson artifacts (default last 7 days) into a markdown proposal at `~/.arkaos/reorganize-proposals/<date>.md`. **Propose-only** — never modifies agent YAMLs. Sanitizes client identifiers from titles and body excerpts; drops `tags:` field entirely to prevent project-name leaks. **Auto-fires on session start when today's proposal is missing** (PR24 v2.46.0 stale-aware trigger, 30s timeout, background). Shells out to `~/.arkaos/bin/arka-py -m core.cognition.reorganizer_cli [--since-days N] [--dry-run]`. |
|
|
200
|
+
| `/arka evolve [--min-projects N] [--min-confidence X]` | Instinct evolution. Ingests accumulated cross-project signals (`~/.arkaos/gotchas.json`) into the InsightStore as deterministic instincts (confidence in the [0.3, 0.9] band from occurrence count) and writes a markdown proposal at `~/.arkaos/evolve-proposals/<date>.md` with cross-project promotion candidates (`InsightStore.promotable`) and the strongest instincts. **Propose-only** — nothing is promoted or modified; LLM-free (Dreaming owns vault clustering). Redacts client identifiers; never renders project names. Shells out to `~/.arkaos/bin/arka-py -m core.cognition.evolve_cli [--min-projects N] [--min-confidence X] [--dry-run]`. |
|
|
178
201
|
| `/arka standup` | Daily standup (projects, priorities, blockers, updates) |
|
|
179
202
|
| `/arka monitor` | System health monitoring |
|
|
180
203
|
| `/arka onboard <path>` | Onboard an existing project into ArkaOS |
|
|
@@ -16,8 +16,9 @@ allowed-tools: [Agent, Read, Write, Bash]
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
18
|
<!-- arka:kb-first-prefix begin -->
|
|
19
|
-
> **KB-first:** query `mcp__obsidian__search_notes` and
|
|
20
|
-
> `[[wikilinks]]`
|
|
19
|
+
> **KB-first:** query `mcp__obsidian__search_notes` (and
|
|
20
|
+
> `mcp__graphify__query_graph` when configured) and cite `[[wikilinks]]`
|
|
21
|
+
> or graph nodes — or declare the gap — BEFORE any external research.
|
|
21
22
|
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
22
23
|
<!-- arka:kb-first-prefix end -->
|
|
23
24
|
|
|
@@ -18,8 +18,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
<!-- arka:kb-first-prefix begin -->
|
|
21
|
-
> **KB-first:** query `mcp__obsidian__search_notes` and
|
|
22
|
-
> `[[wikilinks]]`
|
|
21
|
+
> **KB-first:** query `mcp__obsidian__search_notes` (and
|
|
22
|
+
> `mcp__graphify__query_graph` when configured) and cite `[[wikilinks]]`
|
|
23
|
+
> or graph nodes — or declare the gap — BEFORE any external research.
|
|
23
24
|
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
24
25
|
<!-- arka:kb-first-prefix end -->
|
|
25
26
|
|
|
@@ -19,8 +19,9 @@ allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, WebFetch, WebSearch]
|
|
|
19
19
|
---
|
|
20
20
|
|
|
21
21
|
<!-- arka:kb-first-prefix begin -->
|
|
22
|
-
> **KB-first:** query `mcp__obsidian__search_notes` and
|
|
23
|
-
> `[[wikilinks]]`
|
|
22
|
+
> **KB-first:** query `mcp__obsidian__search_notes` (and
|
|
23
|
+
> `mcp__graphify__query_graph` when configured) and cite `[[wikilinks]]`
|
|
24
|
+
> or graph nodes — or declare the gap — BEFORE any external research.
|
|
24
25
|
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
25
26
|
<!-- arka:kb-first-prefix end -->
|
|
26
27
|
|
|
@@ -14,8 +14,9 @@ allowed-tools: [Read, Bash]
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
<!-- arka:kb-first-prefix begin -->
|
|
17
|
-
> **KB-first:** query `mcp__obsidian__search_notes` and
|
|
18
|
-
> `[[wikilinks]]`
|
|
17
|
+
> **KB-first:** query `mcp__obsidian__search_notes` (and
|
|
18
|
+
> `mcp__graphify__query_graph` when configured) and cite `[[wikilinks]]`
|
|
19
|
+
> or graph nodes — or declare the gap — BEFORE any external research.
|
|
19
20
|
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
20
21
|
<!-- arka:kb-first-prefix end -->
|
|
21
22
|
|
|
@@ -15,8 +15,9 @@ allowed-tools: [Read, AskUserQuestion, Skill]
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
<!-- arka:kb-first-prefix begin -->
|
|
18
|
-
> **KB-first:** query `mcp__obsidian__search_notes` and
|
|
19
|
-
> `[[wikilinks]]`
|
|
18
|
+
> **KB-first:** query `mcp__obsidian__search_notes` (and
|
|
19
|
+
> `mcp__graphify__query_graph` when configured) and cite `[[wikilinks]]`
|
|
20
|
+
> or graph nodes — or declare the gap — BEFORE any external research.
|
|
20
21
|
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
21
22
|
<!-- arka:kb-first-prefix end -->
|
|
22
23
|
|
|
@@ -17,8 +17,9 @@ allowed-tools: [Agent, Read, Write, mcp__obsidian__search_notes]
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
19
|
<!-- arka:kb-first-prefix begin -->
|
|
20
|
-
> **KB-first:** query `mcp__obsidian__search_notes` and
|
|
21
|
-
> `[[wikilinks]]`
|
|
20
|
+
> **KB-first:** query `mcp__obsidian__search_notes` (and
|
|
21
|
+
> `mcp__graphify__query_graph` when configured) and cite `[[wikilinks]]`
|
|
22
|
+
> or graph nodes — or declare the gap — BEFORE any external research.
|
|
22
23
|
> Full doctrine: `arka/SKILL.md` (KB-First Research).
|
|
23
24
|
<!-- arka:kb-first-prefix end -->
|
|
24
25
|
|
package/bin/arka-doctor
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
# ARKA OS — Doctor (Health Check System)
|
|
4
4
|
# Usage: arka doctor [--fix] [--json]
|
|
5
5
|
# 18 modular checks: fail = critical, warn = advisory
|
|
6
|
+
#
|
|
7
|
+
# SCOPE: this doctor audits the legacy v1 layout (~/.arka-os +
|
|
8
|
+
# ~/.claude/skills). The CANONICAL doctor for the engine (venv, hooks,
|
|
9
|
+
# fastpath, security advisory) is `npx arkaos doctor` — see issue #358
|
|
10
|
+
# for the consolidation/migration map.
|
|
6
11
|
# ============================================================================
|
|
7
12
|
set -euo pipefail
|
|
8
13
|
|
|
@@ -421,4 +426,7 @@ else
|
|
|
421
426
|
echo -e " ${G}All checks passed!${N} ARKA OS is healthy."
|
|
422
427
|
fi
|
|
423
428
|
echo ""
|
|
429
|
+
echo -e " ${C}Note:${N} this audits the legacy v1 layout (~/.arka-os + ~/.claude/skills)."
|
|
430
|
+
echo -e " For the engine (venv, hooks, fastpath, security advisory) run: ${C}npx arkaos doctor${N}"
|
|
431
|
+
echo ""
|
|
424
432
|
fi
|
|
@@ -41,6 +41,15 @@ evidence report, never from model size.
|
|
|
41
41
|
justification in notes; otherwise REJECTED.
|
|
42
42
|
4. Record the outcome via `core.governance.review_workflow` passing
|
|
43
43
|
`evidence_overall` — it raises on APPROVED-over-fail by design.
|
|
44
|
+
5. Record the eval label (evals ADR 2026-07-09) as your FINAL act — the
|
|
45
|
+
corpus only grows if the verdict-issuer writes it, and dispatch
|
|
46
|
+
through this agent bypasses the department SKILL's step 6: write your
|
|
47
|
+
final QGVerdict JSON to a temp file and run
|
|
48
|
+
`~/.arkaos/bin/arka-py -m core.evals.record_cli --file <f> --kind qg
|
|
49
|
+
--department <dept> --deliverable "<title>"`. It fails LOUDLY on
|
|
50
|
+
invalid JSON — if it fails, fix the JSON and re-run; never skip.
|
|
51
|
+
Every review feeds `~/.arkaos/telemetry/qg-verdicts.jsonl`, redo
|
|
52
|
+
verdicts included (a REJECTED→APPROVED pair is two labels).
|
|
44
53
|
|
|
45
54
|
## Verdict Format
|
|
46
55
|
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "app/**/*.php"
|
|
4
|
+
- "routes/**/*.php"
|
|
5
|
+
- "database/**/*.php"
|
|
6
|
+
- "config/**/*.php"
|
|
7
|
+
- "tests/**/*.php"
|
|
8
|
+
---
|
|
9
|
+
|
|
1
10
|
## Laravel Stack Conventions
|
|
2
11
|
|
|
3
12
|
- Services + Repositories pattern; no logic in controllers.
|
|
@@ -5,4 +14,6 @@
|
|
|
5
14
|
- API Resources for response shaping.
|
|
6
15
|
- Feature Tests with RefreshDatabase trait.
|
|
7
16
|
- Eloquent relationships over raw joins.
|
|
17
|
+
- Policies for authorization; never inline ability checks.
|
|
18
|
+
- Queued jobs for slow work; never block the request cycle.
|
|
8
19
|
- Conventional commits: `feat(scope): ...`, `fix(scope): ...`.
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "**/*.js"
|
|
4
|
+
- "**/*.mjs"
|
|
5
|
+
- "**/*.cjs"
|
|
6
|
+
- "**/*.ts"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Node.js / JavaScript Stack Conventions
|
|
2
10
|
|
|
3
11
|
- ESM modules (import/export); no CommonJS `require()`.
|
|
4
12
|
- Support Node and Bun runtimes when writing CLI tooling.
|
|
5
13
|
- Graceful fallbacks when optional dependencies are missing.
|
|
6
14
|
- All paths via `os.homedir()` or `path.join`; never hardcoded.
|
|
7
15
|
- No interactive prompts in headless/CI runs.
|
|
16
|
+
- Prefer built-in `node:` modules over dependencies.
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "**/*.vue"
|
|
4
|
+
- "composables/**"
|
|
5
|
+
- "pages/**"
|
|
6
|
+
- "layouts/**"
|
|
7
|
+
- "server/**"
|
|
8
|
+
- "nuxt.config.*"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Nuxt Stack Conventions
|
|
2
12
|
|
|
3
13
|
- Composition API only; no Options API.
|
|
4
14
|
- TypeScript everywhere; no plain JS Vue files.
|
|
5
15
|
- `composables/` for shared reactive logic.
|
|
6
16
|
- `useFetch`/`useAsyncData` for server-side data.
|
|
7
17
|
- `~` alias for project root imports.
|
|
18
|
+
- Server routes in `server/api/`; never fetch third parties from components.
|
|
8
19
|
- Tailwind for styling; avoid scoped styles unless necessary.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "**/*.php"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## PHP Stack Conventions
|
|
7
|
+
|
|
8
|
+
- PHP 8.2+ syntax: constructor promotion, readonly, enums, match.
|
|
9
|
+
- `declare(strict_types=1)` in every file.
|
|
10
|
+
- Typed properties, parameters, and return types everywhere.
|
|
11
|
+
- Composer autoload (PSR-4); never `require` project files by path.
|
|
12
|
+
- Exceptions over error returns; never `@` error suppression.
|
|
13
|
+
- Pint (or the project formatter) must pass before a change is done.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "**/*.tsx"
|
|
4
|
+
- "**/*.jsx"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## React / Next.js Stack Conventions
|
|
8
|
+
|
|
9
|
+
- TypeScript everywhere; no plain JSX files.
|
|
10
|
+
- Server Components by default; `"use client"` only when interaction demands it.
|
|
11
|
+
- App Router (`app/`); no new Pages Router code.
|
|
12
|
+
- shadcn/ui + Tailwind for UI primitives.
|
|
13
|
+
- Hooks for shared logic; no HOC or render-prop patterns in new code.
|
|
14
|
+
- Co-locate component, styles, and test; PascalCase component files.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "**/*.vue"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Vue Stack Conventions
|
|
7
|
+
|
|
8
|
+
- Composition API only; no Options API.
|
|
9
|
+
- `<script setup lang="ts">` in every component.
|
|
10
|
+
- Props and emits fully typed (`defineProps`/`defineEmits` generics).
|
|
11
|
+
- Shared reactive logic lives in composables, not mixins.
|
|
12
|
+
- One component per file; PascalCase filenames.
|
|
13
|
+
- v-for always keyed; no index keys on mutable lists.
|