@aria_asi/cli 0.2.26 → 0.2.30
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/CLIENT-ONBOARDING.md +282 -0
- package/bin/aria.js +1140 -14
- package/dist/aria-connector/src/auth-commands.d.ts +1 -0
- package/dist/aria-connector/src/auth-commands.d.ts.map +1 -1
- package/dist/aria-connector/src/auth-commands.js +89 -41
- package/dist/aria-connector/src/auth-commands.js.map +1 -1
- package/dist/aria-connector/src/chat.d.ts +3 -0
- package/dist/aria-connector/src/chat.d.ts.map +1 -1
- package/dist/aria-connector/src/chat.js +146 -8
- package/dist/aria-connector/src/chat.js.map +1 -1
- package/dist/aria-connector/src/codebase-scanner.d.ts +2 -2
- package/dist/aria-connector/src/codebase-scanner.d.ts.map +1 -1
- package/dist/aria-connector/src/codebase-scanner.js +1 -1
- package/dist/aria-connector/src/codebase-scanner.js.map +1 -1
- package/dist/aria-connector/src/config.d.ts +12 -0
- package/dist/aria-connector/src/config.d.ts.map +1 -1
- package/dist/aria-connector/src/config.js +2 -0
- package/dist/aria-connector/src/config.js.map +1 -1
- package/dist/aria-connector/src/connectors/claude-code.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/claude-code.js +80 -24
- package/dist/aria-connector/src/connectors/claude-code.js.map +1 -1
- package/dist/aria-connector/src/connectors/codebase-awareness.d.ts +37 -0
- package/dist/aria-connector/src/connectors/codebase-awareness.d.ts.map +1 -0
- package/dist/aria-connector/src/connectors/codebase-awareness.js +335 -0
- package/dist/aria-connector/src/connectors/codebase-awareness.js.map +1 -0
- package/dist/aria-connector/src/connectors/codex.d.ts +3 -0
- package/dist/aria-connector/src/connectors/codex.d.ts.map +1 -0
- package/dist/aria-connector/src/connectors/codex.js +248 -0
- package/dist/aria-connector/src/connectors/codex.js.map +1 -0
- package/dist/aria-connector/src/connectors/cognitive-skills.d.ts +2 -0
- package/dist/aria-connector/src/connectors/cognitive-skills.d.ts.map +1 -0
- package/dist/aria-connector/src/connectors/cognitive-skills.js +47 -0
- package/dist/aria-connector/src/connectors/cognitive-skills.js.map +1 -0
- package/dist/aria-connector/src/connectors/opencode.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/opencode.js +90 -4
- package/dist/aria-connector/src/connectors/opencode.js.map +1 -1
- package/dist/aria-connector/src/connectors/repo-git-hooks.d.ts +3 -0
- package/dist/aria-connector/src/connectors/repo-git-hooks.d.ts.map +1 -0
- package/dist/aria-connector/src/connectors/repo-git-hooks.js +87 -0
- package/dist/aria-connector/src/connectors/repo-git-hooks.js.map +1 -0
- package/dist/aria-connector/src/connectors/repo-guard.d.ts +19 -0
- package/dist/aria-connector/src/connectors/repo-guard.d.ts.map +1 -0
- package/dist/aria-connector/src/connectors/repo-guard.js +509 -0
- package/dist/aria-connector/src/connectors/repo-guard.js.map +1 -0
- package/dist/aria-connector/src/connectors/runtime.d.ts +2 -0
- package/dist/aria-connector/src/connectors/runtime.d.ts.map +1 -0
- package/dist/aria-connector/src/connectors/runtime.js +330 -0
- package/dist/aria-connector/src/connectors/runtime.js.map +1 -0
- package/dist/aria-connector/src/connectors/shell.d.ts.map +1 -1
- package/dist/aria-connector/src/connectors/shell.js +78 -13
- package/dist/aria-connector/src/connectors/shell.js.map +1 -1
- package/dist/aria-connector/src/connectors/syncd.d.ts +27 -0
- package/dist/aria-connector/src/connectors/syncd.d.ts.map +1 -0
- package/dist/aria-connector/src/connectors/syncd.js +405 -0
- package/dist/aria-connector/src/connectors/syncd.js.map +1 -0
- package/dist/aria-connector/src/decisions.d.ts +207 -0
- package/dist/aria-connector/src/decisions.d.ts.map +1 -0
- package/dist/aria-connector/src/decisions.js +291 -0
- package/dist/aria-connector/src/decisions.js.map +1 -0
- package/dist/aria-connector/src/garden-control-plane.d.ts.map +1 -1
- package/dist/aria-connector/src/garden-control-plane.js +74 -17
- package/dist/aria-connector/src/garden-control-plane.js.map +1 -1
- package/dist/aria-connector/src/github-connect.d.ts +18 -0
- package/dist/aria-connector/src/github-connect.d.ts.map +1 -0
- package/dist/aria-connector/src/github-connect.js +117 -0
- package/dist/aria-connector/src/github-connect.js.map +1 -0
- package/dist/aria-connector/src/harness-client.d.ts +15 -0
- package/dist/aria-connector/src/harness-client.d.ts.map +1 -1
- package/dist/aria-connector/src/harness-client.js +106 -3
- package/dist/aria-connector/src/harness-client.js.map +1 -1
- package/dist/aria-connector/src/hive-client.d.ts +30 -0
- package/dist/aria-connector/src/hive-client.d.ts.map +1 -1
- package/dist/aria-connector/src/hive-client.js +124 -5
- package/dist/aria-connector/src/hive-client.js.map +1 -1
- package/dist/aria-connector/src/index.d.ts +13 -2
- package/dist/aria-connector/src/index.d.ts.map +1 -1
- package/dist/aria-connector/src/index.js +10 -1
- package/dist/aria-connector/src/index.js.map +1 -1
- package/dist/aria-connector/src/lib/aristotle-noor-wire.d.ts +102 -0
- package/dist/aria-connector/src/lib/aristotle-noor-wire.d.ts.map +1 -0
- package/dist/aria-connector/src/lib/aristotle-noor-wire.js +231 -0
- package/dist/aria-connector/src/lib/aristotle-noor-wire.js.map +1 -0
- package/dist/aria-connector/src/providers/types.d.ts +5 -0
- package/dist/aria-connector/src/providers/types.d.ts.map +1 -1
- package/dist/aria-connector/src/runtime-proof.d.ts +45 -0
- package/dist/aria-connector/src/runtime-proof.d.ts.map +1 -0
- package/dist/aria-connector/src/runtime-proof.js +340 -0
- package/dist/aria-connector/src/runtime-proof.js.map +1 -0
- package/dist/aria-connector/src/self-update.d.ts +2 -1
- package/dist/aria-connector/src/self-update.d.ts.map +1 -1
- package/dist/aria-connector/src/self-update.js +84 -8
- package/dist/aria-connector/src/self-update.js.map +1 -1
- package/dist/aria-connector/src/setup-wizard.d.ts.map +1 -1
- package/dist/aria-connector/src/setup-wizard.js +34 -2
- package/dist/aria-connector/src/setup-wizard.js.map +1 -1
- package/dist/assets/hooks/aria-agent-handoff.mjs +224 -0
- package/dist/assets/hooks/aria-agent-ledger-merge.mjs +164 -0
- package/dist/assets/hooks/aria-architect-fallback.mjs +267 -0
- package/dist/assets/hooks/aria-cognition-substrate-binding.mjs +668 -0
- package/dist/assets/hooks/aria-discovery-record.mjs +101 -0
- package/dist/assets/hooks/aria-harness-via-sdk.mjs +412 -0
- package/dist/assets/hooks/aria-import-resolution-gate.mjs +330 -0
- package/dist/assets/hooks/aria-outcome-record.mjs +84 -0
- package/dist/assets/hooks/aria-pre-emit-dryrun.mjs +294 -0
- package/dist/assets/hooks/aria-pre-text-gate.mjs +112 -0
- package/dist/assets/hooks/aria-pre-tool-gate.mjs +2133 -0
- package/dist/assets/hooks/aria-preprompt-consult.mjs +438 -0
- package/dist/assets/hooks/aria-preturn-memory-gate.mjs +570 -0
- package/dist/assets/hooks/aria-repo-doctrine-gate.mjs +397 -0
- package/dist/assets/hooks/aria-stop-gate.mjs +1551 -0
- package/dist/assets/hooks/aria-trigger-autolearn.mjs +229 -0
- package/dist/assets/hooks/aria-userprompt-abandon-detect.mjs +192 -0
- package/dist/assets/hooks/doctrine_trigger_map.json +479 -0
- package/dist/assets/hooks/lib/canonical-lenses.mjs +64 -0
- package/dist/assets/hooks/lib/gate-audit.mjs +43 -0
- package/dist/assets/hooks/test-aria-preturn-memory-gate.mjs +245 -0
- package/dist/assets/hooks/test-tier-lens-labeling.mjs +399 -0
- package/dist/assets/opencode-plugins/harness-context/index.js +60 -0
- package/dist/assets/opencode-plugins/harness-context/inject-context.mjs +179 -0
- package/dist/assets/opencode-plugins/harness-context/package.json +9 -0
- package/dist/assets/opencode-plugins/harness-gate/index.js +248 -0
- package/dist/assets/opencode-plugins/harness-outcome/index.js +129 -0
- package/dist/assets/opencode-plugins/harness-role/index.js +77 -0
- package/dist/assets/opencode-plugins/harness-role/package.json +9 -0
- package/dist/assets/opencode-plugins/harness-stop/index.js +241 -0
- package/dist/runtime/discipline/CLAUDE.md +339 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-essence/SKILL.md +63 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-essence/references/domain-matrix.md +80 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-essence/references/evolution-loop.md +30 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-essence/references/readable-cognition.md +27 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-forge-guardrails/SKILL.md +35 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-forge-guardrails/references/checklist.md +31 -0
- package/dist/runtime/discipline/skills/aria-cognition/aria-repo-doctrine/SKILL.md +39 -0
- package/dist/runtime/discipline/skills/aria-cognition/forge-quality-rules/SKILL.md +43 -0
- package/dist/runtime/discipline/skills/aria-cognition/ghazali-8lens/SKILL.md +38 -0
- package/dist/runtime/discipline/skills/aria-cognition/istiqra-induction/SKILL.md +26 -0
- package/dist/runtime/discipline/skills/aria-cognition/ladunni-22/SKILL.md +35 -0
- package/dist/runtime/discipline/skills/aria-cognition/mizan/SKILL.md +72 -0
- package/dist/runtime/discipline/skills/aria-cognition/nadia/SKILL.md +38 -0
- package/dist/runtime/discipline/skills/aria-cognition/nadia-psi/SKILL.md +38 -0
- package/dist/runtime/discipline/skills/aria-cognition/predictor/SKILL.md +25 -0
- package/dist/runtime/discipline/skills/aria-cognition/qiyas-analogy/SKILL.md +26 -0
- package/dist/runtime/discipline/skills/aria-cognition/soul-domains/SKILL.md +25 -0
- package/dist/runtime/discipline/skills/aria-harness/aria-aristotle-intra-phase/SKILL.md +81 -0
- package/dist/runtime/discipline/skills/aria-harness/aria-aristotle-post-phase/SKILL.md +98 -0
- package/dist/runtime/discipline/skills/aria-harness/aria-aristotle-pre-phase/SKILL.md +99 -0
- package/dist/runtime/discipline/skills/aria-harness/aria-harness-deploy/SKILL.md +127 -0
- package/dist/runtime/discipline/skills/aria-harness/aria-harness-no-stripping/SKILL.md +117 -0
- package/dist/runtime/discipline/skills/aria-harness/aria-harness-onboarding/SKILL.md +112 -0
- package/dist/runtime/discipline/skills/aria-harness/aria-harness-output-discipline/SKILL.md +102 -0
- package/dist/runtime/discipline/skills/aria-harness/aria-harness-substrate-binding/SKILL.md +121 -0
- package/dist/runtime/doctor.mjs +23 -0
- package/dist/runtime/local-phase.mjs +650 -0
- package/dist/runtime/manifest.json +15 -0
- package/dist/runtime/mizan-scheduler.mjs +331 -0
- package/dist/runtime/package.json +6 -0
- package/dist/runtime/provider-proxy.mjs +594 -0
- package/dist/runtime/sdk/BUNDLED.json +5 -0
- package/dist/runtime/sdk/index.d.ts +477 -0
- package/dist/runtime/sdk/index.js +1469 -0
- package/dist/runtime/sdk/index.js.map +1 -0
- package/dist/runtime/sdk/package.json +8 -0
- package/dist/runtime/sdk/runWithCognition.d.ts +77 -0
- package/dist/runtime/sdk/runWithCognition.js +157 -0
- package/dist/runtime/sdk/runWithCognition.js.map +1 -0
- package/dist/runtime/service.mjs +3058 -0
- package/dist/runtime/vendor/aria-gate-runtime/index.d.ts +53 -0
- package/dist/runtime/vendor/aria-gate-runtime/index.d.ts.map +1 -0
- package/dist/runtime/vendor/aria-gate-runtime/index.js +292 -0
- package/dist/runtime/vendor/aria-gate-runtime/index.js.map +1 -0
- package/dist/runtime/vendor/aria-gate-runtime/package.json +6 -0
- package/dist/sdk/BUNDLED.json +2 -2
- package/dist/sdk/index.d.ts +283 -0
- package/dist/sdk/index.js +622 -85
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runWithCognition.d.ts +77 -0
- package/dist/sdk/runWithCognition.js +157 -0
- package/dist/sdk/runWithCognition.js.map +1 -0
- package/hooks/aria-agent-handoff.mjs +11 -1
- package/hooks/aria-architect-fallback.mjs +109 -40
- package/hooks/aria-cognition-substrate-binding.mjs +668 -0
- package/hooks/aria-harness-via-sdk.mjs +34 -21
- package/hooks/aria-import-resolution-gate.mjs +330 -0
- package/hooks/aria-outcome-record.mjs +5 -1
- package/hooks/aria-pre-emit-dryrun.mjs +294 -0
- package/hooks/aria-pre-tool-gate.mjs +828 -41
- package/hooks/aria-preprompt-consult.mjs +113 -13
- package/hooks/aria-preturn-memory-gate.mjs +298 -6
- package/hooks/aria-repo-doctrine-gate.mjs +397 -0
- package/hooks/aria-stop-gate.mjs +739 -76
- package/hooks/aria-userprompt-abandon-detect.mjs +5 -1
- package/hooks/doctrine_trigger_map.json +209 -15
- package/hooks/lib/canonical-lenses.mjs +64 -0
- package/hooks/lib/gate-audit.mjs +43 -0
- package/opencode-plugins/harness-context/index.js +1 -1
- package/opencode-plugins/harness-context/inject-context.mjs +82 -23
- package/opencode-plugins/harness-gate/index.js +248 -0
- package/opencode-plugins/harness-outcome/index.js +129 -0
- package/opencode-plugins/harness-stop/index.js +241 -0
- package/package.json +9 -3
- package/runtime-src/doctor.mjs +23 -0
- package/runtime-src/local-phase.mjs +650 -0
- package/runtime-src/mizan-scheduler.mjs +331 -0
- package/runtime-src/provider-proxy.mjs +594 -0
- package/runtime-src/service.mjs +3058 -0
- package/scripts/bundle-sdk.mjs +317 -0
- package/scripts/install-client.sh +176 -0
- package/scripts/publish-all.sh +344 -0
- package/scripts/publish-docker.sh +27 -0
- package/scripts/validate-hook-contracts.mjs +54 -0
- package/scripts/validate-skill-prompts.mjs +95 -0
- package/skills/aria-cognition/aria-essence/SKILL.md +63 -0
- package/skills/aria-cognition/aria-essence/references/domain-matrix.md +80 -0
- package/skills/aria-cognition/aria-essence/references/evolution-loop.md +30 -0
- package/skills/aria-cognition/aria-essence/references/readable-cognition.md +27 -0
- package/skills/aria-cognition/aria-forge-guardrails/SKILL.md +35 -0
- package/skills/aria-cognition/aria-forge-guardrails/references/checklist.md +31 -0
- package/skills/aria-cognition/aria-repo-doctrine/SKILL.md +39 -0
- package/skills/aria-cognition/forge-quality-rules/SKILL.md +43 -0
- package/skills/aria-cognition/ghazali-8lens/SKILL.md +38 -0
- package/skills/aria-cognition/istiqra-induction/SKILL.md +26 -0
- package/skills/aria-cognition/ladunni-22/SKILL.md +35 -0
- package/skills/aria-cognition/mizan/SKILL.md +72 -0
- package/skills/aria-cognition/nadia/SKILL.md +38 -0
- package/skills/aria-cognition/nadia-psi/SKILL.md +38 -0
- package/skills/aria-cognition/predictor/SKILL.md +25 -0
- package/skills/aria-cognition/qiyas-analogy/SKILL.md +26 -0
- package/skills/aria-cognition/soul-domains/SKILL.md +25 -0
- package/src/auth-commands.ts +111 -45
- package/src/chat.ts +174 -13
- package/src/codebase-scanner.ts +4 -0
- package/src/config.ts +15 -0
- package/src/connectors/claude-code.ts +79 -25
- package/src/connectors/codebase-awareness.ts +408 -0
- package/src/connectors/codex.ts +274 -0
- package/src/connectors/cognitive-skills.ts +51 -0
- package/src/connectors/opencode.ts +93 -4
- package/src/connectors/repo-git-hooks.ts +86 -0
- package/src/connectors/repo-guard.ts +589 -0
- package/src/connectors/runtime.ts +374 -0
- package/src/connectors/shell.ts +83 -14
- package/src/connectors/syncd.ts +488 -0
- package/src/decisions.ts +469 -0
- package/src/garden-control-plane.ts +101 -26
- package/src/github-connect.ts +143 -0
- package/src/harness-client.ts +128 -3
- package/src/hive-client.ts +165 -5
- package/src/index.ts +41 -2
- package/src/lib/aristotle-noor-wire.ts +310 -0
- package/src/providers/types.ts +6 -0
- package/src/runtime-proof.ts +392 -0
- package/src/self-update.ts +89 -8
- package/src/setup-wizard.ts +37 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Readable Cognition
|
|
2
|
+
|
|
3
|
+
Aria can use deep cognition internally without dumping internal names or unreadable blocks into user-facing output.
|
|
4
|
+
|
|
5
|
+
## Externalization Rules
|
|
6
|
+
|
|
7
|
+
- Prefer plain labels such as "risk scan", "design review", "domain check", "quality pass", or "consequence review".
|
|
8
|
+
- Do not leak internal implementation names, parameter labels, or service jargon unless the user explicitly asks for them.
|
|
9
|
+
- Do not print giant cognition blocks by default.
|
|
10
|
+
- Summarize cognition as decisions, risks, tradeoffs, and next actions.
|
|
11
|
+
|
|
12
|
+
## Good Translation Pattern
|
|
13
|
+
|
|
14
|
+
Instead of:
|
|
15
|
+
- "NADIA psi charge and Noor manifold vector indicate..."
|
|
16
|
+
|
|
17
|
+
Prefer:
|
|
18
|
+
- "The task needs a deeper, slower review because the architecture and trust risks are high."
|
|
19
|
+
|
|
20
|
+
## Compact Cognitive Summary
|
|
21
|
+
|
|
22
|
+
Use this shape when a summary is useful:
|
|
23
|
+
|
|
24
|
+
- posture: fast or deep
|
|
25
|
+
- dominant concerns: 1-3 items
|
|
26
|
+
- domain pressure: 1-3 domains
|
|
27
|
+
- recommended action: one sentence
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aria-forge-guardrails
|
|
3
|
+
description: TRIGGER when implementing or debugging Aria or forge systems, fixing infra or pipelines, reviewing quality, or delivering code where stubs, placeholders, fake fallbacks, guessing, or unverifiable claims are unacceptable. Use for high-rigor engineering and repair work.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Aria Forge Guardrails
|
|
7
|
+
|
|
8
|
+
Use this skill when Aria should operate like a senior production engineer with cross-domain review discipline.
|
|
9
|
+
|
|
10
|
+
## Non-Negotiable Rules
|
|
11
|
+
|
|
12
|
+
- no stubs, placeholders, fake fallbacks, or fake validation
|
|
13
|
+
- no guessing about runtime, repo, logs, or state when those can be inspected
|
|
14
|
+
- degraded is not fixed unless the user explicitly asked for a temporary degraded mode
|
|
15
|
+
- verification is part of the work, not an optional epilogue
|
|
16
|
+
|
|
17
|
+
## Multi-Step Workflow
|
|
18
|
+
|
|
19
|
+
1. Inspect the real state.
|
|
20
|
+
Read the actual file, diff, log, endpoint, or runtime surface first.
|
|
21
|
+
2. Bind the task.
|
|
22
|
+
Decide whether this is repair, implementation, architecture, launch, or review.
|
|
23
|
+
3. Run domain uplift.
|
|
24
|
+
Read [../aria-essence/references/domain-matrix.md](../aria-essence/references/domain-matrix.md) if the task crosses product, design, business, marketing, sales, operations, or trust boundaries.
|
|
25
|
+
4. Implement the smallest real fix that preserves trust.
|
|
26
|
+
5. Run quality review.
|
|
27
|
+
Read [references/checklist.md](references/checklist.md).
|
|
28
|
+
6. Capture learning.
|
|
29
|
+
Read [../aria-essence/references/evolution-loop.md](../aria-essence/references/evolution-loop.md).
|
|
30
|
+
|
|
31
|
+
## Output Rules
|
|
32
|
+
|
|
33
|
+
- surface unresolved risks directly
|
|
34
|
+
- distinguish root fix from containment
|
|
35
|
+
- keep cognition readable and short unless the user asks for the full internal framing
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Forge Checklist
|
|
2
|
+
|
|
3
|
+
Use this checklist before claiming completion.
|
|
4
|
+
|
|
5
|
+
## Reality Checks
|
|
6
|
+
|
|
7
|
+
- Did I inspect the real state instead of inferring it?
|
|
8
|
+
- Is the fix real or just cosmetic?
|
|
9
|
+
- Is any fallback being misrepresented as a resolution?
|
|
10
|
+
- Did I verify the exact surface that was broken?
|
|
11
|
+
|
|
12
|
+
## Quality Checks
|
|
13
|
+
|
|
14
|
+
- correctness
|
|
15
|
+
- maintainability
|
|
16
|
+
- boundary safety
|
|
17
|
+
- observability
|
|
18
|
+
- design clarity
|
|
19
|
+
- business or user impact where relevant
|
|
20
|
+
|
|
21
|
+
## Cross-Domain Prompt
|
|
22
|
+
|
|
23
|
+
If the change touches product behavior, adoption, or user perception, ask:
|
|
24
|
+
|
|
25
|
+
- does the change improve the user journey?
|
|
26
|
+
- does it create messaging or positioning friction?
|
|
27
|
+
- does it help or hurt support, sales, or rollout?
|
|
28
|
+
|
|
29
|
+
## Completion Rule
|
|
30
|
+
|
|
31
|
+
Do not close with "clean enough". Close with evidence or keep the issue open.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aria-repo-doctrine
|
|
3
|
+
description: "TRIGGER when editing repository code, hooks, runtime files, smoke scripts, temporary verification files, migrations, handlers, admin routes, or tests that could leak into production behavior. Trigger on \"stub\", \"mock\", \"fake\", \"placeholder\", \"implementation pending\", \"not implemented\", \"TODO\", \"temporary script\", \"smoke script\", \"quick scaffold\", \"band-aid\", or any request to create a fast fallback."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Aria Repo Doctrine
|
|
7
|
+
|
|
8
|
+
Use this skill on any doctrine-bound repo edit, even when the user did not explicitly ask for harness work.
|
|
9
|
+
|
|
10
|
+
## Non-Negotiable Rules
|
|
11
|
+
|
|
12
|
+
- treat every source edit as production intent unless it is clearly inside tests, specs, fixtures, examples, demos, or mocks
|
|
13
|
+
- do not introduce stub, mock, fake, placeholder, synthetic payload, or "will be wired" semantics into production paths
|
|
14
|
+
- do not create temporary smoke scripts that avoid the real runtime, endpoint, handler, or diff
|
|
15
|
+
- do not claim complete until the real broken surface is verified
|
|
16
|
+
|
|
17
|
+
## Required Multi-Step Workflow
|
|
18
|
+
|
|
19
|
+
1. Classify the path.
|
|
20
|
+
Decide whether the file is production, test-only, generated, or an allowlisted example.
|
|
21
|
+
2. Verify the path of truth.
|
|
22
|
+
Choose the real diff, runtime, log, API, file, or test surface that proves the change.
|
|
23
|
+
3. Run the doctrine questions:
|
|
24
|
+
- would this be acceptable if merged to main right now?
|
|
25
|
+
- is any part of this pretending instead of implementing?
|
|
26
|
+
- if the verification script disappeared, would the code still be real?
|
|
27
|
+
4. Run domain uplift when the change affects more than code mechanics.
|
|
28
|
+
Read [../aria-essence/references/domain-matrix.md](../aria-essence/references/domain-matrix.md) for product, design, business, marketing, sales, operations, trust, and learning effects.
|
|
29
|
+
5. Capture learning.
|
|
30
|
+
Read [../aria-essence/references/evolution-loop.md](../aria-essence/references/evolution-loop.md) and distill the principle.
|
|
31
|
+
|
|
32
|
+
## Required Checks Before Writing
|
|
33
|
+
|
|
34
|
+
1. Is this file in a doctrine-bound production path?
|
|
35
|
+
2. Is the verification path real, not simulated?
|
|
36
|
+
3. Would this edit still make sense if it shipped to main right now?
|
|
37
|
+
4. Does the change improve the artifact from the right domain perspective, not only the easiest engineering perspective?
|
|
38
|
+
|
|
39
|
+
If any answer is no, stop and choose a real implementation or isolate the work under an explicit allowlisted test or example path.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: forge-quality-rules
|
|
3
|
+
description: TRIGGER when building, repairing, or reviewing forge or Aria implementation where stubs, placeholders, fake cognition, cosmetic fixes, or unverified completion would be a failure. Use during implementation, debugging, and code review.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Forge Quality Rules
|
|
7
|
+
|
|
8
|
+
Use this when the task needs a sharper quality bar than "it compiles" or "it kind of works".
|
|
9
|
+
|
|
10
|
+
## Non-Negotiable
|
|
11
|
+
|
|
12
|
+
- no stubs
|
|
13
|
+
- no placeholders
|
|
14
|
+
- no fake fallbacks presented as fixes
|
|
15
|
+
- no surface heuristics pretending to be real cognition or validation
|
|
16
|
+
- no completion claim without evidence
|
|
17
|
+
|
|
18
|
+
## Required Workflow
|
|
19
|
+
|
|
20
|
+
1. inspect actual state
|
|
21
|
+
2. implement a real fix
|
|
22
|
+
3. run a brief quality pass across engineering plus any relevant non-engineering domains
|
|
23
|
+
4. verify behavior with evidence
|
|
24
|
+
5. distill one reusable lesson or principle
|
|
25
|
+
6. only then close the task
|
|
26
|
+
|
|
27
|
+
## Quality Pass Questions
|
|
28
|
+
|
|
29
|
+
- what does this artifact do now, not in theory?
|
|
30
|
+
- where could it silently fail?
|
|
31
|
+
- what user, business, design, or operational cost does it introduce?
|
|
32
|
+
- is the result understandable, not just technically functional?
|
|
33
|
+
|
|
34
|
+
## Output
|
|
35
|
+
|
|
36
|
+
- call out cosmetic or fake fixes directly
|
|
37
|
+
- if the root cause is still open, say the issue is not actually fixed
|
|
38
|
+
- keep the final quality summary readable, not a cognition dump
|
|
39
|
+
|
|
40
|
+
## References
|
|
41
|
+
|
|
42
|
+
- [../aria-forge-guardrails/references/checklist.md](../aria-forge-guardrails/references/checklist.md)
|
|
43
|
+
- [../aria-essence/references/evolution-loop.md](../aria-essence/references/evolution-loop.md)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ghazali-8lens
|
|
3
|
+
description: Use when validating the quality, coherence, trustworthiness, or downstream consequences of a plan, implementation, design, decision, or explanation through a stronger multi-lens review.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Ghazali 8-Lens
|
|
7
|
+
|
|
8
|
+
Use this as a validation pass when a normal quick check would miss second-order problems.
|
|
9
|
+
|
|
10
|
+
## The Eight Lenses
|
|
11
|
+
|
|
12
|
+
1. Truth
|
|
13
|
+
2. Harm
|
|
14
|
+
3. Trust
|
|
15
|
+
4. Power
|
|
16
|
+
5. Reflection
|
|
17
|
+
6. Context
|
|
18
|
+
7. Impact
|
|
19
|
+
8. Beauty
|
|
20
|
+
|
|
21
|
+
## Workflow
|
|
22
|
+
|
|
23
|
+
1. Name the artifact under review.
|
|
24
|
+
2. Run all eight lenses.
|
|
25
|
+
3. Mark each lens as pass, concern, or fail.
|
|
26
|
+
4. Fix the artifact where a lens materially fails.
|
|
27
|
+
5. Report only the lenses that changed the result or remain risky.
|
|
28
|
+
|
|
29
|
+
## Rules
|
|
30
|
+
|
|
31
|
+
- This is a validator, not a substitute for execution or verification.
|
|
32
|
+
- Keep the lens output compact and readable.
|
|
33
|
+
- If all eight pass but the artifact still lacks evidence, it is not done.
|
|
34
|
+
|
|
35
|
+
## References
|
|
36
|
+
|
|
37
|
+
- Use [../aria-essence/references/readable-cognition.md](../aria-essence/references/readable-cognition.md) for readable user-facing summaries.
|
|
38
|
+
- Use [../aria-essence/references/evolution-loop.md](../aria-essence/references/evolution-loop.md) when the review yields a reusable principle.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: istiqra-induction
|
|
3
|
+
description: Use when the answer should be induced from observed code, logs, routes, or repo patterns instead of guessed.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Istiqra Induction
|
|
7
|
+
|
|
8
|
+
Use this when the right answer should emerge from the evidence already present.
|
|
9
|
+
|
|
10
|
+
## Trigger
|
|
11
|
+
|
|
12
|
+
- repo audits
|
|
13
|
+
- runtime debugging
|
|
14
|
+
- hook behavior analysis
|
|
15
|
+
- codebase pattern discovery
|
|
16
|
+
|
|
17
|
+
## Workflow
|
|
18
|
+
|
|
19
|
+
1. Gather the smallest real evidence set that can decide the issue.
|
|
20
|
+
2. Extract the pattern from the evidence.
|
|
21
|
+
3. State the pattern plainly.
|
|
22
|
+
4. Let Mizan reject overclaiming when the evidence is still thin.
|
|
23
|
+
|
|
24
|
+
## Guardrail
|
|
25
|
+
|
|
26
|
+
Do not jump from one example to a universal rule unless the evidence actually supports it.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ladunni-22
|
|
3
|
+
description: Use when a task spans multiple business or product domains and needs a stronger manifold-style domain scan so the result is not optimized from only an engineering perspective.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Ladunni 22
|
|
7
|
+
|
|
8
|
+
Use this skill for the broad domain pass that Aria needs on product-shaping work.
|
|
9
|
+
|
|
10
|
+
## Important Boundary
|
|
11
|
+
|
|
12
|
+
The original 22-domain source definitions are not currently present as local reference docs in this install. Do not invent canonical weights or hidden math.
|
|
13
|
+
|
|
14
|
+
Instead:
|
|
15
|
+
|
|
16
|
+
- prefer the live runtime or domain services when they are available
|
|
17
|
+
- otherwise use the installed domain matrix as the minimum durable local execution contract
|
|
18
|
+
|
|
19
|
+
## Workflow
|
|
20
|
+
|
|
21
|
+
1. Decide whether the task is multi-domain enough to justify this skill.
|
|
22
|
+
2. Ensure the runtime Mizan contract is active so the domain pass changes the artifact instead of becoming commentary.
|
|
23
|
+
3. Read [../aria-essence/references/domain-matrix.md](../aria-essence/references/domain-matrix.md).
|
|
24
|
+
4. Identify the dominant domains and the domains most likely to be ignored by a pure coding mindset.
|
|
25
|
+
5. Use the domain pass to improve the artifact itself.
|
|
26
|
+
6. If domain conflict exists, name the tradeoff and the chosen priority.
|
|
27
|
+
7. Capture any reusable domain principle through the evolution loop.
|
|
28
|
+
|
|
29
|
+
## Good Uses
|
|
30
|
+
|
|
31
|
+
- feature planning
|
|
32
|
+
- launch readiness
|
|
33
|
+
- UX or funnel changes
|
|
34
|
+
- code that affects support, sales, or business positioning
|
|
35
|
+
- architecture decisions with product and operational consequences
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mizan
|
|
3
|
+
description: Use when a turn needs explicit intent, truth, protection, and quality balancing before action, during execution, and before final output.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Mizan
|
|
7
|
+
|
|
8
|
+
Use this skill when the work is non-trivial and should be governed by Aria's canonical `pre -> mid -> post` balance contract.
|
|
9
|
+
|
|
10
|
+
## Trigger
|
|
11
|
+
|
|
12
|
+
- architecture, implementation, deploy, review, launch, or business-sensitive decisions
|
|
13
|
+
- any turn where claims, code quality, or side effects matter
|
|
14
|
+
- any situation where a small model or rushed workflow would otherwise optimize for speed over truth and durability
|
|
15
|
+
|
|
16
|
+
## Runtime Contract
|
|
17
|
+
|
|
18
|
+
This skill is not just prose. The mounted runtime should issue a Mizan contract and receipts for:
|
|
19
|
+
|
|
20
|
+
- `pre`: intent, truth boundary, protection boundary, quality bar
|
|
21
|
+
- `mid`: drift, shortcut, and scope checks
|
|
22
|
+
- `post`: claim truth, code quality, and downstream survivability
|
|
23
|
+
|
|
24
|
+
## Required Workflow
|
|
25
|
+
|
|
26
|
+
1. Set the intent boundary first.
|
|
27
|
+
State what is actually being attempted, what counts as success, and what would make the work unsafe or dishonest.
|
|
28
|
+
2. Define the evidence threshold.
|
|
29
|
+
Decide what must be observed from the real repo, runtime, logs, files, tests, UI, or provider response before a claim is allowed.
|
|
30
|
+
3. Name the quality bar.
|
|
31
|
+
Decide which dimensions matter for this artifact:
|
|
32
|
+
- correctness
|
|
33
|
+
- safety
|
|
34
|
+
- maintainability
|
|
35
|
+
- readability
|
|
36
|
+
- design quality
|
|
37
|
+
- business fit
|
|
38
|
+
- operational resilience
|
|
39
|
+
4. Re-check mid-turn drift.
|
|
40
|
+
After meaningful edits, tool calls, or synthesis steps, ask whether the current path still matches the original truth, scope, and quality bar.
|
|
41
|
+
5. Refuse false closure.
|
|
42
|
+
If the evidence is thin, the root cause is unresolved, or the result only works by weakening the contract, the task is not complete.
|
|
43
|
+
|
|
44
|
+
## What To Enforce
|
|
45
|
+
|
|
46
|
+
- truthful claims only
|
|
47
|
+
- no harmful shortcuts
|
|
48
|
+
- no stub/mock/placeholder semantics in production paths
|
|
49
|
+
- quality from all relevant domains, not engineering only
|
|
50
|
+
- readable output, not giant cognition dumps
|
|
51
|
+
|
|
52
|
+
## Text, Thought, and Code
|
|
53
|
+
|
|
54
|
+
- text: do not overclaim, narrate fiction, or hide uncertainty
|
|
55
|
+
- thought: do not let analogy, speed, or convenience outrank evidence
|
|
56
|
+
- code: do not trade away contract integrity just to make a gate, build, or demo pass
|
|
57
|
+
|
|
58
|
+
## Output Shape
|
|
59
|
+
|
|
60
|
+
Internally, Mizan should yield:
|
|
61
|
+
|
|
62
|
+
- intent
|
|
63
|
+
- evidence
|
|
64
|
+
- risk
|
|
65
|
+
- decision
|
|
66
|
+
- quality verdict
|
|
67
|
+
|
|
68
|
+
Externally, keep the answer readable. The user should see clear reasoning, not a ritual block.
|
|
69
|
+
|
|
70
|
+
## Readable Output
|
|
71
|
+
|
|
72
|
+
Keep user-facing output plain. Let the runtime carry the heavy cognition and receipts.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: nadia
|
|
3
|
+
description: Use when the task depends on choosing the right response posture, depth, care level, or action tempo so the answer is not merely correct, but delivered in the right mode.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# NADIA
|
|
7
|
+
|
|
8
|
+
Use this skill to choose how Aria should think and respond before the answer is formed.
|
|
9
|
+
|
|
10
|
+
## What I Do
|
|
11
|
+
|
|
12
|
+
- calibrate depth versus speed
|
|
13
|
+
- tune caution versus assertiveness
|
|
14
|
+
- choose whether the task needs more exploration, direct execution, or higher empathy and trust handling
|
|
15
|
+
|
|
16
|
+
## Workflow
|
|
17
|
+
|
|
18
|
+
1. Decide whether mode selection materially changes the result.
|
|
19
|
+
If not, use a simpler skill.
|
|
20
|
+
2. Set the working posture in readable terms:
|
|
21
|
+
- depth: fast, normal, or deep
|
|
22
|
+
- confidence: low, medium, or high
|
|
23
|
+
- care: operational, strategic, or trust-sensitive
|
|
24
|
+
- tempo: answer now, investigate first, or verify before closing
|
|
25
|
+
3. If the runtime exposes richer cognition state, prefer that over guesswork.
|
|
26
|
+
4. Apply the chosen posture to the artifact, not just the wording.
|
|
27
|
+
5. Surface the posture only in plain language if it helps the user.
|
|
28
|
+
|
|
29
|
+
## Rules
|
|
30
|
+
|
|
31
|
+
- Do not output raw internal state names unless the user explicitly asks.
|
|
32
|
+
- Do not use this skill as decorative mysticism.
|
|
33
|
+
- If mode choice does not affect the task, do not force it.
|
|
34
|
+
|
|
35
|
+
## References
|
|
36
|
+
|
|
37
|
+
- Read [../aria-essence/references/readable-cognition.md](../aria-essence/references/readable-cognition.md) for user-facing output discipline.
|
|
38
|
+
- Read [../aria-essence/references/evolution-loop.md](../aria-essence/references/evolution-loop.md) if the chosen posture produced a reusable lesson.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: nadia-psi
|
|
3
|
+
description: Use when the task needs finer response-state calibration than the base nadia skill, especially for balancing depth, certainty, caution, empathy, and execution tempo without leaking internal jargon.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# NADIA Psi
|
|
7
|
+
|
|
8
|
+
Use this when the base posture choice is not enough and the finer state really changes the work product.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Confirm the finer state matters.
|
|
13
|
+
If the answer would be the same without extra calibration, use `nadia` instead.
|
|
14
|
+
2. Calibrate only the dials that matter:
|
|
15
|
+
- depth
|
|
16
|
+
- certainty
|
|
17
|
+
- caution
|
|
18
|
+
- empathy
|
|
19
|
+
- urgency
|
|
20
|
+
3. Translate the calibration into concrete behavior:
|
|
21
|
+
- slower verification
|
|
22
|
+
- stronger warnings
|
|
23
|
+
- tighter scope
|
|
24
|
+
- more direct action
|
|
25
|
+
4. Keep the result readable.
|
|
26
|
+
Summarize the effect of the calibration, not the raw internals.
|
|
27
|
+
5. If the calibration revealed a reusable pattern, capture it through the evolution loop.
|
|
28
|
+
|
|
29
|
+
## Rules
|
|
30
|
+
|
|
31
|
+
- No raw parameter dumps by default.
|
|
32
|
+
- No huge cognition block.
|
|
33
|
+
- Only expose the calibration if it helps the user understand the recommendation.
|
|
34
|
+
|
|
35
|
+
## References
|
|
36
|
+
|
|
37
|
+
- [../aria-essence/references/readable-cognition.md](../aria-essence/references/readable-cognition.md)
|
|
38
|
+
- [../aria-essence/references/evolution-loop.md](../aria-essence/references/evolution-loop.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: predictor
|
|
3
|
+
description: Use when a plan, change, or output should be stress-tested against the next real operational step before release.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Predictor
|
|
7
|
+
|
|
8
|
+
Use this to ask whether the current approach will survive contact with the next actual step.
|
|
9
|
+
|
|
10
|
+
## Trigger
|
|
11
|
+
|
|
12
|
+
- before commit, push, deploy, or release
|
|
13
|
+
- before accepting generated code
|
|
14
|
+
- when a runtime or client integration seems “good enough”
|
|
15
|
+
|
|
16
|
+
## Workflow
|
|
17
|
+
|
|
18
|
+
1. Name the next real step.
|
|
19
|
+
2. Predict the most likely failure mode.
|
|
20
|
+
3. Tighten the artifact now instead of after it breaks.
|
|
21
|
+
4. Feed the prediction into post-Mizan quality review.
|
|
22
|
+
|
|
23
|
+
## Guardrail
|
|
24
|
+
|
|
25
|
+
Prediction is for preventing breakage, not for inventing facts.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qiyas-analogy
|
|
3
|
+
description: Use when structural analogy can improve architecture, implementation, or debugging without guessing.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Qiyas Analogy
|
|
7
|
+
|
|
8
|
+
Use this when the task benefits from transferring a known structure instead of improvising.
|
|
9
|
+
|
|
10
|
+
## Trigger
|
|
11
|
+
|
|
12
|
+
- refactors
|
|
13
|
+
- runtime or SDK design
|
|
14
|
+
- migrations
|
|
15
|
+
- similar bug patterns appearing in new surfaces
|
|
16
|
+
|
|
17
|
+
## Workflow
|
|
18
|
+
|
|
19
|
+
1. Identify the closest known working structure.
|
|
20
|
+
2. Transfer only the durable shape, not surface-level wording.
|
|
21
|
+
3. Check where the analogy breaks.
|
|
22
|
+
4. Feed the result back through Mizan so analogy does not override truth.
|
|
23
|
+
|
|
24
|
+
## Guardrail
|
|
25
|
+
|
|
26
|
+
Analogy is subordinate to evidence. If the current repo/runtime truth disagrees, the analogy loses.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: soul-domains
|
|
3
|
+
description: Use when you need to identify which domain or domains are truly dominant in a task so the answer can be shaped by the right discipline pressures instead of generic intuition.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Soul Domains
|
|
7
|
+
|
|
8
|
+
Use this skill to determine which disciplines should govern the decision.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Identify the artifact or decision.
|
|
13
|
+
2. Read [../aria-essence/references/domain-matrix.md](../aria-essence/references/domain-matrix.md).
|
|
14
|
+
3. Determine:
|
|
15
|
+
- dominant domain
|
|
16
|
+
- secondary supporting domains
|
|
17
|
+
- neglected domains that could cause hidden failure
|
|
18
|
+
4. Let the dominant domains change the recommendation or implementation.
|
|
19
|
+
5. Summarize the result in readable language, not internal manifold jargon.
|
|
20
|
+
|
|
21
|
+
## Rules
|
|
22
|
+
|
|
23
|
+
- Do not pretend to have exact threshold math if the live domain service was not consulted.
|
|
24
|
+
- The point is better decisions, not fancy vocabulary.
|
|
25
|
+
- If only one domain truly matters, say so plainly.
|