arkaos 4.45.0 → 4.46.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 (48) hide show
  1. package/THE-ARKAOS-GUIDE.md +1 -1
  2. package/VERSION +1 -1
  3. package/core/egress/__init__.py +20 -0
  4. package/core/egress/allowlist.py +123 -0
  5. package/core/egress/audit.py +127 -0
  6. package/core/egress/policy.py +261 -0
  7. package/core/egress/redact.py +46 -0
  8. package/core/governance/evidence_checks.py +116 -37
  9. package/core/harness/__init__.py +22 -0
  10. package/core/harness/drift.py +317 -0
  11. package/core/harness/json_store.py +119 -0
  12. package/core/harness/manifest.py +87 -0
  13. package/core/harness/paths.py +72 -0
  14. package/core/harness/spec.py +182 -0
  15. package/harness/codex/AGENTS.md +1 -1
  16. package/harness/copilot/copilot-instructions.md +1 -1
  17. package/harness/cursor/rules/arkaos.mdc +2 -2
  18. package/harness/gemini/GEMINI.md +1 -1
  19. package/harness/opencode/AGENTS.md +1 -1
  20. package/harness/opencode/agents/arka-architect-gabriel.md +1 -1
  21. package/harness/opencode/agents/arka-brand-director-valentina.md +1 -1
  22. package/harness/opencode/agents/arka-cfo-helena.md +1 -1
  23. package/harness/opencode/agents/arka-chief-of-staff-afonso.md +1 -1
  24. package/harness/opencode/agents/arka-community-strategist-beatriz.md +1 -1
  25. package/harness/opencode/agents/arka-content-strategist-rafael.md +1 -1
  26. package/harness/opencode/agents/arka-conversion-strategist-ines.md +1 -1
  27. package/harness/opencode/agents/arka-coo-sofia.md +1 -1
  28. package/harness/opencode/agents/arka-copy-director-eduardo.md +1 -1
  29. package/harness/opencode/agents/arka-cqo-marta.md +1 -1
  30. package/harness/opencode/agents/arka-cto-marco.md +1 -1
  31. package/harness/opencode/agents/arka-design-ops-lead-iris.md +1 -1
  32. package/harness/opencode/agents/arka-ecom-director-ricardo.md +1 -1
  33. package/harness/opencode/agents/arka-knowledge-director-clara.md +1 -1
  34. package/harness/opencode/agents/arka-leadership-director-rodrigo.md +1 -1
  35. package/harness/opencode/agents/arka-marketing-director-luna.md +1 -1
  36. package/harness/opencode/agents/arka-ops-lead-daniel.md +1 -1
  37. package/harness/opencode/agents/arka-pm-director-carolina.md +1 -1
  38. package/harness/opencode/agents/arka-revops-lead-vicente.md +1 -1
  39. package/harness/opencode/agents/arka-saas-strategist-tiago.md +1 -1
  40. package/harness/opencode/agents/arka-sales-director-miguel.md +1 -1
  41. package/harness/opencode/agents/arka-strategy-director-tomas.md +1 -1
  42. package/harness/opencode/agents/arka-tech-director-francisca.md +1 -1
  43. package/harness/opencode/agents/arka-tech-lead-paulo.md +1 -1
  44. package/harness/opencode/agents/arka-video-producer-simao.md +1 -1
  45. package/harness/zed/.rules +1 -1
  46. package/knowledge/skills-manifest.json +1 -1
  47. package/package.json +1 -1
  48. package/pyproject.toml +1 -1
@@ -0,0 +1,87 @@
1
+ """Ownership manifest schema for ``~/.arkaos/ownership.json`` (PR-C1).
2
+
3
+ The manifest is the C2 manager's record of WHICH harness surfaces
4
+ ArkaOS claims and UNDER WHICH policy. C1 ships only the schema and a
5
+ tolerant loader — nothing here writes the file, and the default
6
+ manifest is DERIVED from ``core.harness.spec`` so the two can never
7
+ disagree about which surfaces exist.
8
+
9
+ Policy vocabulary (decided in the 2026-07-26 campaign plan, C2):
10
+
11
+ - ``own`` — ArkaOS replaces the surface wholesale on assert.
12
+ - ``own-subset`` — ArkaOS guarantees its own entries exist; operator
13
+ entries on the same surface are never removed.
14
+ - ``seed`` — written only when absent; an operator edit is
15
+ ADOPTED (drift reports it, assert never reverts it).
16
+ - ``operator`` — ArkaOS never touches the surface.
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ from enum import StrEnum
22
+ from pathlib import Path
23
+
24
+ from pydantic import BaseModel, Field, ValidationError
25
+
26
+ from core.harness import json_store
27
+ from core.harness import spec as harness_spec
28
+
29
+
30
+ class OwnershipPolicy(StrEnum):
31
+ """How ArkaOS treats one harness surface."""
32
+
33
+ OWN = "own"
34
+ OWN_SUBSET = "own-subset"
35
+ SEED = "seed"
36
+ OPERATOR = "operator"
37
+
38
+
39
+ class SurfaceRecord(BaseModel):
40
+ """One claimed surface and the policy it is held under."""
41
+
42
+ surface: str = Field(description="Stable surface id, e.g. settings:hooks")
43
+ policy: OwnershipPolicy
44
+ last_asserted: str | None = Field(
45
+ default=None,
46
+ description="ISO-8601 timestamp of the last C2 assert; C1 never sets it",
47
+ )
48
+ content_sha256: str | None = Field(
49
+ default=None,
50
+ description="Digest of the ArkaOS-owned content at last assert",
51
+ )
52
+
53
+
54
+ class OwnershipManifest(BaseModel):
55
+ """The full ownership manifest for one runtime."""
56
+
57
+ version: int = 1
58
+ runtime: str = "claude-code"
59
+ surfaces: list[SurfaceRecord] = Field(default_factory=list)
60
+
61
+ @classmethod
62
+ def default(cls, runtime: str = "claude-code") -> OwnershipManifest:
63
+ """Manifest derived from the runtime spec's surface table."""
64
+ runtime_spec = harness_spec.spec_for(runtime)
65
+ return cls(
66
+ runtime=runtime,
67
+ surfaces=[
68
+ SurfaceRecord(surface=s.surface, policy=OwnershipPolicy(s.policy))
69
+ for s in runtime_spec.surfaces
70
+ ],
71
+ )
72
+
73
+
74
+ def load_manifest(path: Path) -> tuple[OwnershipManifest | None, str | None]:
75
+ """Tolerant manifest load: ``(manifest, None)`` or ``(None, error)``.
76
+
77
+ Error vocabulary extends ``json_store.LoadResult`` with
78
+ ``invalid-schema`` — a file that parses as JSON but does not
79
+ validate is reported, never raised.
80
+ """
81
+ result = json_store.load_json(path)
82
+ if not result.ok:
83
+ return None, result.error
84
+ try:
85
+ return OwnershipManifest.model_validate(result.data), None
86
+ except ValidationError:
87
+ return None, "invalid-schema"
@@ -0,0 +1,72 @@
1
+ """Canonical harness paths, resolved at call time.
2
+
3
+ Every path here takes an explicit override — ``home`` for the
4
+ user-tree paths (defaulting to ``Path.home()``), ``root`` for
5
+ ``hooks_dir`` — resolved at CALL time, so tests and the C2 manager can
6
+ operate on an alternate tree without monkeypatching. Nothing here is a
7
+ module-level constant: paths captured at import bind to whatever root
8
+ the importing process started with, which is exactly the split-root
9
+ failure mode PR-A2 closed (``ARKAOS_ROOT`` in the shell pointing one
10
+ way, ``.repo-path`` another).
11
+ """
12
+
13
+ from __future__ import annotations
14
+
15
+ from pathlib import Path
16
+
17
+ from core.hooks._shared import resolve_arkaos_root
18
+
19
+
20
+ def claude_home(home: Path | None = None) -> Path:
21
+ """``~/.claude`` — the Claude Code configuration tree."""
22
+ return (home or Path.home()) / ".claude"
23
+
24
+
25
+ def claude_settings_path(home: Path | None = None) -> Path:
26
+ """``~/.claude/settings.json`` — the executed harness surface."""
27
+ return claude_home(home) / "settings.json"
28
+
29
+
30
+ def claude_global_md_path(home: Path | None = None) -> Path:
31
+ """``~/.claude/CLAUDE.md`` — global instructions (C5 managed block)."""
32
+ return claude_home(home) / "CLAUDE.md"
33
+
34
+
35
+ def arkaos_home(home: Path | None = None) -> Path:
36
+ """``~/.arkaos`` — ArkaOS user-mutable data."""
37
+ return (home or Path.home()) / ".arkaos"
38
+
39
+
40
+ def ownership_manifest_path(home: Path | None = None) -> Path:
41
+ """``~/.arkaos/ownership.json`` — the C2 ownership manifest."""
42
+ return arkaos_home(home) / "ownership.json"
43
+
44
+
45
+ def audit_dir(home: Path | None = None) -> Path:
46
+ """``~/.arkaos/audit`` — mutation audit trails."""
47
+ return arkaos_home(home) / "audit"
48
+
49
+
50
+ def harness_audit_log_path(home: Path | None = None) -> Path:
51
+ """``~/.arkaos/audit/harness-mutations.jsonl`` (written by C2)."""
52
+ return audit_dir(home) / "harness-mutations.jsonl"
53
+
54
+
55
+ def hard_deny_extension_path(home: Path | None = None) -> Path:
56
+ """``~/.arkaos/hard-deny.json`` — operator hard-deny extensions."""
57
+ return arkaos_home(home) / "hard-deny.json"
58
+
59
+
60
+ def arkaos_config_path(home: Path | None = None) -> Path:
61
+ """``~/.arkaos/config.json`` — feature flags (hardEnforcement, ...)."""
62
+ return arkaos_home(home) / "config.json"
63
+
64
+
65
+ def hooks_dir(root: str | None = None) -> Path:
66
+ """``<arkaos-root>/config/hooks`` — the deployed hook scripts.
67
+
68
+ The root goes through the PR-A2 validated chain
69
+ (``core.hooks._shared.resolve_arkaos_root``) at call time; passing
70
+ ``root`` overrides it for tests.
71
+ """
72
+ return Path(root or resolve_arkaos_root()) / "config" / "hooks"
@@ -0,0 +1,182 @@
1
+ """Desired-state harness spec, keyed by runtime (PR-C1).
2
+
3
+ Until now the desired state of the operator's harness lived only inside
4
+ installer JavaScript: ``installer/hard-deny.js`` (the curated hard-deny
5
+ rules) and ``installer/adapters/claude-code.js`` (which hook events get
6
+ registered, with which scripts and timeouts). This module is the Python
7
+ port that ``drift`` (C1) and the ``ClaudeConfigManager`` (C2) read.
8
+
9
+ PARITY IS PINNED, NOT PROMISED: ``tests/python/test_harness_spec.py``
10
+ parses both JS sources and asserts this module matches them — rule
11
+ list in full, same content and order, hook registrations by
12
+ event/script/timeout/matcher. Editing either side without the other
13
+ fails the suite. The installer files remain the EXECUTED path until C4
14
+ flips ownership.
15
+
16
+ ``config/settings-template.json`` is NOT a source here — the template
17
+ is not the executed path (PR-B5 lesson: it declared agent-provision for
18
+ months while the adapter never registered it).
19
+ """
20
+
21
+ from __future__ import annotations
22
+
23
+ from dataclasses import dataclass
24
+
25
+ # Port of DEFAULT_HARD_DENY_RULES in installer/hard-deny.js — same
26
+ # rules, same order. Parity-pinned by test_harness_spec.py.
27
+ HARD_DENY_RULES: tuple[str, ...] = (
28
+ # Destructive git operations
29
+ "Bash(git push --force*)",
30
+ "Bash(git push -f*)",
31
+ "Bash(git reset --hard*)",
32
+ "Bash(git clean -fd*)",
33
+ "Bash(git branch -D*)",
34
+ # Filesystem destruction
35
+ "Bash(rm -rf /*)",
36
+ "Bash(rm -rf ~/*)",
37
+ "Bash(rm -rf ~)",
38
+ "Bash(rm -rf .*)",
39
+ # Secrets and credential paths
40
+ "Read(~/.ssh/*)",
41
+ "Read(~/.ssh/**)",
42
+ "Read(~/.aws/credentials)",
43
+ "Read(~/.aws/config)",
44
+ "Read(~/.gnupg/*)",
45
+ "Read(~/.gnupg/**)",
46
+ "Read(~/.npmrc)",
47
+ "Read(~/.docker/config.json)",
48
+ "Read(~/.config/gh/*)",
49
+ "Read(/etc/shadow)",
50
+ "Read(/etc/sudoers)",
51
+ # Writes to credential / config dirs
52
+ "Write(~/.ssh/*)",
53
+ "Write(~/.aws/credentials)",
54
+ "Write(~/.gnupg/*)",
55
+ "Write(~/.npmrc)",
56
+ # Process / privilege escalation
57
+ "Bash(sudo *)",
58
+ "Bash(su -*)",
59
+ "Bash(chmod 777*)",
60
+ "Bash(curl * | sh*)", # arka:sec-ok(curl-pipe-shell): deny-rule literal
61
+ "Bash(curl * | bash*)", # arka:sec-ok(curl-pipe-shell): deny-rule literal
62
+ "Bash(wget * | sh*)",
63
+ "Bash(wget * | bash*)",
64
+ )
65
+
66
+
67
+ @dataclass(frozen=True)
68
+ class HookRegistration:
69
+ """One hook entry the adapter writes into ``settings.json``.
70
+
71
+ ``script`` is the basename without extension — the adapter picks
72
+ ``.sh`` / ``.ps1`` / ``.cjs`` per platform and fastpath, so drift
73
+ matching accepts any of the three.
74
+ """
75
+
76
+ event: str
77
+ script: str
78
+ timeout: int
79
+ matcher: str | None = None
80
+ posix_only: bool = False
81
+ conditional: bool = False
82
+
83
+
84
+ # Port of the settings.hooks registrations in
85
+ # installer/adapters/claude-code.js — parity-pinned.
86
+ _CLAUDE_CODE_HOOKS: tuple[HookRegistration, ...] = (
87
+ HookRegistration("SessionStart", "session-start", 15),
88
+ HookRegistration("UserPromptSubmit", "user-prompt-submit", 20),
89
+ HookRegistration("PostToolUse", "post-tool-use", 5),
90
+ HookRegistration("PostToolUseFailure", "post-tool-use", 5),
91
+ HookRegistration("PreToolUse", "pre-tool-use", 10),
92
+ HookRegistration(
93
+ "PreToolUse",
94
+ "agent-provision",
95
+ 10,
96
+ matcher="Task",
97
+ posix_only=True,
98
+ conditional=True,
99
+ ),
100
+ HookRegistration("Stop", "stop", 5),
101
+ HookRegistration("SubagentStop", "subagent-stop", 10),
102
+ HookRegistration("SessionEnd", "session-end", 15),
103
+ HookRegistration("PreCompact", "pre-compact", 30),
104
+ HookRegistration("CwdChanged", "cwd-changed", 5),
105
+ )
106
+
107
+
108
+ @dataclass(frozen=True)
109
+ class SurfaceSpec:
110
+ """One harness surface ArkaOS claims, with its default policy.
111
+
112
+ ``policy`` values are the ``manifest.OwnershipPolicy`` vocabulary;
113
+ kept as strings here so ``spec`` stays import-light (manifest
114
+ imports spec, not the reverse).
115
+ """
116
+
117
+ surface: str
118
+ policy: str
119
+ detail: str
120
+
121
+
122
+ _CLAUDE_CODE_SURFACES: tuple[SurfaceSpec, ...] = (
123
+ SurfaceSpec(
124
+ "settings:hooks",
125
+ "own-subset",
126
+ "ArkaOS hook entries per event; user hooks on the same events stay",
127
+ ),
128
+ SurfaceSpec(
129
+ "settings:autoMode.hard_deny",
130
+ "own-subset",
131
+ "Curated deny rules merged in; operator rules are never removed",
132
+ ),
133
+ SurfaceSpec(
134
+ "settings:statusLine",
135
+ "seed",
136
+ "Branded status bar; an operator replacement is adopted once "
137
+ "C2 owns the surface",
138
+ ),
139
+ SurfaceSpec(
140
+ "settings:worktree",
141
+ "seed",
142
+ "worktree.baseRef default; an operator change is adopted once "
143
+ "C2 owns the surface",
144
+ ),
145
+ )
146
+
147
+
148
+ @dataclass(frozen=True)
149
+ class RuntimeSpec:
150
+ """The desired harness state for one runtime."""
151
+
152
+ runtime: str
153
+ hook_registrations: tuple[HookRegistration, ...]
154
+ hard_deny_rules: tuple[str, ...]
155
+ surfaces: tuple[SurfaceSpec, ...]
156
+
157
+
158
+ _RUNTIME_SPECS: dict[str, RuntimeSpec] = {
159
+ "claude-code": RuntimeSpec(
160
+ runtime="claude-code",
161
+ hook_registrations=_CLAUDE_CODE_HOOKS,
162
+ hard_deny_rules=HARD_DENY_RULES,
163
+ surfaces=_CLAUDE_CODE_SURFACES,
164
+ ),
165
+ }
166
+
167
+ SUPPORTED_RUNTIMES: tuple[str, ...] = tuple(sorted(_RUNTIME_SPECS))
168
+
169
+
170
+ def spec_for(runtime: str) -> RuntimeSpec:
171
+ """The :class:`RuntimeSpec` for ``runtime``.
172
+
173
+ Raises ``ValueError`` for an unknown runtime — a silent empty spec
174
+ would make drift report a perfectly-owned harness for a runtime
175
+ this package knows nothing about.
176
+ """
177
+ try:
178
+ return _RUNTIME_SPECS[runtime]
179
+ except KeyError:
180
+ raise ValueError(
181
+ f"unknown runtime {runtime!r}; supported: {', '.join(SUPPORTED_RUNTIMES)}"
182
+ ) from None
@@ -1,6 +1,6 @@
1
1
  # ArkaOS — The Operating System for AI Agent Teams
2
2
 
3
- > v4.45.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
3
+ > v4.46.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
4
4
 
5
5
  You are operating within ArkaOS. Every request routes through the
6
6
  appropriate department squad — never respond as a generic assistant.
@@ -1,6 +1,6 @@
1
1
  # ArkaOS — The Operating System for AI Agent Teams
2
2
 
3
- > v4.45.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
3
+ > v4.46.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
4
4
 
5
5
  You are operating within ArkaOS. Every request routes through the
6
6
  appropriate department squad — never respond as a generic assistant.
@@ -1,11 +1,11 @@
1
1
  ---
2
- description: ArkaOS v4.45.0 agent-team contract
2
+ description: ArkaOS v4.46.0 agent-team contract
3
3
  alwaysApply: true
4
4
  ---
5
5
 
6
6
  # ArkaOS — The Operating System for AI Agent Teams
7
7
 
8
- > v4.45.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
8
+ > v4.46.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
9
9
 
10
10
  You are operating within ArkaOS. Every request routes through the
11
11
  appropriate department squad — never respond as a generic assistant.
@@ -1,6 +1,6 @@
1
1
  # ArkaOS — The Operating System for AI Agent Teams
2
2
 
3
- > v4.45.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
3
+ > v4.46.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
4
4
 
5
5
  You are operating within ArkaOS. Every request routes through the
6
6
  appropriate department squad — never respond as a generic assistant.
@@ -1,6 +1,6 @@
1
1
  # ArkaOS — The Operating System for AI Agent Teams
2
2
 
3
- > v4.45.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
3
+ > v4.46.0 — 89 agents, 17 departments, 332 skills. Generated by `scripts/harness_gen.py`; do not edit.
4
4
 
5
5
  You are operating within ArkaOS. Every request routes through the
6
6
  appropriate department squad — never respond as a generic assistant.
@@ -3,7 +3,7 @@ description: "Software Architect — ArkaOS /dev department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Gabriel, Software Architect of the ArkaOS /dev department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Gabriel, Software Architect of the ArkaOS /dev department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: system design, system visualization via dev/diagram (architecture + dataflow diagrams delivered as browser artifacts), domain modeling (event storming, bounded contexts), design patterns (GoF, PoEAA), business / domain analysis, API design.
9
9
 
@@ -3,7 +3,7 @@ description: "Creative Director — ArkaOS /brand department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Valentina, Creative Director of the ArkaOS /brand department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Valentina, Creative Director of the ArkaOS /brand department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: brand identity creation, reference-video visual analysis via dev/watch (complete frames + transcript — motion and art direction judged on evidence, never on screenshots), visual design direction, UX/UI strategy, design systems, brand voice & tone.
9
9
 
@@ -3,7 +3,7 @@ description: "Chief Financial Officer — ArkaOS /fin department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Helena, Chief Financial Officer of the ArkaOS /fin department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Helena, Chief Financial Officer of the ArkaOS /fin department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: financial planning & analysis, valuation & investment, unit economics & SaaS metrics, risk management & ERM, fundraising & cap tables, cash flow management.
9
9
 
@@ -3,7 +3,7 @@ description: "Chief of Staff & Governance Lead — ArkaOS /org department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Afonso, Chief of Staff & Governance Lead of the ArkaOS /org department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Afonso, Chief of Staff & Governance Lead of the ArkaOS /org department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: meeting cadence (daily/weekly/quarterly/annual), OKR & CFR orchestration cross-department, decision records & RACI, premortem / blameless postmortem rituals, governance, board & founder-CEO succession, strategic alignment & single-threaded leadership.
9
9
 
@@ -3,7 +3,7 @@ description: "Community Strategist — ArkaOS /community department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Beatriz, Community Strategist of the ArkaOS /community department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Beatriz, Community Strategist of the ArkaOS /community department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: community strategy & design, platform selection (Discord, Telegram, Skool, Circle), member onboarding & retention, monetization (membership, courses, coaching), gamification & engagement, niche communities (betting, AI, vertical).
9
9
 
@@ -3,7 +3,7 @@ description: "Content Strategist — ArkaOS /content department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Rafael, Content Strategist of the ArkaOS /content department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Rafael, Content Strategist of the ArkaOS /content department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: viral content design, reference-video analysis via dev/watch (frames + timestamped transcript before judging any video), hook writing & packaging, script structure, content operating systems, platform-specific optimization.
9
9
 
@@ -3,7 +3,7 @@ description: "Conversion Strategist — ArkaOS /landing department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Ines, Conversion Strategist of the ArkaOS /landing department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Ines, Conversion Strategist of the ArkaOS /landing department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: sales funnels, landing page optimization, offer creation, copywriting (direct response), launch sequences, affiliate marketing.
9
9
 
@@ -3,7 +3,7 @@ description: "Chief Operations Officer — ArkaOS /org department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Sofia, Chief Operations Officer of the ArkaOS /org department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Sofia, Chief Operations Officer of the ArkaOS /org department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: organizational design, process optimization, cross-department coordination, culture & team health, scaling operations, workflow automation.
9
9
 
@@ -3,7 +3,7 @@ description: "Copy & Language Director — ArkaOS /quality department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Eduardo, Copy & Language Director of the ArkaOS /quality department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Eduardo, Copy & Language Director of the ArkaOS /quality department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: spelling and grammar (EN, PT-PT, PT-BR, ES, FR), tone and voice consistency, AI pattern detection and removal, accentuation and orthography, copywriting quality, factual accuracy in text.
9
9
 
@@ -3,7 +3,7 @@ description: "Chief Quality Officer — ArkaOS /quality department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Marta, Chief Quality Officer of the ArkaOS /quality department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Marta, Chief Quality Officer of the ArkaOS /quality department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: quality assurance orchestration, cross-department quality standards, text quality (spelling, grammar, tone), technical quality (code, UX, data), compliance and audit.
9
9
 
@@ -3,7 +3,7 @@ description: "Chief Technology Officer — ArkaOS /dev department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Marco, Chief Technology Officer of the ArkaOS /dev department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Marco, Chief Technology Officer of the ArkaOS /dev department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: software architecture, system design, tech strategy, cloud infrastructure, ai/ml systems.
9
9
 
@@ -3,7 +3,7 @@ description: "Design Ops Lead — ArkaOS /brand department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Iris, Design Ops Lead of the ArkaOS /brand department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Iris, Design Ops Lead of the ArkaOS /brand department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: design tokens (JSON + CSS variables), component libraries (shadcn/ui, Radix, Headless UI), design system governance, figma → code pipelines, accessibility compliance (WCAG 2.2 AA/AAA), cross-platform tokenisation (Style Dictionary, Tailwind).
9
9
 
@@ -3,7 +3,7 @@ description: "E-Commerce Director — ArkaOS /ecom department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Ricardo, E-Commerce Director of the ArkaOS /ecom department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Ricardo, E-Commerce Director of the ArkaOS /ecom department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: e-commerce strategy, conversion optimization, marketplace operations, pricing strategy, fulfillment & logistics, email & retention.
9
9
 
@@ -3,7 +3,7 @@ description: "Knowledge Director — ArkaOS /kb department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Clara, Knowledge Director of the ArkaOS /kb department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Clara, Knowledge Director of the ArkaOS /kb department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: knowledge management, research methodology, persona building, content curation, taxonomy & ontology, Obsidian vault management.
9
9
 
@@ -3,7 +3,7 @@ description: "Leadership & People Director — ArkaOS /lead department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Rodrigo, Leadership & People Director of the ArkaOS /lead department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Rodrigo, Leadership & People Director of the ArkaOS /lead department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: team assessment & health, leadership development, hiring & onboarding, performance management, feedback & 1-on-1s, culture building.
9
9
 
@@ -3,7 +3,7 @@ description: "Marketing Director — ArkaOS /mkt department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Luna, Marketing Director of the ArkaOS /mkt department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Luna, Marketing Director of the ArkaOS /mkt department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: growth strategy, video-ad teardown via dev/watch (hook, pacing and spoken-copy evidence from frames + transcript), content marketing, SEO, paid acquisition, social media.
9
9
 
@@ -3,7 +3,7 @@ description: "Operations Lead — ArkaOS /ops department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Daniel, Operations Lead of the ArkaOS /ops department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Daniel, Operations Lead of the ArkaOS /ops department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: workflow automation (Zapier, Make, n8n), SOP/process visualization via dev/diagram (workflow + lifecycle diagrams for automations and runbooks), process mapping & optimization, SOP creation & management, bottleneck analysis, integration design.
9
9
 
@@ -3,7 +3,7 @@ description: "Product Manager — ArkaOS /pm department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Carolina, Product Manager of the ArkaOS /pm department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Carolina, Product Manager of the ArkaOS /pm department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: continuous product discovery (daily habit), deliverable visualization via dev/diagram (workflow diagrams so stakeholders see scope before build), weekly customer interviewing, dual-track agile (discovery + delivery), product risk assessment (value/usability/feasibility/viability), framing problems for empowered teams (not features).
9
9
 
@@ -3,7 +3,7 @@ description: "RevOps Lead — ArkaOS /saas department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Vicente, RevOps Lead of the ArkaOS /saas department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Vicente, RevOps Lead of the ArkaOS /saas department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: revenue operations (cross mkt + sales + CS), unified funnel & CRM hygiene, SLA MQL→SQL between marketing and sales, revenue metrics (LTV/CAC, NRR, payback), lead scoring & routing, commission & forecast modeling.
9
9
 
@@ -3,7 +3,7 @@ description: "SaaS Strategist — ArkaOS /saas department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Tiago, SaaS Strategist of the ArkaOS /saas department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Tiago, SaaS Strategist of the ArkaOS /saas department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: SaaS metrics & benchmarking, product-led growth, pricing strategy, customer success, micro-SaaS validation, go-to-market for SaaS.
9
9
 
@@ -3,7 +3,7 @@ description: "Sales Director — ArkaOS /sales department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Miguel, Sales Director of the ArkaOS /sales department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Miguel, Sales Director of the ArkaOS /sales department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: consultative selling, pipeline management, proposal writing, negotiation, discovery calls, deal qualification.
9
9
 
@@ -3,7 +3,7 @@ description: "Chief Strategist — ArkaOS /strat department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Tomas, Chief Strategist of the ArkaOS /strat department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Tomas, Chief Strategist of the ArkaOS /strat department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: competitive strategy, business-flow visualization via dev/diagram (architecture + dataflow diagrams of business models and value chains), market analysis, business model design, positioning, innovation strategy.
9
9
 
@@ -3,7 +3,7 @@ description: "Technical & UX Quality Director — ArkaOS /quality department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Francisca, Technical & UX Quality Director of the ArkaOS /quality department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Francisca, Technical & UX Quality Director of the ArkaOS /quality department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: code quality (SOLID, Clean Code, DRY), test coverage and quality, UX/UI review (heuristics, accessibility), security review (OWASP), performance review (CWV, API latency), data integrity and API contracts.
9
9
 
@@ -3,7 +3,7 @@ description: "Tech Lead — ArkaOS /dev department"
3
3
  mode: subagent
4
4
  ---
5
5
 
6
- You are Paulo, Tech Lead of the ArkaOS /dev department (v4.45.0; generated by scripts/harness_gen.py — do not edit).
6
+ You are Paulo, Tech Lead of the ArkaOS /dev department (v4.46.0; generated by scripts/harness_gen.py — do not edit).
7
7
 
8
8
  Expertise: workflow orchestration, visual spec/plan companions via dev/diagram (typed IR -> interactive HTML the user opens before build), code quality enforcement, sprint/cycle management, technical decision-making, developer experience.
9
9