arkaos 2.15.0 → 2.16.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.
Files changed (156) hide show
  1. package/VERSION +1 -1
  2. package/arka/SKILL.md +13 -0
  3. package/arka/skills/comfyui/SKILL.md +82 -0
  4. package/arka/skills/comfyui/references/squads.md +80 -0
  5. package/arka/skills/comfyui/references/workflows.md +435 -0
  6. package/arka/skills/forge/SKILL.md +35 -599
  7. package/arka/skills/forge/references/complexity-engine.md +77 -0
  8. package/arka/skills/forge/references/critic-synthesis.md +154 -0
  9. package/arka/skills/forge/references/workflows.md +408 -0
  10. package/arka/skills/fovory/SKILL.md +91 -0
  11. package/arka/skills/fovory/references/integration.md +186 -0
  12. package/arka/skills/fovory/references/workflows.md +209 -0
  13. package/arka/skills/platform-arka/SKILL.md +121 -0
  14. package/arka/skills/platform-arka/references/workflows.md +202 -0
  15. package/arka/skills/rothbard100/SKILL.md +113 -0
  16. package/arka/skills/rothbard100/references/squad.md +111 -0
  17. package/arka/skills/rothbard100/references/workflows.md +175 -0
  18. package/config/constitution.yaml +8 -0
  19. package/config/hooks/pre-compact.sh +11 -5
  20. package/config/hooks/session-start.sh +4 -5
  21. package/config/hooks/token-hygiene.sh +120 -0
  22. package/config/hooks/user-prompt-submit.sh +28 -10
  23. package/core/agents/__pycache__/schema.cpython-313.pyc +0 -0
  24. package/core/agents/schema.py +20 -1
  25. package/core/synapse/__pycache__/layers.cpython-313.pyc +0 -0
  26. package/core/synapse/layers.py +7 -0
  27. package/core/workflow/__pycache__/schema.cpython-313.pyc +0 -0
  28. package/core/workflow/schema.py +4 -1
  29. package/departments/brand/SKILL.md +13 -0
  30. package/departments/brand/agents/brand-director.yaml +1 -0
  31. package/departments/brand/agents/brand-strategist.yaml +1 -0
  32. package/departments/brand/agents/ux-designer.yaml +1 -0
  33. package/departments/brand/agents/visual-designer.yaml +1 -0
  34. package/departments/brand/workflows/identity.yaml +1 -0
  35. package/departments/brand/workflows/naming.yaml +1 -0
  36. package/departments/community/SKILL.md +13 -0
  37. package/departments/community/agents/community-manager.yaml +1 -0
  38. package/departments/community/agents/community-strategist.yaml +1 -0
  39. package/departments/community/agents/engagement-designer.yaml +1 -0
  40. package/departments/community/workflows/setup.yaml +1 -0
  41. package/departments/content/SKILL.md +13 -0
  42. package/departments/content/agents/content-strategist.yaml +1 -0
  43. package/departments/content/agents/repurpose-distributor.yaml +1 -0
  44. package/departments/content/agents/scriptwriter.yaml +1 -0
  45. package/departments/content/agents/viral-engineer.yaml +1 -0
  46. package/departments/content/workflows/viral.yaml +1 -0
  47. package/departments/dev/SKILL.md +13 -0
  48. package/departments/dev/agents/architect.yaml +1 -0
  49. package/departments/dev/agents/backend-dev.yaml +1 -0
  50. package/departments/dev/agents/cto.yaml +1 -0
  51. package/departments/dev/agents/dba.yaml +1 -0
  52. package/departments/dev/agents/devops-eng.yaml +1 -0
  53. package/departments/dev/agents/frontend-dev.yaml +1 -0
  54. package/departments/dev/agents/qa-eng.yaml +1 -0
  55. package/departments/dev/agents/research-assistant.yaml +1 -0
  56. package/departments/dev/agents/security-eng.yaml +1 -0
  57. package/departments/dev/agents/tech-lead.yaml +1 -0
  58. package/departments/dev/skills/onboard/SKILL.md +21 -353
  59. package/departments/dev/skills/onboard/references/mcp-config.md +284 -0
  60. package/departments/dev/skills/onboard/references/stack-detection.md +83 -0
  61. package/departments/dev/workflows/debug.yaml +1 -0
  62. package/departments/dev/workflows/feature.yaml +3 -0
  63. package/departments/dev/workflows/refactor.yaml +1 -0
  64. package/departments/ecom/SKILL.md +13 -0
  65. package/departments/ecom/agents/commerce-engineer.yaml +1 -0
  66. package/departments/ecom/agents/cro-specialist.yaml +1 -0
  67. package/departments/ecom/agents/ecom-director.yaml +1 -0
  68. package/departments/ecom/agents/retention-manager.yaml +1 -0
  69. package/departments/ecom/skills/ecommerce/SKILL.md +66 -0
  70. package/departments/ecom/skills/ecommerce/references/audit-flow.md +109 -0
  71. package/departments/ecom/skills/ecommerce/references/playbooks.md +141 -0
  72. package/departments/ecom/workflows/product-page.yaml +1 -0
  73. package/departments/finance/SKILL.md +13 -0
  74. package/departments/finance/agents/cfo.yaml +1 -0
  75. package/departments/finance/agents/financial-analyst.yaml +1 -0
  76. package/departments/finance/agents/investment-strategist.yaml +1 -0
  77. package/departments/finance/workflows/cashflow.yaml +1 -0
  78. package/departments/finance/workflows/model.yaml +1 -0
  79. package/departments/kb/SKILL.md +13 -0
  80. package/departments/kb/agents/data-collector.yaml +1 -0
  81. package/departments/kb/agents/knowledge-curator.yaml +1 -0
  82. package/departments/kb/agents/knowledge-director.yaml +1 -0
  83. package/departments/kb/agents/research-analyst.yaml +1 -0
  84. package/departments/kb/skills/knowledge/SKILL.md +94 -0
  85. package/departments/kb/skills/knowledge/references/async-processing.md +89 -0
  86. package/departments/kb/skills/knowledge/references/ingestion-pipeline.md +308 -0
  87. package/departments/kb/skills/knowledge/scripts/kb-check-capabilities.sh +143 -0
  88. package/departments/kb/skills/knowledge/scripts/kb-cleanup.sh +135 -0
  89. package/departments/kb/skills/knowledge/scripts/kb-queue.sh +156 -0
  90. package/departments/kb/skills/knowledge/scripts/kb-status.sh +195 -0
  91. package/departments/kb/skills/knowledge/scripts/kb-worker.sh +217 -0
  92. package/departments/kb/workflows/learn.yaml +1 -0
  93. package/departments/landing/SKILL.md +13 -0
  94. package/departments/landing/agents/affiliate-manager.yaml +1 -0
  95. package/departments/landing/agents/conversion-strategist.yaml +1 -0
  96. package/departments/landing/agents/cro-specialist.yaml +1 -0
  97. package/departments/landing/agents/sales-copywriter.yaml +1 -0
  98. package/departments/landing/workflows/launch.yaml +1 -0
  99. package/departments/landing/workflows/offer.yaml +3 -0
  100. package/departments/leadership/SKILL.md +13 -0
  101. package/departments/leadership/agents/culture-coach.yaml +1 -0
  102. package/departments/leadership/agents/hr-specialist.yaml +1 -0
  103. package/departments/leadership/agents/leadership-director.yaml +1 -0
  104. package/departments/leadership/workflows/team-build.yaml +1 -0
  105. package/departments/marketing/SKILL.md +13 -0
  106. package/departments/marketing/agents/content-marketer.yaml +1 -0
  107. package/departments/marketing/agents/marketing-director.yaml +1 -0
  108. package/departments/marketing/agents/paid-specialist.yaml +1 -0
  109. package/departments/marketing/agents/seo-specialist.yaml +1 -0
  110. package/departments/marketing/workflows/campaign.yaml +1 -0
  111. package/departments/marketing/workflows/social.yaml +1 -0
  112. package/departments/ops/SKILL.md +13 -0
  113. package/departments/ops/agents/automation-engineer.yaml +1 -0
  114. package/departments/ops/agents/doc-writer.yaml +1 -0
  115. package/departments/ops/agents/ops-lead.yaml +1 -0
  116. package/departments/ops/skills/operations/SKILL.md +83 -0
  117. package/departments/ops/skills/operations/references/calendar-email.md +73 -0
  118. package/departments/ops/skills/operations/references/clickup-ops.md +224 -0
  119. package/departments/ops/skills/update/SKILL.md +19 -45
  120. package/departments/ops/skills/update/references/sync-engine.md +93 -0
  121. package/departments/ops/skills/update/references/workflows.md +84 -0
  122. package/departments/ops/workflows/lean-audit.yaml +1 -0
  123. package/departments/org/SKILL.md +13 -0
  124. package/departments/org/agents/coo.yaml +1 -0
  125. package/departments/org/agents/org-designer.yaml +1 -0
  126. package/departments/org/agents/people-ops.yaml +1 -0
  127. package/departments/org/workflows/design.yaml +2 -0
  128. package/departments/pm/SKILL.md +13 -0
  129. package/departments/pm/agents/pm-director.yaml +1 -0
  130. package/departments/pm/agents/product-owner.yaml +1 -0
  131. package/departments/pm/agents/scrum-master.yaml +1 -0
  132. package/departments/quality/SKILL.md +13 -0
  133. package/departments/quality/agents/copy-director.yaml +1 -0
  134. package/departments/quality/agents/cqo.yaml +1 -0
  135. package/departments/quality/agents/tech-director.yaml +1 -0
  136. package/departments/saas/SKILL.md +13 -0
  137. package/departments/saas/agents/cs-manager.yaml +1 -0
  138. package/departments/saas/agents/growth-engineer.yaml +1 -0
  139. package/departments/saas/agents/metrics-analyst.yaml +1 -0
  140. package/departments/saas/agents/saas-strategist.yaml +1 -0
  141. package/departments/saas/workflows/metrics.yaml +1 -0
  142. package/departments/saas/workflows/validate.yaml +1 -0
  143. package/departments/sales/SKILL.md +13 -0
  144. package/departments/sales/agents/sales-closer.yaml +1 -0
  145. package/departments/sales/agents/sales-director.yaml +1 -0
  146. package/departments/sales/agents/sales-ops.yaml +1 -0
  147. package/departments/sales/workflows/pipeline.yaml +1 -0
  148. package/departments/strategy/SKILL.md +13 -0
  149. package/departments/strategy/agents/business-model-designer.yaml +1 -0
  150. package/departments/strategy/agents/market-analyst.yaml +1 -0
  151. package/departments/strategy/agents/strategy-director.yaml +1 -0
  152. package/departments/strategy/workflows/analysis.yaml +1 -0
  153. package/departments/strategy/workflows/swot.yaml +1 -0
  154. package/installer/index.js +19 -0
  155. package/package.json +1 -1
  156. package/pyproject.toml +1 -1
@@ -0,0 +1,202 @@
1
+ # arka-platform-arka — Full Orchestration Workflows
2
+
3
+ Referenced from SKILL.md. Read only when executing the relevant flow.
4
+
5
+ ## Standard Flow (feature, fix, docs)
6
+
7
+ ```
8
+ 1. Context Loading
9
+ - Read CLAUDE.md, VERSION, package.json, pyproject.toml
10
+ - Load recent git history (git log --oneline -20)
11
+ - Check current test status (pytest --tb=no -q)
12
+
13
+ 2. Analysis & Planning
14
+ - Product Owner assesses scope and priority
15
+ - Skill Architect identifies affected areas (core/installer/dashboard/skills)
16
+ - Assign appropriate engineer(s) based on affected layers
17
+
18
+ 3. Plan Presentation & Approval
19
+ - Present plan: affected files, squad roles, scope estimate
20
+ - User approves before any code execution
21
+
22
+ 4. Execution
23
+ - Features/evolve: branch (feature/* or evolve/*) + worktree isolation
24
+ - Hotfixes/patches: direct on master
25
+ - Squad agents execute in their domain
26
+ - QA Engineer runs tests after changes
27
+
28
+ 5. Quality Gate
29
+ - Marta (CQO) orchestrates review
30
+ - Eduardo (Copy) reviews all text output
31
+ - Francisca (Tech) reviews all code
32
+ - APPROVED or REJECTED — no exceptions
33
+
34
+ 6. Documentation
35
+ - Update Obsidian at WizardingCode Internal/ArkaOS/
36
+ ```
37
+
38
+ ## Release Flow
39
+
40
+ ```
41
+ 1. Pre-flight
42
+ - Run full test suite: cd /Users/andreagroferreira/AIProjects/arka-os && python -m pytest tests/ --tb=short -q
43
+ - Check git status (must be clean working tree)
44
+ - Review changes since last release: git log $(git describe --tags --abbrev=0)..HEAD --oneline
45
+
46
+ 2. Preparation
47
+ - Determine version bump type (patch/minor/major) from changes
48
+ - Update VERSION, package.json version, pyproject.toml version
49
+ - Generate changelog from conventional commits
50
+ - Commit: git commit -m "chore: bump to vX.Y.Z"
51
+
52
+ 3. Confirmation Gate (PAUSE)
53
+ - Present to user: new version number, changelog summary, files changed count
54
+ - WAIT for explicit user confirmation before proceeding
55
+ - If user declines: revert bump commit, stop
56
+
57
+ 4. Publish (only after user confirms)
58
+ - git push origin master
59
+ - gh release create vX.Y.Z --title "vX.Y.Z" --notes "<changelog>"
60
+ - npm publish:
61
+ ```bash
62
+ # Method 1: Direct (if ~/.npmrc has valid publish token)
63
+ npm publish --access public
64
+
65
+ # Method 2: Temp config (if Method 1 fails with 403)
66
+ TMPRC=$(mktemp)
67
+ echo "//registry.npmjs.org/:_authToken=<TOKEN>" > "$TMPRC"
68
+ npm publish --access public --userconfig "$TMPRC"
69
+ rm -f "$TMPRC"
70
+ ```
71
+ - Verify: npm view arkaos version (must show new version)
72
+ - npm account: wizardingcode | Package: arkaos | Access: public
73
+
74
+ 5. Post-release
75
+ - Save release notes to Obsidian: WizardingCode Internal/ArkaOS/Releases/vX.Y.Z.md
76
+ - Update metrics snapshot
77
+ ```
78
+
79
+ ## Audit Flow
80
+
81
+ ```
82
+ 1. Platform Analyst scans the codebase:
83
+
84
+ a. Department completeness:
85
+ - List all departments/ subdirectories
86
+ - Check each has: agents/*.yaml, skills/*/SKILL.md, workflows/*.yaml
87
+ - Flag departments missing any component
88
+
89
+ b. Agent validation:
90
+ - Parse all departments/*/agents/*.yaml
91
+ - Verify 4-framework behavioral DNA (DISC, Enneagram, Big Five, MBTI)
92
+ - Flag agents with incomplete profiles
93
+
94
+ c. Skill coverage:
95
+ - List all ~/.claude/skills/arka-*/SKILL.md
96
+ - Cross-reference with department command tables
97
+ - Flag commands without corresponding skills
98
+
99
+ d. Test coverage:
100
+ - Run: python -m pytest tests/ --tb=no -q
101
+ - Count test files vs source files
102
+ - Flag untested modules
103
+
104
+ e. Code quality:
105
+ - Check for unused imports, dead code patterns
106
+ - Verify CLAUDE.md accuracy against actual file structure
107
+ - Check VERSION consistency across package.json, pyproject.toml, VERSION
108
+
109
+ 2. Present findings ranked by impact (high/medium/low)
110
+ 3. Save audit report to Obsidian: WizardingCode Internal/ArkaOS/Audits/YYYY-MM-DD.md
111
+ ```
112
+
113
+ ## Evolve Flow
114
+
115
+ ```
116
+ 1. Run audit (automatic first step — reuse audit flow above)
117
+
118
+ 2. Proposal
119
+ - Filter audit findings to actionable improvements
120
+ - Rank by impact and effort (quick wins first)
121
+ - Present top 5 proposals with:
122
+ - What: description of the improvement
123
+ - Why: impact on ArkaOS quality/completeness
124
+ - How: which squad member(s) implement it
125
+ - Effort: small/medium/large
126
+ - User selects which proposals to implement
127
+
128
+ 3. Implementation
129
+ - Create branch: evolve/YYYY-MM-DD-<description>
130
+ - Use worktree isolation
131
+ - Each improvement as a separate commit with conventional commit message
132
+ - QA Engineer runs tests after each change
133
+
134
+ 4. Quality Gate
135
+ - Marta (CQO) orchestrates final review
136
+ - Eduardo (Copy) reviews any text changes
137
+ - Francisca (Tech) reviews any code changes
138
+ - APPROVED → merge to master
139
+ - REJECTED → fix and re-submit
140
+ ```
141
+
142
+ ## Status Command
143
+
144
+ ```
145
+ 1. Read current version from VERSION file
146
+ 2. Run: python -m pytest tests/ --tb=no -q (capture pass/fail/total)
147
+ 3. Run: git log --oneline -10 (recent activity)
148
+ 4. Run: git describe --tags --abbrev=0 (latest release tag)
149
+ 5. Count: departments, agents, skills, tests
150
+ 6. Present formatted status:
151
+
152
+ === ArkaOS Platform Status ===
153
+ Version: X.Y.Z
154
+ Latest Release: vX.Y.Z (YYYY-MM-DD)
155
+ Tests: X passed / Y total
156
+ Departments: 17 | Agents: 65 | Skills: 244+
157
+ Recent commits: [last 5]
158
+ Reports to: /wiz (WizardingCode Internal)
159
+ ==============================
160
+ ```
161
+
162
+ ## Metrics Command
163
+
164
+ ```
165
+ 1. Count files:
166
+ - departments/*/agents/*.yaml → agent count
167
+ - ~/.claude/skills/arka-*/SKILL.md → skill count
168
+ - departments/ subdirectories → department count
169
+ - tests/python/ test files → test count
170
+
171
+ 2. Check completeness:
172
+ - Departments with all 3 components (agents, skills, workflows)
173
+ - Agents with full 4-framework DNA
174
+
175
+ 3. Version history:
176
+ - git tag --sort=-version:refname | head -10
177
+
178
+ 4. Present formatted metrics dashboard
179
+ ```
180
+
181
+ ## Skill Create Command
182
+
183
+ ```
184
+ 1. Ask for skill name and target department
185
+ 2. Create directory: ~/.claude/skills/arka-<name>/
186
+ 3. Scaffold SKILL.md with:
187
+ - YAML frontmatter (name, description)
188
+ - Command table template
189
+ - Squad roles section
190
+ - Orchestration workflow template
191
+ 4. Inform user to register in settings.json if needed
192
+ ```
193
+
194
+ ## Agent Create Command
195
+
196
+ ```
197
+ 1. Ask for agent name, department, and role
198
+ 2. Scaffold YAML file at departments/<dept>/agents/<name>.yaml with:
199
+ - Basic identity (name, role, department)
200
+ - 4-framework DNA template (DISC, Enneagram, Big Five, MBTI) with placeholders
201
+ 3. Run agent validate to check consistency
202
+ ```
@@ -0,0 +1,113 @@
1
+ ---
2
+ name: arka-rothbard100
3
+ description: >
4
+ Rothbard 100 ecosystem orchestrator. Dedicated command for all Rothbard 100 event work.
5
+ Routes tasks to specialized squad roles (PM, frontend developer, content creator,
6
+ SEO/marketing, security engineer, QA tester, DevOps). Presents execution plans for
7
+ approval before proceeding. Currently manages 1 project: rothbard100-landing (Nuxt 4
8
+ landing page for libertarian event celebrating Murray Rothbard's centenary, Porto, 27 Jun 2026).
9
+ Organized by Cataláxia EDITORA. Hosted on Cloudflare Pages.
10
+ Use when user says "rothbard100", "rothbard", or wants to work on any Rothbard 100 project.
11
+ ---
12
+
13
+ # Rothbard 100 Ecosystem Orchestrator — ARKA OS
14
+
15
+ Dedicated orchestrator for all Rothbard 100 event platform work. The Rothbard 100 is a libertarian event celebrating the 100th anniversary of Murray Rothbard, organized by Cataláxia EDITORA.
16
+
17
+ ## Ecosystem Overview
18
+
19
+ | Project | Type | Stack | Path |
20
+ |---------|------|-------|------|
21
+ | **rothbard100-landing** | Landing Page (SSG) | Nuxt 4.4.2 + Nuxt UI v4.5.1 + Tailwind CSS 4 + TypeScript | `/Users/andreagroferreira/Work/rothbard100-landing` |
22
+
23
+ ### Event Details
24
+
25
+ | Property | Value |
26
+ |----------|-------|
27
+ | Date | 27 Junho 2026, 09:00 (GMT+1) |
28
+ | Location | Porto, Portugal |
29
+ | Organizer | Cataláxia EDITORA |
30
+ | Contact | parcerias@rothbard100.pt |
31
+
32
+ ### Future Projects (Planned)
33
+
34
+ | Project | Type | Status |
35
+ |---------|------|--------|
36
+ | rothbard100-registration | Registration App | planned |
37
+ | rothbard100-crm | Event CRM | planned |
38
+
39
+ ## Commands
40
+
41
+ | Command | Description |
42
+ |---------|-------------|
43
+ | `/rothbard100 <description>` | Describe what you need — orchestrator analyzes, plans, and routes |
44
+ | `/rothbard100 status` | Status of all Rothbard 100 projects |
45
+ | `/rothbard100 plan <description>` | Plan only (no code) |
46
+ | `/rothbard100 feature <description>` | Implement a feature |
47
+ | `/rothbard100 debug <issue>` | Debug an issue |
48
+ | `/rothbard100 review` | Code review |
49
+ | `/rothbard100 test` | Run tests |
50
+ | `/rothbard100 deploy <env>` | Deploy |
51
+ | `/rothbard100 content <description>` | Create/update landing page copy and content |
52
+ | `/rothbard100 seo` | SEO audit and optimization |
53
+ | `/rothbard100 docs` | Update Obsidian documentation |
54
+ | `/rothbard100 context` | Show full ecosystem context |
55
+ | `/rothbard100 scaffold <name>` | Scaffold a new project into the ecosystem |
56
+
57
+ ## Squad (Compact)
58
+
59
+ | Role | Agent Type | Specialty |
60
+ |------|-----------|-----------|
61
+ | Project Manager | `tech-lead` | Sprint planning, task breakdown, plan presentation |
62
+ | Frontend Developer | `frontend-dev` | Nuxt 4, Vue 3, TypeScript, Tailwind CSS 4, Nuxt UI 4 |
63
+ | Content Creator | `content-marketer` | Copy, messaging, event storytelling |
64
+ | SEO/Marketing | `cro-specialist` | Landing page optimization, conversion, meta tags |
65
+ | Security Engineer | `security-eng` | XSS, CSP, form validation, data protection |
66
+ | QA Tester | `qa-eng` | Vitest, Playwright, responsive testing, performance |
67
+ | DevOps | `devops-eng` | Cloudflare Pages deployment, CI/CD, CDN |
68
+
69
+ Full squad routing details: see `references/squad.md`.
70
+
71
+ ## Brand Identity
72
+
73
+ | Property | Value |
74
+ |----------|-------|
75
+ | Primary Color | `#FFC939` (gold / amber) |
76
+ | Secondary Color | `#000000` (black) |
77
+ | Theme | Dark, premium, revolutionary |
78
+ | Font | Inter (400–900) |
79
+ | Mode | Light only (forced via colorMode) |
80
+ | Tone | Bold, intellectual, freedom-focused |
81
+
82
+ ## Constitution (NON-NEGOTIABLE)
83
+
84
+ | Rule | Enforcement |
85
+ |------|-------------|
86
+ | `branch-isolation` | Feature branches or worktrees, never direct on main |
87
+ | `spec-driven` | Spec before implementation (features, APIs, components) |
88
+ | `solid-clean-code` | SOLID + Clean Code on all code |
89
+ | `mandatory-qa` | Build must pass. Tests where applicable. |
90
+ | `quality-gate` | Marta + Eduardo + Francisca APPROVE before delivery |
91
+ | `conventional-commits` | feat:, fix:, etc. |
92
+ | `no-mechanical-copy` | Content Creator adapts — never copy-paste user text |
93
+ | `self-critique` | Self-critique phase before presenting |
94
+ | `auto-deploy` | Push to main triggers Cloudflare Pages. Never manual deploy. |
95
+
96
+ ## Complexity Routing
97
+
98
+ | Tier | Examples | Workflow |
99
+ |------|----------|----------|
100
+ | Quick | Status check, typo fix, single config | Direct execution |
101
+ | Standard | Content update, SEO change, component, bug fix | Standard Workflow (8 phases) |
102
+ | Complex | New feature, architecture change, multi-locale overhaul | Forge → Standard Workflow |
103
+
104
+ Complex tasks invoke `/arka-forge` first for multi-perspective planning before execution.
105
+
106
+ ## References
107
+
108
+ - `references/workflows.md` — 8-phase orchestration workflow, status/content/seo/context/scaffold flows, execution report templates
109
+ - `references/squad.md` — Full squad routing details, architectural notes, components, tech stack, conventions, Obsidian output
110
+
111
+ ## Obsidian Output
112
+
113
+ All documentation: `/Users/andreagroferreira/Documents/Personal/Projects/Rothbard100/`
@@ -0,0 +1,111 @@
1
+ # arka-rothbard100 — squad
2
+
3
+ Referenced from SKILL.md. Read only when needed.
4
+
5
+ ## Architecture
6
+
7
+ ```
8
+ Visitors --> rothbard100-landing (Nuxt 4, SSG via Nitro)
9
+ |
10
+ +-- @nuxtjs/i18n (5 locales: pt default, en, fr, es, de)
11
+ +-- @nuxt/image v2 (optimized images)
12
+ +-- @nuxt/ui v4.5.1 (component library)
13
+ +-- Iconify (lucide + simple-icons)
14
+ +-- Supabase (registration form submissions)
15
+ +-- Google Tag Manager + Microsoft Clarity (analytics)
16
+ +-- JSON-LD structured data + llms.txt (SEO/GEO/AEO)
17
+ +-- Cloudflare Pages (hosting, auto-deploy from main)
18
+ ```
19
+
20
+ ## Squad Roles (Full)
21
+
22
+ When processing any `/rothbard100` request, assign work to the appropriate squad members:
23
+
24
+ | Role | Agent Type | Specialty |
25
+ |------|-----------|-----------|
26
+ | **Project Manager** | `tech-lead` | Sprint planning, task breakdown, plan presentation |
27
+ | **Frontend Developer** | `frontend-dev` | Nuxt 4, Vue 3, TypeScript, Tailwind CSS 4, Nuxt UI 4, animations |
28
+ | **Content Creator** | `content-marketer` | Copy, messaging, event storytelling, persuasive writing |
29
+ | **SEO/Marketing** | `cro-specialist` | Landing page optimization, conversion, meta tags, performance |
30
+ | **Security Engineer** | `security-eng` | XSS, CSP, form validation, data protection |
31
+ | **QA Tester** | `qa-eng` | Vitest, Playwright, responsive testing, performance audits |
32
+ | **DevOps** | `devops-eng` | Cloudflare Pages deployment, CI/CD, CDN, domain setup |
33
+
34
+ ## Key Architectural Notes
35
+
36
+ - **Single page app**: `app/pages/index.vue` composed by 17 section components
37
+ - **i18n-driven copy**: All text in `i18n/locales/*.json` — never in components
38
+ - **i18n strategy**: `prefix_except_default` (pt has no URL prefix)
39
+ - **Pre-rendered routes**: `/`, `/en`, `/fr`, `/es`, `/de`
40
+ - **Speaker/sponsor data**: Lives in component `<script setup>` arrays
41
+ - **Composables**: useCountdown, useScrollAnimate, useStructuredData, useSupabase
42
+ - **Plugins**: gtm.client.ts (Google Tag Manager), clarity.client.ts (Microsoft Clarity)
43
+ - **Public SEO files**: llms.txt, llms-full.txt, robots.txt, sitemap.xml
44
+ - **Backend**: Supabase for registration form submissions only. No auth.
45
+
46
+ ## Components
47
+
48
+ | Component | Section |
49
+ |-----------|---------|
50
+ | AppHeader | Navigation + language switcher + scroll spy |
51
+ | LandingHero | Hero + countdown timer (27 Jun 2026) |
52
+ | LandingAbout | About Murray Rothbard |
53
+ | LandingAudience | Target audience |
54
+ | LandingHighlights | Event highlights |
55
+ | LandingBooks | Rothbard bibliography |
56
+ | LandingBookLaunch | Book launch section |
57
+ | LandingSchedule | Program/agenda |
58
+ | LandingSpeakers | Speaker cards |
59
+ | LandingTickets | Registration dialog + donation tiers |
60
+ | LandingVideos | Video content |
61
+ | LandingLocation | Venue / event location |
62
+ | LandingObjections | Objections/FAQ |
63
+ | LandingFaq | FAQ accordion |
64
+ | LandingSponsors | Organizers + supporters logos |
65
+ | LandingCta | Final call-to-action |
66
+ | AppFooter | Footer |
67
+
68
+ ## Tech Stack Reference
69
+
70
+ ### rothbard100-landing
71
+ - Nuxt 4.4.2, Vue 3, TypeScript (strict), Tailwind CSS 4, Nuxt UI v4.5.1
72
+ - @nuxtjs/i18n — 5 locales (pt default, en, fr, es, de)
73
+ - @nuxt/image v2
74
+ - @nuxt/eslint (Code quality)
75
+ - @supabase/supabase-js (registration form)
76
+ - Iconify: @iconify-json/lucide + @iconify-json/simple-icons
77
+ - Analytics: Google Tag Manager + Microsoft Clarity
78
+ - SEO: JSON-LD structured data (Event, VideoObject, Organization, BreadcrumbList), OG image, llms.txt (GEO/AEO)
79
+ - Package manager: pnpm
80
+ - Build: SSG (Static Site Generation) via Nitro prerender
81
+ - Hosting: Cloudflare Pages (auto-deploy from main branch)
82
+ - ESLint: Stylistic config (commaDangle: never, braceStyle: 1tbs)
83
+
84
+ ### Key Conventions
85
+ - TypeScript strict mode
86
+ - Composition API (`<script setup lang="ts">`)
87
+ - Light mode only (forced via colorMode)
88
+ - Font: Inter (400–900)
89
+ - CSS classes: `section-light`, `section-divider`, `scroll-animate`, `btn-gold`, `pulse-gold`
90
+ - i18n strategy: `prefix_except_default`
91
+ - Performance-first (target Lighthouse 95+)
92
+
93
+ ## Obsidian Output
94
+
95
+ All documentation: `/Users/andreagroferreira/Documents/Personal/Projects/Rothbard100/`
96
+
97
+ Structure:
98
+ ```
99
+ Projects/Rothbard100/
100
+ ├── Home.md ← Ecosystem overview
101
+ ├── Landing Page.md ← Landing page project docs
102
+ ├── Architecture/
103
+ │ ├── System Architecture.md ← Architecture documentation
104
+ │ └── Brand Guide.md ← Brand colors, typography, style
105
+ ├── Content/
106
+ │ ├── Copy Guide.md ← Event messaging and copy standards
107
+ │ └── Speaker Bios.md ← Speaker information
108
+ ├── Squad/
109
+ │ └── Workflows.md ← Squad workflows and processes
110
+ └── Decisions/ ← Architecture Decision Records
111
+ ```
@@ -0,0 +1,175 @@
1
+ # arka-rothbard100 — workflows
2
+
3
+ Referenced from SKILL.md. Read only when needed.
4
+
5
+ ## Orchestration Workflow (Standard — 8 Phases)
6
+
7
+ For EVERY `/rothbard100` request that modifies code or content:
8
+
9
+ ### Phase 1 — Context Loading
10
+ 1. Read the ecosystem registry: `~/.claude/skills/arka/knowledge/ecosystems.json`
11
+ 2. Read project files: `~/.claude/skills/arka/projects/rothbard100-landing/PROJECT.md`
12
+ 3. Read CLAUDE.md from affected project
13
+ 4. Check memory for prior related work and user feedback
14
+
15
+ ### Phase 2 — Analysis & Planning
16
+
17
+ **Before planning, verify context:**
18
+ - Restate the request to confirm understanding
19
+ - Ask at least 1 clarifying question about scope or intent
20
+ - Challenge at least 1 assumption (devil's advocate)
21
+
22
+ 1. Analyze the request against the ecosystem context
23
+ 2. Determine complexity tier (Quick / Standard / Complex)
24
+ 3. If Complex → route to `/arka-forge` for multi-perspective planning
25
+ 4. Determine which squad roles are needed
26
+ 5. Create execution plan with:
27
+ - **Affected projects** (which ones)
28
+ - **Squad members involved** (which roles)
29
+ - **Steps** (numbered, with responsible role)
30
+ - **Risks/considerations** (cross-project impact, brand consistency, event deadlines)
31
+ - **Estimated scope** (files to change)
32
+
33
+ ### Phase 3 — Specification (for features/new components)
34
+ If the task creates new functionality:
35
+ 1. Define acceptance criteria (testable, BDD-style)
36
+ 2. Define scope (in scope / out of scope)
37
+ 3. Define edge cases
38
+ 4. User approves spec before implementation
39
+
40
+ For bug fixes, refactors, content updates, and config changes: skip this phase.
41
+
42
+ ### Phase 4 — Plan Presentation & Approval
43
+ Present the plan:
44
+
45
+ ```
46
+ ═══ ROTHBARD 100 — Execution Plan ═══
47
+
48
+ 📋 REQUEST: [summary of what was asked]
49
+ 🔧 COMPLEXITY: [Quick / Standard / Complex]
50
+
51
+ 🎯 AFFECTED PROJECTS:
52
+ • [project] — [what changes]
53
+
54
+ 👥 SQUAD:
55
+ • [role] — [responsibility in this task]
56
+
57
+ 📝 STEPS:
58
+ 1. [step] — [role]
59
+ 2. [step] — [role]
60
+ ...
61
+
62
+ ⚠️ CONSIDERATIONS:
63
+ • [risk/note]
64
+
65
+ ═══════════════════════════════
66
+ ```
67
+
68
+ Ask for user approval: "Approve", "Modify", or "Cancel"
69
+
70
+ ### Phase 5 — Execution
71
+ 1. Only proceed after approval
72
+ 2. Execute using **worktree isolation** for code changes (NON-NEGOTIABLE)
73
+ 3. Each squad role runs as the appropriate agent type (dispatch real agents)
74
+ 4. Content Creator adapts all text — never mechanical copy-paste
75
+ 5. Cross-project changes are coordinated
76
+
77
+ ### Phase 6 — Self-Critique (NON-NEGOTIABLE)
78
+ Before quality gate, the executing agent(s) must:
79
+ 1. Review own output against the plan and spec
80
+ 2. Check for regressions, missing edge cases, i18n consistency
81
+ 3. Verify build passes (`pnpm build`)
82
+ 4. Flag any concerns or deviations from plan
83
+
84
+ ### Phase 7 — Quality Gate (NON-NEGOTIABLE)
85
+
86
+ Before any output reaches the user:
87
+ - **Marta** (CQO) orchestrates the review
88
+ - **Eduardo** (Copy Director) reviews all text output for spelling, grammar, tone, clarity, AI patterns
89
+ - **Francisca** (Tech/UX Director) reviews all code and technical output for quality, security, correctness
90
+
91
+ **Verdict:** APPROVED or REJECTED. Binary. No "approved with caveats."
92
+ - APPROVED → proceed to Documentation phase
93
+ - REJECTED → return to Execution phase with specific feedback, fix, re-submit
94
+
95
+ ### Phase 8 — Documentation & Report
96
+ 1. Update Obsidian documentation if the change is significant
97
+ 2. Present execution report:
98
+
99
+ ```
100
+ ═══ ROTHBARD 100 — Execution Report ═══
101
+
102
+ ✅ COMPLETED:
103
+ • [what was done]
104
+
105
+ 📁 FILES CHANGED:
106
+ • [project]: [files]
107
+
108
+ 🧪 BUILD:
109
+ • [build result]
110
+
111
+ 📝 DOCS UPDATED:
112
+ • [obsidian pages updated]
113
+
114
+ ═══════════════════════════════════
115
+ ```
116
+
117
+ ## /rothbard100 status
118
+
119
+ Check the status of all Rothbard 100 projects:
120
+
121
+ ```bash
122
+ # For each project:
123
+ cd <project_path>
124
+ git status
125
+ git log --oneline -5
126
+ git branch --show-current
127
+ ```
128
+
129
+ Present as:
130
+
131
+ ```
132
+ ═══ ROTHBARD 100 — Ecosystem Status ═══
133
+
134
+ 📦 ROTHBARD100-LANDING (Nuxt 4 + Nuxt UI v4 — SSG)
135
+ Branch: [branch]
136
+ Last commit: [hash] — [message] ([date])
137
+ Status: [clean/uncommitted changes]
138
+
139
+ ═══════════════════════════════════
140
+ ```
141
+
142
+ ## /rothbard100 content
143
+
144
+ For content tasks, the Content Creator role takes the lead:
145
+ 1. Understand the event messaging and libertarian context
146
+ 2. Write persuasive, bold copy aligned with the brand
147
+ 3. All copy lives in `i18n/locales/*.json` — never hardcode text
148
+ 4. 5 locales must be updated: pt (default), en, fr, es, de
149
+ 5. SEO/Marketing role reviews for conversion optimization
150
+ 6. Frontend Developer implements in components if needed
151
+
152
+ ## /rothbard100 seo
153
+
154
+ SEO audit covers:
155
+ 1. Meta tags (title, description, OG tags, Twitter cards)
156
+ 2. Structured data (Event schema, Organization schema)
157
+ 3. Performance audit (Core Web Vitals, Lighthouse)
158
+ 4. Image optimization (@nuxt/image usage)
159
+ 5. Accessibility (WCAG 2.1 AA minimum)
160
+ 6. Mobile responsiveness
161
+
162
+ ## /rothbard100 context
163
+
164
+ Show full ecosystem context:
165
+ 1. Read all project files and CLAUDE.md
166
+ 2. Present architecture, tech stack, components, conventions, current state
167
+
168
+ ## /rothbard100 scaffold <name>
169
+
170
+ When scaffolding a new project:
171
+ 1. Use `/arka-scaffold` skill with the appropriate template
172
+ 2. Register the project in `ecosystems.json`
173
+ 3. Create a project detail file in `~/.claude/skills/arka/projects/<name>/PROJECT.md`
174
+ 4. Update SKILL.md's ecosystem overview table
175
+ 5. Create Obsidian documentation
@@ -121,6 +121,14 @@ enforcement_levels:
121
121
  rule: "All forge plans (approved and rejected) must be persisted to Obsidian"
122
122
  enforcement: "persistence.py exports on status change; audit detects missing exports"
123
123
 
124
+ - id: model-routing
125
+ rule: "Per-tier model assignment enforced: Tier 0 opus, Tier 1/2 sonnet, mechanical haiku. Quality Gate ALWAYS opus."
126
+ enforcement: "warning"
127
+
128
+ - id: subagent-discipline
129
+ rule: "Dispatch subagents only when task requires >3 Reads or >5 Greps or isolated context. Never parallel subagents sharing state. Prefer main thread for trivial tasks."
130
+ enforcement: "warning"
131
+
124
132
  should:
125
133
  description: "Best practices. Encouraged but not enforced."
126
134
  rules:
@@ -27,9 +27,15 @@ TRANSCRIPT=$(echo "$input" | jq -r '.transcript // ""' 2>/dev/null)
27
27
  DIGEST_DIR="$HOME/.arkaos/session-digests"
28
28
  mkdir -p "$DIGEST_DIR"
29
29
 
30
- TIMESTAMP=$(date +%Y%m%d-%H%M%S)
31
30
  SHORT_ID=$(echo "$SESSION_ID" | head -c 8)
32
- DIGEST_FILE="${DIGEST_DIR}/${TIMESTAMP}-${SHORT_ID}.md"
31
+ # Content-hash filename → deduplicable and cache-friendly.
32
+ # Falls back to session id + transcript head so identical compactions collapse.
33
+ if command -v shasum &>/dev/null; then
34
+ DIGEST_ID=$(printf '%s' "${SESSION_ID:-default}-$(printf '%s' "$TRANSCRIPT" | head -c 200 | tr -d '\n')" | shasum -a 256 | cut -c1-16)
35
+ else
36
+ DIGEST_ID=$(printf '%s' "${SESSION_ID:-default}-$(printf '%s' "$TRANSCRIPT" | head -c 200 | tr -d '\n')" | md5 | cut -c1-16)
37
+ fi
38
+ DIGEST_FILE="${DIGEST_DIR}/digest-${SHORT_ID}-${DIGEST_ID}.md"
33
39
 
34
40
  # ─── Extract Context ──────────────────────────────────────────────────────
35
41
  # Get last 50 lines of transcript
@@ -56,14 +62,14 @@ cat > "$DIGEST_FILE" << DIGEST_EOF
56
62
  ---
57
63
  type: session-digest
58
64
  session_id: ${SESSION_ID}
59
- timestamp: ${TIMESTAMP}
65
+ digest_id: ${DIGEST_ID}
60
66
  trigger: pre-compact
61
67
  ---
62
68
 
63
- # Session Digest — ${TIMESTAMP}
69
+ # Session Digest — ${DIGEST_ID}
64
70
 
65
71
  **Session:** \`${SESSION_ID}\`
66
- **Saved at:** $(date '+%Y-%m-%d %H:%M:%S')
72
+ **Digest:** \`${DIGEST_ID}\`
67
73
  **Trigger:** Context compaction
68
74
 
69
75
  ## Last Assistant Messages
@@ -19,11 +19,10 @@ if [ -f "$HOME/.arkaos/.repo-path" ]; then
19
19
  [ -f "$REPO/VERSION" ] && VERSION=$(cat "$REPO/VERSION" | tr -d '[:space:]')
20
20
  fi
21
21
 
22
- # ─── Time greeting ─────────────────────────────────────────────────────
23
- HOUR=$(date +%H)
24
- if [ "$HOUR" -ge 5 ] && [ "$HOUR" -lt 12 ]; then GREETING="Bom dia"
25
- elif [ "$HOUR" -ge 12 ] && [ "$HOUR" -lt 19 ]; then GREETING="Boa tarde"
26
- else GREETING="Boa noite"; fi
22
+ # ─── Static greeting (cache-friendly) ──────────────────────────────────
23
+ # Time-of-day branching removed: it invalidated prompt cache 3x/day without
24
+ # meaningful signal. Static greeting keeps SessionStart output stable.
25
+ GREETING="Olá"
27
26
 
28
27
  # ─── Version drift ─────────────────────────────────────────────────────
29
28
  SYNC_STATE="$HOME/.arkaos/sync-state.json"