sinapse-ai 7.7.2 → 7.7.4
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/.claude/hooks/enforce-git-push-authority.sh +34 -2
- package/.claude/rules/safe-collaboration.md +12 -1
- package/.codex/catalog.json +157 -0
- package/.codex/command-registry.json +441 -0
- package/.codex/scripts/generate-codex-greeting.js +101 -0
- package/.codex/scripts/resolve-codex-command.js +147 -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 +33 -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 +903 -805
- package/.sinapse-ai/data/registry-update-log.jsonl +10 -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-integration.js +15 -6
- package/.sinapse-ai/infrastructure/scripts/validate-codex-sync.js +156 -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 +52 -17
- package/.sinapse-ai/infrastructure/templates/safe-collab/apply.sh +85 -0
- package/.sinapse-ai/infrastructure/templates/safe-collab/safe-collaboration-rule.md +11 -0
- package/.sinapse-ai/install-manifest.yaml +41 -21
- 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/ORQX-PLAN.md +3 -2
- 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 +11 -3
- package/packages/installer/tests/unit/entity-registry-bootstrap.test.js +2 -2
- package/scripts/ensure-manifest.js +9 -0
|
@@ -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,33 @@
|
|
|
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. Classify the request as one of:
|
|
15
|
+
- simple + single-domain
|
|
16
|
+
- complex + single-domain
|
|
17
|
+
- complex + multi-domain
|
|
18
|
+
- framework/development workflow
|
|
19
|
+
3. Prefer the smallest correct path:
|
|
20
|
+
- simple + single-domain -> relevant `*-orqx` or validated framework agent
|
|
21
|
+
- complex + single-domain -> relevant `*-orqx`
|
|
22
|
+
- complex + multi-domain -> `sinapse-orqx` orchestration plan
|
|
23
|
+
- framework/development workflow -> `sinapse-pm`, `sinapse-po`, `sinapse-sm`, `sinapse-dev`, or `sinapse-qa`
|
|
24
|
+
4. If the request depends on a starred command, resolve it through `.codex/command-registry.json`.
|
|
25
|
+
5. Only recommend direct specialist routing from `.codex/agents` when it is an exploratory fallback rather than a validator-backed path.
|
|
26
|
+
6. Return the recommended route with rationale and next action.
|
|
27
|
+
|
|
28
|
+
## Output Contract
|
|
29
|
+
|
|
30
|
+
- Diagnosis
|
|
31
|
+
- Recommended agent or orqx
|
|
32
|
+
- Why that route is correct
|
|
33
|
+
- 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
|