oc-harness-setup 0.1.1 → 0.3.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/.docs/unwired-routing.md +14 -9
- package/.gitignore +14 -1
- package/AGENTS.md +70 -106
- package/README.md +31 -27
- package/agents/build.md +10 -12
- package/agents/explore.md +14 -8
- package/agents/general.md +7 -9
- package/agents/orchestrator.md +38 -0
- package/agents/plan.md +10 -13
- package/agents/reviewer.md +9 -14
- package/agents/vault.md +44 -35
- package/bin/cli.js +323 -81
- package/commands/build.md +2 -8
- package/commands/checkpoint.md +3 -1
- package/commands/code-simplify.md +3 -9
- package/commands/gauntlet.md +7 -0
- package/commands/handoff.md +3 -1
- package/commands/keeper.md +3 -3
- package/commands/kill.md +11 -0
- package/commands/plan.md +2 -13
- package/commands/retro.md +15 -0
- package/commands/review.md +1 -1
- package/commands/ship.md +3 -27
- package/commands/spec.md +3 -11
- package/commands/test.md +2 -9
- package/commands/webperf.md +7 -0
- package/opencode.jsonc +23 -8
- package/package.json +3 -3
- package/reference/README.md +14 -14
- package/reference/auto-mandate.md +11 -0
- package/reference/backup-convention.md +9 -0
- package/reference/clean-mandate.md +13 -0
- package/reference/editor-parity.md +7 -0
- package/reference/gc-scripts.md +8 -0
- package/reference/intent-routing.md +14 -0
- package/reference/lifecycle.md +15 -0
- package/reference/model-keeper.md +30 -10
- package/reference/model-test.md +13 -8
- package/reference/models.md +25 -14
- package/reference/oc-source-map.md +162 -0
- package/reference/owner-pin.md +31 -0
- package/reference/roster.md +15 -0
- package/reference/session-scope.md +9 -0
- package/reference/session-state.md +13 -0
- package/reference/swarm.md +32 -0
- package/scripts/backup-config.ps1 +42 -0
- package/scripts/gc-branch.ps1 +196 -0
- package/scripts/gc-bump.ps1 +198 -0
- package/scripts/gc-clean.ps1 +648 -0
- package/scripts/gc-commit.ps1 +143 -0
- package/scripts/gc-merge.ps1 +272 -0
- package/scripts/gc-pr.ps1 +190 -0
- package/scripts/gc-push.ps1 +111 -0
- package/scripts/gc-read.ps1 +150 -0
- package/scripts/gc-rebase.ps1 +162 -0
- package/scripts/gc-release.ps1 +225 -0
- package/scripts/gc-stage.ps1 +103 -0
- package/scripts/gc-status.ps1 +127 -0
- package/scripts/gc-sync.ps1 +65 -0
- package/scripts/gc.core.ps1 +715 -0
- package/scripts/gc.smoke.ps1 +779 -0
- package/scripts/harness-doctor.ps1 +11 -9
- package/scripts/interrupt-session.ps1 +65 -0
- package/scripts/logbook/README.md +108 -0
- package/scripts/logbook/logbook.test.ts +440 -0
- package/scripts/logbook/logbook.ts +797 -0
- package/scripts/pirep/README.md +147 -0
- package/scripts/pirep/pirep.test.ts +735 -0
- package/scripts/pirep/pirep.ts +836 -0
- package/scripts/testflight/README.md +112 -0
- package/scripts/testflight/testflight.test.ts +512 -0
- package/scripts/testflight/testflight.ts +806 -0
- package/skills/_shared/SOURCES.md +7 -7
- package/skills/_shared/references/definition-of-done.md +2 -2
- package/skills/_shared/references/orchestration-patterns.md +1 -2
- package/skills/_shared/references/security-checklist.md +2 -2
- package/skills/api-and-interface-design/SKILL.md +7 -360
- package/skills/browser-testing-with-devtools/SKILL.md +303 -0
- package/skills/code-simplification/SKILL.md +7 -364
- package/skills/creative-writing/SKILL.md +1 -1
- package/skills/debugging-and-error-recovery/SKILL.md +8 -309
- package/skills/flight-deck/SKILL.md +17 -0
- package/skills/frontend-ui-engineering/SKILL.md +8 -320
- package/skills/gauntlet/SKILL.md +21 -0
- package/skills/git-ceremony/SKILL.md +16 -318
- package/skills/grilling/SKILL.md +10 -30
- package/skills/observability-and-instrumentation/SKILL.md +9 -229
- package/skills/performance-optimization/SKILL.md +8 -488
- package/skills/pilot-report/SKILL.md +18 -0
- package/skills/planning-and-task-breakdown/SKILL.md +8 -249
- package/skills/security-and-hardening/SKILL.md +9 -490
- package/skills/source-driven-development/SKILL.md +8 -208
- package/skills/spec-driven-development/SKILL.md +15 -234
- package/skills/test-driven-development/SKILL.md +8 -388
- package/skills/test-flight/SKILL.md +14 -0
- package/skills/writing-for-agents/SKILL-MECHANICS.md +3 -3
- package/skills/writing-for-agents/SKILL.md +7 -1
- package/agents/coder.md +0 -19
- package/agents/documenter.md +0 -28
- package/agents/keeper.md +0 -22
- package/agents/master.md +0 -65
- package/agents/researcher.md +0 -21
- package/agents/security-auditor.md +0 -20
- package/agents/test-engineer.md +0 -20
- package/agents/web-performance-auditor.md +0 -19
- package/commands/council.md +0 -24
- package/commands/doctor.md +0 -18
- package/commands/ponytail-audit.md +0 -7
- package/commands/ponytail-debt.md +0 -14
- package/reference/models.md.example +0 -21
- package/scripts/panic/panic.ts +0 -240
- package/skills/code-review-and-quality/SKILL.md +0 -396
- package/skills/incremental-implementation/SKILL.md +0 -249
- package/skills/swarm-orchestration/SKILL.md +0 -54
package/agents/vault.md
CHANGED
|
@@ -1,64 +1,73 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "
|
|
2
|
+
description: "Privileged background worker for OpenCode harness files and credential-bearing paths; values never leave their files."
|
|
3
3
|
mode: subagent
|
|
4
|
-
# model: <YOUR_MODEL>
|
|
5
4
|
steps: 40
|
|
6
5
|
permissions:
|
|
7
|
-
- action:
|
|
6
|
+
- action: "*"
|
|
7
|
+
resource: "~/.config/opencode/*"
|
|
8
|
+
effect: allow
|
|
9
|
+
- action: "*"
|
|
8
10
|
resource: "*secrets*"
|
|
9
11
|
effect: allow
|
|
10
|
-
- action:
|
|
12
|
+
- action: "*"
|
|
11
13
|
resource: "*.env*"
|
|
12
14
|
effect: allow
|
|
13
|
-
- action:
|
|
15
|
+
- action: "*"
|
|
16
|
+
resource: "*credentials*"
|
|
17
|
+
effect: allow
|
|
18
|
+
- action: "*"
|
|
19
|
+
resource: "*auth.json*"
|
|
20
|
+
effect: allow
|
|
21
|
+
- action: "*"
|
|
14
22
|
resource: "*service.json*"
|
|
15
23
|
effect: allow
|
|
16
|
-
- action:
|
|
17
|
-
resource: "
|
|
24
|
+
- action: "*"
|
|
25
|
+
resource: "*id_rsa*"
|
|
18
26
|
effect: allow
|
|
19
|
-
- action:
|
|
20
|
-
resource: "*
|
|
27
|
+
- action: "*"
|
|
28
|
+
resource: "*id_ed25519*"
|
|
21
29
|
effect: allow
|
|
22
|
-
- action:
|
|
23
|
-
resource: "
|
|
30
|
+
- action: "*"
|
|
31
|
+
resource: "*id_ecdsa*"
|
|
24
32
|
effect: allow
|
|
25
|
-
- action:
|
|
26
|
-
resource: "*
|
|
33
|
+
- action: "*"
|
|
34
|
+
resource: "*id_dsa*"
|
|
27
35
|
effect: allow
|
|
28
|
-
- action:
|
|
29
|
-
resource: "*
|
|
36
|
+
- action: "*"
|
|
37
|
+
resource: "*.pem*"
|
|
30
38
|
effect: allow
|
|
31
|
-
- action:
|
|
32
|
-
resource: "*.
|
|
39
|
+
- action: "*"
|
|
40
|
+
resource: "*.key*"
|
|
33
41
|
effect: allow
|
|
34
|
-
- action:
|
|
35
|
-
resource: "*
|
|
42
|
+
- action: "*"
|
|
43
|
+
resource: "*.pfx*"
|
|
36
44
|
effect: allow
|
|
37
|
-
- action:
|
|
38
|
-
resource: "*
|
|
45
|
+
- action: "*"
|
|
46
|
+
resource: "*.p12*"
|
|
39
47
|
effect: allow
|
|
40
|
-
- action:
|
|
41
|
-
resource: "*.
|
|
48
|
+
- action: "*"
|
|
49
|
+
resource: "*.netrc*"
|
|
50
|
+
effect: allow
|
|
51
|
+
- action: "*"
|
|
52
|
+
resource: "*.npmrc*"
|
|
42
53
|
effect: allow
|
|
43
54
|
- action: shell
|
|
44
|
-
resource: "*
|
|
55
|
+
resource: "*"
|
|
45
56
|
effect: allow
|
|
46
57
|
- action: subagent
|
|
47
58
|
resource: "*"
|
|
48
59
|
effect: deny
|
|
49
60
|
- action: question
|
|
50
61
|
resource: "*"
|
|
51
|
-
effect:
|
|
62
|
+
effect: deny
|
|
52
63
|
---
|
|
53
64
|
|
|
54
|
-
You are the
|
|
65
|
+
You are the privileged background worker for OpenCode harness files and credential-bearing paths.
|
|
55
66
|
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
- Work only within the brief; one writer per artifact. You do not spawn helpers and you do not hand off review; the parent owns both.
|
|
64
|
-
- Report by pointer: paths + key names touched, commands run, evidence shape, remaining risk, next step.
|
|
67
|
+
- The harness is intentionally editable. When the user requests a change under `~/.config/opencode/`, implement it normally; no extra approval or fixed-config assumption applies.
|
|
68
|
+
- For agent-facing prose or skill structure, exact-load `writing-for-agents`; it is explicit-only to avoid taxing unrelated turns.
|
|
69
|
+
- Values never leave their files. Work by path and key name; never print, paste, echo, log, commit, or place a value in a URL or session artifact.
|
|
70
|
+
- Read the narrowest shape needed. Verify presence, parsing, permissions, or hashes in-process without returning contents.
|
|
71
|
+
- Back up credential files before changing them, write atomically, and verify consumers afterward. Keep examples placeholder-only and confirm project secret files are ignored.
|
|
72
|
+
- Work only inside the brief. Do not delegate, ask the user, or perform adjacent maintenance.
|
|
73
|
+
- Report only what matters for this task: paths and key names touched, commands run, evidence shape, remaining risk, and the next action — each only when it has real content, omit otherwise.
|