briefops 1.1.0 → 2.1.1

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.
Files changed (93) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +88 -49
  3. package/SECURITY.md +4 -3
  4. package/dist/cli.js +6 -0
  5. package/dist/cli.js.map +1 -1
  6. package/dist/commands/bootstrap.d.ts +2 -0
  7. package/dist/commands/bootstrap.js +59 -0
  8. package/dist/commands/bootstrap.js.map +1 -0
  9. package/dist/commands/continue.js +5 -4
  10. package/dist/commands/continue.js.map +1 -1
  11. package/dist/commands/doctor.js +27 -0
  12. package/dist/commands/doctor.js.map +1 -1
  13. package/dist/commands/finish.js +9 -1
  14. package/dist/commands/finish.js.map +1 -1
  15. package/dist/commands/harness.d.ts +2 -0
  16. package/dist/commands/harness.js +56 -0
  17. package/dist/commands/harness.js.map +1 -0
  18. package/dist/commands/memory.js +20 -3
  19. package/dist/commands/memory.js.map +1 -1
  20. package/dist/commands/obs.d.ts +2 -0
  21. package/dist/commands/obs.js +51 -0
  22. package/dist/commands/obs.js.map +1 -0
  23. package/dist/commands/skill.js +1 -1
  24. package/dist/commands/skill.js.map +1 -1
  25. package/dist/core/bootstrap.d.ts +25 -0
  26. package/dist/core/bootstrap.js +69 -0
  27. package/dist/core/bootstrap.js.map +1 -0
  28. package/dist/core/codex.js +32 -5
  29. package/dist/core/codex.js.map +1 -1
  30. package/dist/core/codexPlugin.js +53 -12
  31. package/dist/core/codexPlugin.js.map +1 -1
  32. package/dist/core/exportTargets.js +21 -18
  33. package/dist/core/exportTargets.js.map +1 -1
  34. package/dist/core/harness.d.ts +27 -0
  35. package/dist/core/harness.js +342 -0
  36. package/dist/core/harness.js.map +1 -0
  37. package/dist/core/lock.d.ts +1 -0
  38. package/dist/core/lock.js +18 -4
  39. package/dist/core/lock.js.map +1 -1
  40. package/dist/core/memory.d.ts +4 -1
  41. package/dist/core/memory.js +54 -2
  42. package/dist/core/memory.js.map +1 -1
  43. package/dist/core/memoryHygiene.d.ts +11 -0
  44. package/dist/core/memoryHygiene.js +93 -0
  45. package/dist/core/memoryHygiene.js.map +1 -1
  46. package/dist/core/memoryProposal.js +21 -8
  47. package/dist/core/memoryProposal.js.map +1 -1
  48. package/dist/core/observability.d.ts +36 -0
  49. package/dist/core/observability.js +70 -0
  50. package/dist/core/observability.js.map +1 -0
  51. package/dist/core/prime.js +16 -9
  52. package/dist/core/prime.js.map +1 -1
  53. package/dist/core/securityDoctor.js +3 -5
  54. package/dist/core/securityDoctor.js.map +1 -1
  55. package/dist/core/strictDoctor.d.ts +22 -0
  56. package/dist/core/strictDoctor.js +95 -0
  57. package/dist/core/strictDoctor.js.map +1 -0
  58. package/dist/core/workflow.d.ts +4 -0
  59. package/dist/core/workflow.js +21 -2
  60. package/dist/core/workflow.js.map +1 -1
  61. package/dist/core/workspace.js +13 -1
  62. package/dist/core/workspace.js.map +1 -1
  63. package/dist/schemas/memory.d.ts +100 -0
  64. package/dist/schemas/memory.js +9 -1
  65. package/dist/schemas/memory.js.map +1 -1
  66. package/dist/schemas/memoryProposal.d.ts +115 -0
  67. package/dist/schemas/memoryProposal.js +2 -1
  68. package/dist/schemas/memoryProposal.js.map +1 -1
  69. package/dist/version.d.ts +1 -1
  70. package/dist/version.js +1 -1
  71. package/docs/codex-resume.md +1 -1
  72. package/docs/compatibility.md +10 -6
  73. package/docs/concept.md +2 -2
  74. package/docs/file-format.md +3 -1
  75. package/docs/handoff-briefs.md +1 -1
  76. package/docs/impact-report.md +140 -0
  77. package/docs/integrations/harnesses.md +14 -6
  78. package/docs/master-harness.md +610 -0
  79. package/docs/memory-lifecycle.md +11 -5
  80. package/docs/privacy-model.md +7 -3
  81. package/docs/quickstart.md +22 -6
  82. package/docs/release-checklist.md +18 -4
  83. package/docs/roadmap.md +12 -5
  84. package/docs/superpowers/plans/2026-06-08-briefops-oss-readiness.md +1 -1
  85. package/docs/token-budget.md +8 -0
  86. package/package.json +2 -2
  87. package/plugins/briefops-codex/.codex-plugin/plugin.json +2 -1
  88. package/plugins/briefops-codex/README.md +8 -6
  89. package/plugins/briefops-codex/skills/briefops-continue-worker/SKILL.md +3 -3
  90. package/plugins/briefops-codex/skills/briefops-finish-task/SKILL.md +4 -4
  91. package/plugins/briefops-codex/skills/briefops-prime-context/SKILL.md +4 -4
  92. package/plugins/briefops-codex/skills/briefops-review-memory/SKILL.md +8 -7
  93. package/plugins/briefops-codex/skills/briefops-route-task/SKILL.md +33 -0
@@ -1,11 +1,26 @@
1
1
  # Quickstart
2
2
 
3
+ ## Install
4
+
5
+ For normal use:
6
+
7
+ ```bash
8
+ npm install -g briefops
9
+ briefops --version
10
+ ```
11
+
12
+ For repository development:
13
+
14
+ ```bash
15
+ npm install
16
+ npm run build
17
+ npm test
18
+ ```
19
+
3
20
  ## Codex First Context Path
4
21
 
5
22
  ```bash
6
- briefops init
7
- briefops codex install
8
- briefops codex plugin install
23
+ briefops bootstrap
9
24
  briefops skill create risk-review --description "Review risk and governance."
10
25
  briefops project create atlas-q --description "Rule-based quantitative system."
11
26
  briefops worker create quant-reviewer --project atlas-q --skills "risk-review" --style "skeptical,verify before completion"
@@ -15,7 +30,9 @@ briefops memory add --type lessons --project atlas-q --skill risk-review --conte
15
30
  briefops prime --task "Continue rebalance review" --format codex --max-tokens 800
16
31
  ```
17
32
 
18
- `briefops codex plugin install` is local and deterministic. It does not publish to a marketplace and does not write to global Codex folders by default.
33
+ `briefops bootstrap` initializes `.briefops/`, installs `AGENTS.md` guidance that tells Codex to prime BriefOps first, writes local Codex prompt/plugin assets, keeps `.briefops/` ignored by default, and runs bounded privacy/stability checks.
34
+
35
+ `briefops codex plugin install` is still available as the manual local plugin path. It is deterministic, does not publish to a marketplace, and does not write to global Codex folders by default.
19
36
 
20
37
  `briefops export all` writes router files for Codex, Claude Code, and Cursor. These files point harnesses at BriefOps commands and do not copy `.briefops` memory, logs, handoffs, or worker summaries.
21
38
 
@@ -25,11 +42,10 @@ After work finishes, log the result and promote only useful lessons:
25
42
 
26
43
  ```bash
27
44
  briefops finish --project atlas-q --skill risk-review --worker quant-reviewer --task "Review rebalance" --result "Found missing turnover warning check." --lesson "Always verify turnover warning threshold."
28
- briefops approve latest
29
45
  briefops continue --worker quant-reviewer --task "Continue rebalance review" --pack
30
46
  ```
31
47
 
32
- BriefOps skills must never auto-approve memory proposals or skill patches. Approval is a human step.
48
+ `finish` applies durable memory locally by default and keeps the proposal file as an audit trail. Use `--memory-review` only when you explicitly want a pending local queue.
33
49
 
34
50
  For small or exploratory work, keep durable memory clean:
35
51
 
@@ -10,6 +10,7 @@ npm pack --dry-run
10
10
  npm run verify:release
11
11
  briefops --help
12
12
  npm whoami
13
+ npm view briefops versions --json
13
14
  ```
14
15
 
15
16
  `npm audit --audit-level=moderate` is included in `npm run verify:release`. It contacts the npm registry and sends dependency/audit metadata, so run it only from an environment where that network disclosure is acceptable.
@@ -31,12 +32,17 @@ briefops export claude-md --force
31
32
  briefops export cursor-rules --force
32
33
  briefops prime --task "Start this task." --format codex --max-tokens 800
33
34
  briefops compare context --worker quant-reviewer --task "Start this task."
35
+ briefops obs continuity --worker quant-reviewer --task "Start this task." --json
34
36
  briefops doctor --stability
35
37
  briefops doctor --security
36
38
  briefops doctor --security --fix-stale-locks
37
39
  briefops doctor --privacy
40
+ briefops doctor --strict --json
41
+ briefops harness route --task "Review work"
42
+ briefops harness matrix
38
43
  briefops finish --worker quant-reviewer --project atlas-q --skill risk-review --task "Review work" --result "Found unresolved risk." --lesson "Check unresolved risk before finishing." --importance durable
39
- briefops approve latest
44
+ briefops finish --worker quant-reviewer --project atlas-q --skill risk-review --task "Review pending memory path" --result "Created review proposal." --decision "Use review mode only when a pending queue is explicitly desired." --memory-review
45
+ briefops memory proposal-apply latest
40
46
  briefops finish --worker quant-reviewer --task "Fix typo" --result "Fixed typo." --importance trivial
41
47
  briefops memory hygiene
42
48
  briefops memory prune --dry-run
@@ -45,15 +51,21 @@ briefops memory prune --dry-run
45
51
  Confirm:
46
52
 
47
53
  - `briefops --version` matches `package.json`.
48
- - `docs/file-format.md`, `docs/compatibility.md`, and `docs/privacy-model.md` describe the 1.0 public contract.
54
+ - `docs/file-format.md`, `docs/compatibility.md`, and `docs/privacy-model.md` describe the 2.1.x public behavior and current workspace file contract.
55
+ - The target package version is not already present in `npm view briefops versions --json`.
56
+ - npm authentication has read-write access to the `briefops` package.
57
+ - `briefops harness route` returns the workflow depth, artifacts, exit criteria, and final-response contract for the task.
58
+ - `briefops obs continuity` reports compression, continuity, queues, and memory hygiene counts without dumping private memory.
49
59
  - Harness exports are routers, not memory dumps.
50
60
  - `shared-only` exports omit private memory, local project file details, raw work logs, open risks, local next steps, private worker history, and private metadata counts.
51
- - Memory and skill patches require human approval.
61
+ - `finish` applies directory-local durable memory by default, while skill patches still require explicit direction.
52
62
  - `finish --importance trivial` and `finish --no-memory-proposal` avoid durable memory proposals.
53
63
  - `memory hygiene` and `memory prune --dry-run` do not mutate memory.
54
- - Proposal generation and approval are local file-backed operations protected by workspace locks.
64
+ - Memory items and proposals can carry optional evidence anchors without breaking older memory files.
65
+ - Proposal generation and application are local file-backed operations protected by workspace locks.
55
66
  - `doctor --stability` is read-only, bounds detailed examples, and does not add diagnostics to generated prompt artifacts.
56
67
  - `doctor --security --fix-stale-locks` removes stale locks only.
68
+ - `doctor --strict --json` reports `releaseReady: false` when any release-readiness warning or failure remains.
57
69
  - Explicit output paths do not overwrite without `--force`.
58
70
  - Generated Codex plugin files do not overwrite local changes without `--force`.
59
71
  - `.briefops/` is ignored or intentionally curated.
@@ -66,5 +78,7 @@ git status --short --branch
66
78
  git tag v<version>
67
79
  git push origin HEAD
68
80
  git push origin v<version>
81
+ npm view briefops versions --json
69
82
  npm publish
83
+ npm view briefops version
70
84
  ```
package/docs/roadmap.md CHANGED
@@ -8,15 +8,22 @@
8
8
  - shared-only export privacy hardening
9
9
  - file format, compatibility, and privacy model documentation
10
10
 
11
- ## Near Term After 1.0
11
+ ## 2.1.x Complete
12
12
 
13
- - expand context savings eval fixtures
14
- - improve memory hygiene suggestions beyond dry-run reporting, without auto-pruning
15
- - release readiness CI
13
+ - strict local release-readiness checks that aggregate stability, security, privacy, and memory hygiene
14
+ - evidence-backed memory references for decisions, lessons, incidents, and risks
15
+ - continuity observability reports for context compression, queues, and hygiene signals
16
+ - Codex-first Master Harness routing for task workflow depth
17
+ - npm package refresh for the 2.1.x public release line
18
+
19
+ ## Near Term After 2.1.x
20
+
21
+ - persistent `.briefops/harness/` route, goal, finding, and verification ledgers
22
+ - stronger Spec-Kit detection and route-aware handoff
23
+ - richer eval fixtures for context savings and continuity quality
16
24
 
17
25
  ## Later
18
26
 
19
- - optional cross-harness projection beyond router files
20
27
  - richer eval fixtures for token savings
21
28
  - curated shared-memory export bundles
22
29
  - signed release artifacts
@@ -594,7 +594,7 @@ describe("privacy doctor", () => {
594
594
  type: "facts",
595
595
  project: "atlas-q",
596
596
  skill: "risk-review",
597
- content: "Use API key sk-test-12345678901234567890 for local sandbox.",
597
+ content: "Use api_key: REDACTED_TEST_VALUE for local sandbox.",
598
598
  visibility: "private",
599
599
  exportable: false
600
600
  });
@@ -50,6 +50,14 @@ briefops compare context --worker <worker> --task "Review this PR."
50
50
 
51
51
  The command estimates local `.briefops` candidate inputs such as project context, worker summary, active memory, and recent logs, then compares them with compiled `briefops prime` output.
52
52
 
53
+ Use `obs continuity` when you want the same context compression signal alongside continuity health, local queue counts, and memory hygiene:
54
+
55
+ ```bash
56
+ briefops obs continuity --worker <worker> --task "Review this PR." --json
57
+ ```
58
+
59
+ This command is read-only and reports counts and token estimates rather than dumping private memory.
60
+
53
61
  ## Harness Router Budgets
54
62
 
55
63
  Harness exports should stay small:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "briefops",
3
- "version": "1.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Local-first CLI for AI coding agents with persistent memory, handoffs, and token-aware context.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -44,7 +44,7 @@
44
44
  "zod": "^3.23.8"
45
45
  },
46
46
  "devDependencies": {
47
- "@types/node": "^22.5.5",
47
+ "@types/node": "^26.0.0",
48
48
  "tsx": "^4.19.1",
49
49
  "typescript": "^5.6.2",
50
50
  "vitest": "^4.1.8"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "briefops",
3
- "version": "1.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Local-first, token-aware persistent work history for Codex workflows.",
5
5
  "author": {
6
6
  "name": "BriefOps contributors",
@@ -29,6 +29,7 @@
29
29
  "Write"
30
30
  ],
31
31
  "defaultPrompt": [
32
+ "Route this task through the BriefOps Master Harness.",
32
33
  "Start this task with the smallest useful BriefOps context.",
33
34
  "Finish this task and prepare memory for the next thread."
34
35
  ],
@@ -5,25 +5,27 @@ This is a skill-only Codex plugin bundle for BriefOps.
5
5
  It does not run a hosted service and does not sync data. The skills call the local `briefops` CLI and local `.briefops/` workspace.
6
6
  It does not publish to a marketplace and does not write to global Codex folders by default.
7
7
 
8
- The BriefOps plugin is a local CLI helper. It does not require network access, does not publish to a marketplace, and should not auto-approve memory or skill patches. Use `--export-policy shared-only` before copying context outside the local workspace.
8
+ The BriefOps plugin is a local CLI helper. It does not require network access and does not publish to a marketplace. It may update directory-local `.briefops/` memory; use `--export-policy shared-only` before copying context outside the local workspace, and ask before applying skill patches.
9
9
 
10
10
  Recommended local setup:
11
11
 
12
12
  ```bash
13
- briefops init
14
- briefops codex install
15
- briefops codex plugin install
13
+ briefops bootstrap
16
14
  briefops worker use <worker>
17
15
  briefops prime --task "Start this task." --format codex
18
16
  ```
19
17
 
18
+ `briefops bootstrap` initializes `.briefops/`, installs `AGENTS.md` first-context guidance, writes local Codex prompt/plugin assets, keeps `.briefops/` ignored by default, and runs bounded privacy/stability checks.
19
+
20
20
  The generated local plugin copy is written to:
21
21
 
22
22
  ```text
23
23
  .briefops/codex/plugin/briefops
24
24
  ```
25
25
 
26
- BriefOps plugin skills must never auto-approve memory proposals or skill patches.
26
+ BriefOps plugin skills treat `.briefops/` memory as local repo state. Explicit confirmation is reserved for exporting private memory outside the workspace or applying skill patches.
27
+
28
+ Use `briefops-route-task` at the start of development work when Codex should classify the task before implementation. It routes small fixes, features, refactors, UI work, incidents, research, code review, and release preparation to the smallest sufficient workflow depth.
27
29
 
28
30
  For repo-level harness guidance, generate router files:
29
31
 
@@ -32,7 +34,7 @@ briefops export agents-md
32
34
  briefops export all
33
35
  ```
34
36
 
35
- These exports route local harnesses back to `briefops prime`, `briefops finish`, `briefops approve`, and `briefops continue --pack`. They do not copy `.briefops` memory, logs, handoffs, or worker summaries.
37
+ These exports route local harnesses back to `briefops prime`, `briefops finish`, and `briefops continue --pack`. They do not copy `.briefops` memory, logs, handoffs, or worker summaries.
36
38
 
37
39
  Use shared-only exports for portable context:
38
40
 
@@ -5,9 +5,9 @@ description: Use when continuing a persistent BriefOps worker in a fresh Codex t
5
5
 
6
6
  # BriefOps Continue Worker
7
7
 
8
- The BriefOps plugin is a local CLI helper. It does not require network access, does not publish to a marketplace, and should not auto-approve memory or skill patches.
8
+ The BriefOps plugin is a local CLI helper. It does not require network access and does not publish to a marketplace.
9
9
 
10
- Use `--export-policy shared-only` before copying context outside the local workspace.
10
+ BriefOps may update directory-local `.briefops/` memory. Use `--export-policy shared-only` before copying context outside the local workspace, and ask before applying skill patches.
11
11
 
12
12
  Use this workflow when the user wants a fresh Codex thread to continue prior work with the same worker identity, project constraints, memory, and risks.
13
13
 
@@ -17,6 +17,6 @@ Prepare a resume prompt and optional portable pack:
17
17
  briefops continue --worker <worker> --task "<next task>" --pack
18
18
  ```
19
19
 
20
- If BriefOps reports pending memory proposals, surface the review command before continuing. Do not apply memory automatically.
20
+ Pending memory proposals are optional local review drafts and do not block continuing. Apply relevant local memory when useful; ask before applying skill patches.
21
21
 
22
22
  Use portable packs only as explicit local user artifacts. They may include private local memory and should be reviewed before sharing.
@@ -1,13 +1,13 @@
1
1
  ---
2
2
  name: briefops-finish-task
3
- description: Use when finishing a Codex task to record the outcome, propose durable memory, and prepare the next thread without auto-approving memory
3
+ description: Use when finishing a Codex task to record the outcome, update directory-local durable memory, and prepare the next thread
4
4
  ---
5
5
 
6
6
  # BriefOps Finish Task
7
7
 
8
- The BriefOps plugin is a local CLI helper. It does not require network access, does not publish to a marketplace, and should not auto-approve memory or skill patches.
8
+ The BriefOps plugin is a local CLI helper. It does not require network access and does not publish to a marketplace.
9
9
 
10
- Use `--export-policy shared-only` before copying context outside the local workspace.
10
+ BriefOps may update directory-local `.briefops/` memory. Use `--export-policy shared-only` before copying context outside the local workspace, and ask before applying skill patches.
11
11
 
12
12
  Use BriefOps at the end of meaningful work so future Codex threads do not spend tokens rediscovering the same decisions, risks, and lessons.
13
13
 
@@ -19,4 +19,4 @@ briefops finish --worker <worker> --task "<task>" --result "<result>" --lesson "
19
19
 
20
20
  Only include lessons, decisions, incidents, open risks, and next steps that will help future work. Do not store secrets or personal data.
21
21
 
22
- If a memory proposal is created, ask the user to review it. Never run `briefops approve` without explicit user confirmation.
22
+ `briefops finish` applies durable memory locally by default and keeps the proposal file as an audit trail. Use `--memory-review` only when the user explicitly wants a pending review queue.
@@ -5,9 +5,9 @@ description: Use when starting work in any Codex project or fresh thread to load
5
5
 
6
6
  # BriefOps Prime Context
7
7
 
8
- The BriefOps plugin is a local CLI helper. It does not require network access, does not publish to a marketplace, and should not auto-approve memory or skill patches.
8
+ The BriefOps plugin is a local CLI helper. It does not require network access and does not publish to a marketplace.
9
9
 
10
- Use `--export-policy shared-only` before copying context outside the local workspace.
10
+ BriefOps may update directory-local `.briefops/` memory. Use `--export-policy shared-only` before copying context outside the local workspace, and ask before applying skill patches.
11
11
 
12
12
  Use BriefOps before broad repo/history inspection when a `.briefops` workspace exists or may exist.
13
13
 
@@ -17,8 +17,8 @@ Run:
17
17
  briefops prime --format codex --task "<current user task>" --max-tokens 800
18
18
  ```
19
19
 
20
- If the command reports that no workspace exists, keep the response short and suggest `briefops init`.
20
+ If the command reports `setup-required`, keep the response short and suggest `briefops bootstrap` for first adoption.
21
21
 
22
- Never apply memory automatically. If pending proposals exist, show the review command.
22
+ BriefOps memory is directory-local. `briefops finish` auto-promotes durable memory by default; pending proposals from older or review-mode flows can be applied locally without blocking the task.
23
23
 
24
24
  Treat the prime output as a compact routing brief, not as permission to skip relevant code inspection.
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  name: briefops-review-memory
3
- description: Use when BriefOps reports pending memory proposals or skill patches that need human review before becoming durable local memory
3
+ description: Use when BriefOps reports pending local memory proposals or skill patches that need inspection
4
4
  ---
5
5
 
6
6
  # BriefOps Review Memory
7
7
 
8
- The BriefOps plugin is a local CLI helper. It does not require network access, does not publish to a marketplace, and should not auto-approve memory or skill patches.
8
+ The BriefOps plugin is a local CLI helper. It does not require network access and does not publish to a marketplace.
9
9
 
10
- Use `--export-policy shared-only` before copying context outside the local workspace.
10
+ BriefOps may update directory-local `.briefops/` memory. Use `--export-policy shared-only` before copying context outside the local workspace, and ask before applying skill patches.
11
11
 
12
- BriefOps memory is human-approved. Pending proposals are local drafts until the user accepts or rejects them.
12
+ BriefOps memory is directory-local. Pending memory proposals are optional audit/review drafts; they should not block normal continuation.
13
13
 
14
14
  Inspect proposals before applying:
15
15
 
@@ -18,10 +18,11 @@ briefops memory proposal-show latest
18
18
  briefops inbox
19
19
  ```
20
20
 
21
- Apply only after explicit user confirmation:
21
+ Apply relevant local memory proposals directly, or reject inaccurate, duplicate, sensitive, or overly broad proposals:
22
22
 
23
23
  ```bash
24
- briefops approve latest
24
+ briefops memory proposal-apply latest
25
+ briefops memory proposal-reject latest
25
26
  ```
26
27
 
27
- Reject inaccurate, duplicate, sensitive, or overly broad proposals instead of carrying noisy context into future threads.
28
+ Ask before applying skill patches or exporting private memory outside the local workspace.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: briefops-route-task
3
+ description: Use when starting Codex development work to classify the task and choose the smallest sufficient BriefOps Master Harness workflow
4
+ ---
5
+
6
+ # BriefOps Route Task
7
+
8
+ The BriefOps plugin is a local CLI helper. It does not require network access and does not publish to a marketplace.
9
+
10
+ BriefOps may update directory-local `.briefops/` memory. Use `--export-policy shared-only` before copying context outside the local workspace, and ask before applying skill patches.
11
+
12
+ Use this before implementation when the task may need memory, specification, planning, findings, verification, or handoff discipline.
13
+
14
+ Run:
15
+
16
+ ```bash
17
+ briefops harness route --task "<current user task>"
18
+ ```
19
+
20
+ For explicit routing, pass a task type:
21
+
22
+ ```bash
23
+ briefops harness route --task "<current user task>" --type large-feature
24
+ ```
25
+
26
+ Use the route as a workflow contract:
27
+
28
+ - Do not force full specification on tiny tasks.
29
+ - Do not skip goal ledgers, findings, visual evidence, or handoff when the route requires them.
30
+ - If repository evidence contradicts the inferred route, choose the safer route and say why.
31
+ - Treat `briefops prime` as the memory intake step and `briefops finish` as the work-log/memory closeout step.
32
+
33
+ Supported task types: small-bug-fix, medium-feature, large-feature, refactor, dependency-upgrade, ui-change, test-repair, production-incident, documentation-task, architecture-decision, exploratory-research, code-review, release-preparation.