sinapse-ai 7.7.3 → 7.7.5
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/.codex/catalog.json +157 -0
- package/.codex/command-registry.json +441 -0
- package/.codex/delegation-matrix.json +512 -0
- package/.codex/handoff-packet.schema.json +148 -0
- package/.codex/scripts/generate-codex-greeting.js +101 -0
- package/.codex/scripts/resolve-codex-command.js +147 -0
- package/.codex/scripts/resolve-codex-delegation.js +205 -0
- package/.codex/skills/sinapse-analyst/SKILL.md +5 -4
- package/.codex/skills/sinapse-architect/SKILL.md +5 -4
- package/.codex/skills/sinapse-data-engineer/SKILL.md +5 -4
- package/.codex/skills/sinapse-dev/SKILL.md +5 -4
- package/.codex/skills/sinapse-devops/SKILL.md +5 -4
- package/.codex/skills/sinapse-orqx/SKILL.md +10 -15
- package/.codex/skills/sinapse-pm/SKILL.md +5 -4
- package/.codex/skills/sinapse-po/SKILL.md +4 -3
- package/.codex/skills/sinapse-qa/SKILL.md +12 -11
- package/.codex/skills/sinapse-sm/SKILL.md +5 -4
- package/.codex/skills/sinapse-squad-creator/SKILL.md +5 -4
- package/.codex/skills/sinapse-ux-design-expert/SKILL.md +5 -4
- package/.codex/tasks/convene-sinapse-council.md +28 -0
- package/.codex/tasks/create-sinapse-strategic-brief.md +29 -0
- package/.codex/tasks/onboard-sinapse-codex.md +34 -0
- package/.codex/tasks/plan-sinapse-initiative.md +33 -0
- package/.codex/tasks/resolve-sinapse-conflict.md +28 -0
- package/.codex/tasks/route-sinapse-request.md +35 -0
- package/.codex/tasks/status-sinapse-capabilities.md +28 -0
- package/.sinapse-ai/core-config.yaml +1 -1
- package/.sinapse-ai/data/entity-registry.yaml +874 -749
- package/.sinapse-ai/data/registry-update-log.jsonl +13 -0
- package/.sinapse-ai/infrastructure/scripts/codex-parity/catalog.js +123 -0
- package/.sinapse-ai/infrastructure/scripts/codex-skills-sync/index.js +60 -11
- package/.sinapse-ai/infrastructure/scripts/codex-skills-sync/validate.js +44 -16
- package/.sinapse-ai/infrastructure/scripts/sync-codex-local-first.js +156 -0
- package/.sinapse-ai/infrastructure/scripts/validate-codex-command-registry.js +264 -0
- package/.sinapse-ai/infrastructure/scripts/validate-codex-delegation.js +292 -0
- package/.sinapse-ai/infrastructure/scripts/validate-codex-integration.js +15 -6
- package/.sinapse-ai/infrastructure/scripts/validate-codex-sync.js +159 -0
- package/.sinapse-ai/infrastructure/scripts/validate-parity.js +3 -1
- package/.sinapse-ai/infrastructure/scripts/validate-paths.js +8 -10
- package/.sinapse-ai/infrastructure/templates/safe-collab/README.md +8 -0
- package/.sinapse-ai/install-manifest.yaml +39 -19
- package/.sinapse-ai/project-config.yaml +1 -1
- package/bin/utils/collab-start.js +267 -0
- package/bin/utils/git-branch-guard.js +76 -0
- package/bin/utils/pre-push-safety.js +110 -0
- package/bin/utils/staged-secret-scan.js +108 -0
- package/docs/codex-parity-program.md +670 -0
- package/docs/codex-total-parity-orchestration-plan.md +301 -0
- package/docs/codex-workflow-task-parity.md +87 -0
- package/docs/collaboration-autonomy-plan.md +243 -0
- package/docs/guides/framework-contributor-mode.md +310 -0
- package/docs/guides/parallel-collaboration-source-of-truth.md +481 -0
- package/package.json +14 -3
- package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +7 -2
- package/packages/installer/tests/unit/entity-registry-bootstrap.test.js +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sinapse-qa
|
|
3
|
-
description: Test Architect & Quality Advisor (
|
|
3
|
+
description: Test Architect & Quality Advisor (Litmus). Use for comprehensive test architecture review, quality gate decisions, and code improvement. Provides thorough analysis including req...
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# SINAPSE Test Architect & Quality Advisor Activator
|
|
@@ -10,19 +10,20 @@ Use for comprehensive test architecture review, quality gate decisions, and code
|
|
|
10
10
|
|
|
11
11
|
## Activation Protocol
|
|
12
12
|
1. Load `.sinapse-ai/development/agents/quality-gate.md` as source of truth (fallback: `.codex/agents/quality-gate.md`).
|
|
13
|
-
2.
|
|
14
|
-
3.
|
|
15
|
-
4.
|
|
13
|
+
2. Generate greeting via `node .sinapse-ai/development/scripts/generate-greeting.js qa` and show it first.
|
|
14
|
+
3. Adopt this agent persona and command system.
|
|
15
|
+
4. If a starred command is invoked in Codex, resolve it via `node .codex/scripts/resolve-codex-command.js sinapse-qa <command>` when a registry mapping exists.
|
|
16
|
+
5. Stay in this persona until the user asks to switch or exit.
|
|
16
17
|
|
|
17
18
|
## Starter Commands
|
|
18
19
|
- `*help` - Show all available commands with descriptions
|
|
19
|
-
- `*code-review
|
|
20
|
-
- `*review
|
|
21
|
-
- `*
|
|
22
|
-
- `*
|
|
23
|
-
- `*
|
|
24
|
-
- `*
|
|
25
|
-
- `*
|
|
20
|
+
- `*code-review` - Run automated review (scope: uncommitted or committed)
|
|
21
|
+
- `*review` - Comprehensive story review with gate decision
|
|
22
|
+
- `*gate` - Create quality gate decision
|
|
23
|
+
- `*nfr-assess` - Validate non-functional requirements
|
|
24
|
+
- `*risk-profile` - Generate risk assessment matrix
|
|
25
|
+
- `*security-check` - Run 8-point security vulnerability scan
|
|
26
|
+
- `*test-design` - Create comprehensive test scenarios
|
|
26
27
|
|
|
27
28
|
## Non-Negotiables
|
|
28
29
|
- Follow `.sinapse-ai/constitution.md`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sinapse-sm
|
|
3
|
-
description: Scrum Master (
|
|
3
|
+
description: Scrum Master (Sync). Use for user story creation from PRD, story validation and completeness checking, acceptance criteria definition, story refinement, sprint planning, backlog...
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# SINAPSE Scrum Master Activator
|
|
@@ -10,9 +10,10 @@ Use for user story creation from PRD, story validation and completeness checking
|
|
|
10
10
|
|
|
11
11
|
## Activation Protocol
|
|
12
12
|
1. Load `.sinapse-ai/development/agents/sprint-lead.md` as source of truth (fallback: `.codex/agents/sprint-lead.md`).
|
|
13
|
-
2.
|
|
14
|
-
3.
|
|
15
|
-
4.
|
|
13
|
+
2. Generate greeting via `node .sinapse-ai/development/scripts/generate-greeting.js sm` and show it first.
|
|
14
|
+
3. Adopt this agent persona and command system.
|
|
15
|
+
4. If a starred command is invoked in Codex, resolve it via `node .codex/scripts/resolve-codex-command.js sinapse-sm <command>` when a registry mapping exists.
|
|
16
|
+
5. Stay in this persona until the user asks to switch or exit.
|
|
16
17
|
|
|
17
18
|
## Starter Commands
|
|
18
19
|
- `*help` - Show all available commands with descriptions
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sinapse-squad-creator
|
|
3
|
-
description: Squad Creator (
|
|
3
|
+
description: Squad Creator (Loom). Use to create, validate, publish and manage squads
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# SINAPSE Squad Creator Activator
|
|
@@ -10,9 +10,10 @@ Use to create, validate, publish and manage squads
|
|
|
10
10
|
|
|
11
11
|
## Activation Protocol
|
|
12
12
|
1. Load `.sinapse-ai/development/agents/squad-creator.md` as source of truth (fallback: `.codex/agents/squad-creator.md`).
|
|
13
|
-
2.
|
|
14
|
-
3.
|
|
15
|
-
4.
|
|
13
|
+
2. Generate greeting via `node .sinapse-ai/development/scripts/generate-greeting.js squad-creator` and show it first.
|
|
14
|
+
3. Adopt this agent persona and command system.
|
|
15
|
+
4. If a starred command is invoked in Codex, resolve it via `node .codex/scripts/resolve-codex-command.js sinapse-squad-creator <command>` when a registry mapping exists.
|
|
16
|
+
5. Stay in this persona until the user asks to switch or exit.
|
|
16
17
|
|
|
17
18
|
## Starter Commands
|
|
18
19
|
- `*help` - Show all available commands with descriptions
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sinapse-ux-design-expert
|
|
3
|
-
description: UX/UI Designer & Design System Architect (
|
|
3
|
+
description: UX/UI Designer & Design System Architect (Mosaic). Complete design workflow - user research, wireframes, design systems, token extraction, component building, and quality assurance
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# SINAPSE UX/UI Designer & Design System Architect Activator
|
|
@@ -10,9 +10,10 @@ Complete design workflow - user research, wireframes, design systems, token extr
|
|
|
10
10
|
|
|
11
11
|
## Activation Protocol
|
|
12
12
|
1. Load `.sinapse-ai/development/agents/ux-design-expert.md` as source of truth (fallback: `.codex/agents/ux-design-expert.md`).
|
|
13
|
-
2.
|
|
14
|
-
3.
|
|
15
|
-
4.
|
|
13
|
+
2. Generate greeting via `node .sinapse-ai/development/scripts/generate-greeting.js ux-design-expert` and show it first.
|
|
14
|
+
3. Adopt this agent persona and command system.
|
|
15
|
+
4. If a starred command is invoked in Codex, resolve it via `node .codex/scripts/resolve-codex-command.js sinapse-ux-design-expert <command>` when a registry mapping exists.
|
|
16
|
+
5. Stay in this persona until the user asks to switch or exit.
|
|
16
17
|
|
|
17
18
|
## Starter Commands
|
|
18
19
|
- `*help` - List available commands
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Codex Council Task
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Frame a strategic decision for council-style deliberation in Codex.
|
|
6
|
+
|
|
7
|
+
## Required Inputs
|
|
8
|
+
|
|
9
|
+
- Strategic question
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Read `.codex/catalog.json`, `.codex/agents/sinapse-orqx.md`, and `.codex/agents/council-orqx.md`.
|
|
14
|
+
2. Restate the decision in a way that is actionable and falsifiable.
|
|
15
|
+
3. Identify which strategic lenses or squads should weigh in.
|
|
16
|
+
4. Summarize:
|
|
17
|
+
- core decision
|
|
18
|
+
- options
|
|
19
|
+
- tradeoffs
|
|
20
|
+
- recommended route
|
|
21
|
+
5. If execution needs a concrete framework command, resolve it via `.codex/command-registry.json`.
|
|
22
|
+
|
|
23
|
+
## Output Contract
|
|
24
|
+
|
|
25
|
+
- Strategic decision frame
|
|
26
|
+
- Options and tradeoffs
|
|
27
|
+
- Recommended council/orqx route
|
|
28
|
+
- Next action
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Codex Strategic Brief Task
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Generate a Codex-compatible strategic brief that pulls the minimum relevant squads into scope.
|
|
6
|
+
|
|
7
|
+
## Required Inputs
|
|
8
|
+
|
|
9
|
+
- Topic or initiative to brief
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Read `.codex/catalog.json` and `.codex/agents/sinapse-orqx.md`.
|
|
14
|
+
2. Classify the topic by domains, urgency, and decision horizon.
|
|
15
|
+
3. Identify the minimum relevant orqx set for the brief.
|
|
16
|
+
4. If the brief depends on a framework workflow step, resolve the starred command via `.codex/command-registry.json`.
|
|
17
|
+
5. Produce a concise brief with:
|
|
18
|
+
- objective
|
|
19
|
+
- squads/orqx to involve
|
|
20
|
+
- key unknowns
|
|
21
|
+
- risks
|
|
22
|
+
- recommended next action
|
|
23
|
+
|
|
24
|
+
## Output Contract
|
|
25
|
+
|
|
26
|
+
- Strategic brief
|
|
27
|
+
- Recommended squad/orqx set
|
|
28
|
+
- Key risks and unknowns
|
|
29
|
+
- Immediate next step
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Codex Onboard Task
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Guide the user through the real Codex operating surface for SINAPSE in this repository.
|
|
6
|
+
|
|
7
|
+
## Required Inputs
|
|
8
|
+
|
|
9
|
+
- Optional focus area or domain
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Read `AGENTS.md` and `.codex/catalog.json`.
|
|
14
|
+
2. Explain the preferred activation path in Codex:
|
|
15
|
+
- `/skills` -> `sinapse-<agent>`
|
|
16
|
+
- `@agent` aliases from `AGENTS.md`
|
|
17
|
+
3. Explain the two Codex layers:
|
|
18
|
+
- `.codex/skills` for activation
|
|
19
|
+
- `.codex/agents` for expanded catalog and specialist context
|
|
20
|
+
4. Explain the validated operator commands:
|
|
21
|
+
- `npm run sync:ide:codex`
|
|
22
|
+
- `npm run validate:codex-sync`
|
|
23
|
+
- `npm run validate:codex-integration`
|
|
24
|
+
- `npm run validate:codex-commands`
|
|
25
|
+
- `npm run validate:codex-skills`
|
|
26
|
+
- `npm run validate:paths`
|
|
27
|
+
5. If the user asks how commands map to tasks/workflows, consult `.codex/command-registry.json`.
|
|
28
|
+
6. Tailor the final walkthrough to the requested focus area, if provided.
|
|
29
|
+
|
|
30
|
+
## Output Contract
|
|
31
|
+
|
|
32
|
+
- Short explanation of how to activate agents in Codex
|
|
33
|
+
- Short explanation of how workflows/tasks are resolved in Codex
|
|
34
|
+
- Concrete next step for the user based on the requested focus
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Codex Plan Task
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Produce a Codex-compatible multi-agent execution plan for a complex initiative.
|
|
6
|
+
|
|
7
|
+
## Required Inputs
|
|
8
|
+
|
|
9
|
+
- Initiative description
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Read `.codex/catalog.json`.
|
|
14
|
+
2. Break the initiative into domains, risks, and dependencies.
|
|
15
|
+
3. Choose the minimum agent/orqx set required for execution.
|
|
16
|
+
4. For framework workflow steps, resolve commands via `.codex/command-registry.json`.
|
|
17
|
+
5. Structure the plan in phases:
|
|
18
|
+
- diagnosis
|
|
19
|
+
- preparation
|
|
20
|
+
- execution
|
|
21
|
+
- validation
|
|
22
|
+
6. For each phase, define:
|
|
23
|
+
- owner agent/orqx
|
|
24
|
+
- expected artifact or outcome
|
|
25
|
+
- validation step
|
|
26
|
+
7. Keep the plan Codex-only unless a shared-surface risk is explicitly flagged.
|
|
27
|
+
|
|
28
|
+
## Output Contract
|
|
29
|
+
|
|
30
|
+
- Phase-by-phase execution plan
|
|
31
|
+
- Ownership and handoffs
|
|
32
|
+
- Validation gates
|
|
33
|
+
- Shared-surface risks, if any
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Codex Conflict Resolution Task
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Resolve cross-squad conflicts or domain overlap without relying on shared-runtime hooks.
|
|
6
|
+
|
|
7
|
+
## Required Inputs
|
|
8
|
+
|
|
9
|
+
- Conflict or overlap description
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Read `.codex/catalog.json`, `.codex/agents/sinapse-orqx.md`, and `docs/codex-parity-program.md`.
|
|
14
|
+
2. Identify the squads, agents, or workflow surfaces in conflict.
|
|
15
|
+
3. Separate the problem into:
|
|
16
|
+
- ownership conflict
|
|
17
|
+
- sequencing conflict
|
|
18
|
+
- shared-surface risk
|
|
19
|
+
- validation gap
|
|
20
|
+
4. Recommend the smallest Codex-safe resolution path.
|
|
21
|
+
5. If a framework command is needed, resolve it through `.codex/command-registry.json`.
|
|
22
|
+
|
|
23
|
+
## Output Contract
|
|
24
|
+
|
|
25
|
+
- Conflict diagnosis
|
|
26
|
+
- Recommended owner and route
|
|
27
|
+
- Shared-surface risks, if any
|
|
28
|
+
- Immediate next command or handoff
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Codex Route Task
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Diagnose a request and choose the smallest correct Codex routing path.
|
|
6
|
+
|
|
7
|
+
## Required Inputs
|
|
8
|
+
|
|
9
|
+
- Request description
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Read `.codex/catalog.json`.
|
|
14
|
+
2. Read `.codex/delegation-matrix.json`.
|
|
15
|
+
3. Classify the request as one of:
|
|
16
|
+
- simple + single-domain
|
|
17
|
+
- complex + single-domain
|
|
18
|
+
- complex + multi-domain
|
|
19
|
+
- framework/development workflow
|
|
20
|
+
4. Prefer the smallest correct path:
|
|
21
|
+
- simple + single-domain -> relevant `*-orqx` or validated framework agent
|
|
22
|
+
- complex + single-domain -> relevant `*-orqx`
|
|
23
|
+
- complex + multi-domain -> `sinapse-orqx` orchestration plan
|
|
24
|
+
- framework/development workflow -> `sinapse-pm`, `sinapse-po`, `sinapse-sm`, `sinapse-dev`, or `sinapse-qa`
|
|
25
|
+
5. When the request matches an approved handoff route, resolve it through `.codex/delegation-matrix.json`.
|
|
26
|
+
6. If the request depends on a starred command, resolve it through `.codex/command-registry.json`.
|
|
27
|
+
7. Only recommend direct specialist routing from `.codex/agents` when the delegation matrix marks it as `exploratory`.
|
|
28
|
+
8. Return the recommended route with rationale, classification, and next action.
|
|
29
|
+
|
|
30
|
+
## Output Contract
|
|
31
|
+
|
|
32
|
+
- Diagnosis
|
|
33
|
+
- Recommended agent or orqx
|
|
34
|
+
- Why that route is correct
|
|
35
|
+
- Immediate next command or handoff
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Codex Status Task
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Report the validated Codex capability surface for SINAPSE in this repository.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. Read `.codex/catalog.json`.
|
|
10
|
+
2. Summarize:
|
|
11
|
+
- expanded Codex catalog mode
|
|
12
|
+
- agent and skill coverage
|
|
13
|
+
- validated commands available through `.codex/command-registry.json`
|
|
14
|
+
3. Mention the current Codex validation commands:
|
|
15
|
+
- `npm run validate:codex-sync`
|
|
16
|
+
- `npm run validate:codex-integration`
|
|
17
|
+
- `npm run validate:codex-commands`
|
|
18
|
+
- `npm run validate:codex-skills`
|
|
19
|
+
- `npm run validate:paths`
|
|
20
|
+
4. If relevant, mention known external blockers outside Codex-only scope:
|
|
21
|
+
- shared canonical parse issues
|
|
22
|
+
- non-Codex failures in `validate:parity`
|
|
23
|
+
|
|
24
|
+
## Output Contract
|
|
25
|
+
|
|
26
|
+
- Short current-status summary
|
|
27
|
+
- Validated capability list
|
|
28
|
+
- Remaining blockers split into Codex-only vs external/shared
|