@tudeorangbiasa/sdd-multiagent-opencode 0.1.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.
- package/.opencode/agents/sdd-explorer.md +75 -0
- package/.opencode/agents/sdd-implementer.md +72 -0
- package/.opencode/agents/sdd-orchestrator.md +152 -0
- package/.opencode/agents/sdd-planner.md +58 -0
- package/.opencode/agents/sdd-reviewer.md +74 -0
- package/.opencode/agents/sdd-verifier.md +90 -0
- package/.opencode/commands/audit.md +75 -0
- package/.opencode/commands/brief.md +190 -0
- package/.opencode/commands/evolve.md +87 -0
- package/.opencode/commands/execute-parallel.md +116 -0
- package/.opencode/commands/execute-task.md +81 -0
- package/.opencode/commands/generate-prd.md +82 -0
- package/.opencode/commands/generate-rules.md +67 -0
- package/.opencode/commands/grill-me.md +99 -0
- package/.opencode/commands/implement.md +149 -0
- package/.opencode/commands/init-sdd.md +141 -0
- package/.opencode/commands/plan.md +96 -0
- package/.opencode/commands/refine.md +115 -0
- package/.opencode/commands/research.md +194 -0
- package/.opencode/commands/sdd-full-plan.md +91 -0
- package/.opencode/commands/specify.md +124 -0
- package/.opencode/commands/tasks.md +110 -0
- package/.opencode/commands/upgrade.md +107 -0
- package/.opencode/skills/sdd-audit/SKILL.md +59 -0
- package/.opencode/skills/sdd-evolve/SKILL.md +95 -0
- package/.opencode/skills/sdd-implementation/SKILL.md +88 -0
- package/.opencode/skills/sdd-planning/SKILL.md +59 -0
- package/.opencode/skills/sdd-research/SKILL.md +44 -0
- package/.sdd/config.json +36 -0
- package/.sdd/templates/feature-brief-v2.md +65 -0
- package/.sdd/templates/plan-compact.md +50 -0
- package/.sdd/templates/project-profile-template.json +33 -0
- package/.sdd/templates/research-compact.md +114 -0
- package/.sdd/templates/roadmap-template.json +29 -0
- package/.sdd/templates/roadmap-template.md +66 -0
- package/.sdd/templates/spec-compact.md +71 -0
- package/.sdd/templates/tasks-compact.md +48 -0
- package/.sdd/templates/todo-compact.md +30 -0
- package/README.md +272 -0
- package/bin/sdd-opencode.js +387 -0
- package/opencode.json +98 -0
- package/package.json +28 -0
- package/vendor/opencode-agent-rules/.opencode/plugins/context-guard.js +7 -0
- package/vendor/opencode-agent-rules/.opencode/rules/cli-first.md +31 -0
- package/vendor/opencode-agent-rules/.opencode/rules/context-budget.md +39 -0
- package/vendor/opencode-agent-rules/.opencode/rules/core-behavior.md +44 -0
- package/vendor/opencode-agent-rules/.opencode/rules/status-verification.md +36 -0
- package/vendor/opencode-agent-rules/AGENTS.md +64 -0
- package/vendor/opencode-agent-rules/opencode.json +9 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# OpenCode Agent Contract
|
|
2
|
+
|
|
3
|
+
## Default Posture
|
|
4
|
+
|
|
5
|
+
- Act before explaining when tools can ground the answer.
|
|
6
|
+
- Read before editing and verify after meaningful changes.
|
|
7
|
+
- Match effort to task complexity and risk.
|
|
8
|
+
- Prefer the smallest safe change that solves the real problem.
|
|
9
|
+
- Reuse existing patterns before inventing new abstractions.
|
|
10
|
+
- Separate observation, inference, and assumption in reports.
|
|
11
|
+
|
|
12
|
+
## Solver Loop
|
|
13
|
+
|
|
14
|
+
For non-trivial work:
|
|
15
|
+
|
|
16
|
+
1. Define the outcome in operational terms.
|
|
17
|
+
2. Inspect the repo and current environment before choosing an approach.
|
|
18
|
+
3. Find the spine: entry points, data flow, state boundaries, persistence, and user-visible behavior.
|
|
19
|
+
4. Build the smallest vertical slice that proves the solution works.
|
|
20
|
+
5. Verify at the surface where the user experiences the change.
|
|
21
|
+
6. Expand scope only after the core slice is working.
|
|
22
|
+
|
|
23
|
+
## Scope Control
|
|
24
|
+
|
|
25
|
+
- Do exactly the slice the user asked for.
|
|
26
|
+
- Do not broaden scope with opportunistic cleanup, refactors, or polish unless needed for the requested outcome.
|
|
27
|
+
- If scope changes during the work, say what changed and why before continuing beyond the original slice.
|
|
28
|
+
- If unrelated or unexpected edits appear, stop and ask before proceeding.
|
|
29
|
+
|
|
30
|
+
## Tool And Scaffold Discipline
|
|
31
|
+
|
|
32
|
+
- Do not invent tool names, wrappers, or APIs that are not present in the current environment.
|
|
33
|
+
- Prefer direct tools over shell when the environment exposes a dedicated tool for the action.
|
|
34
|
+
- Parallelize independent reads and searches; serialize dependent steps.
|
|
35
|
+
- Verify new packages, frameworks, and toolchains against current authoritative sources before recommending them.
|
|
36
|
+
- Use official CLI or `create`/`init` scaffolding paths when they exist.
|
|
37
|
+
- Do not hand-write manifests, boilerplate, or generated project structure when an official scaffold exists.
|
|
38
|
+
- After running any scaffold or generator, inspect the created directory structure before proceeding.
|
|
39
|
+
|
|
40
|
+
## Status And Verification
|
|
41
|
+
|
|
42
|
+
Use explicit status labels:
|
|
43
|
+
|
|
44
|
+
- `changed`: something was edited or produced.
|
|
45
|
+
- `verified`: a relevant check proves the claim.
|
|
46
|
+
- `unverified`: work exists but required proof was not run.
|
|
47
|
+
- `blocked`: required progress or proof failed.
|
|
48
|
+
- `assumption`: a choice or statement depends on inference rather than direct evidence.
|
|
49
|
+
|
|
50
|
+
Do not use `done`, `fixed`, `working`, or `resolved` without naming proof.
|
|
51
|
+
|
|
52
|
+
## Context Budget
|
|
53
|
+
|
|
54
|
+
- Keep active context below 80%.
|
|
55
|
+
- At roughly 60%, reduce loaded context and checkpoint state.
|
|
56
|
+
- At roughly 80%, rely on compaction and preserve only source-of-truth state.
|
|
57
|
+
- Prefer project files, specs, and checkpoints over conversation memory.
|
|
58
|
+
|
|
59
|
+
## UI Work
|
|
60
|
+
|
|
61
|
+
- If `DESIGN.md` exists, it is the visual source of truth.
|
|
62
|
+
- If `PRODUCT.md` exists, preserve product positioning and brand voice.
|
|
63
|
+
- Do not apply external style skills to an existing project unless requested.
|
|
64
|
+
- UI or interaction claims require browser or user-surface verification.
|