briefops 2.0.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.
- package/CHANGELOG.md +16 -0
- package/README.md +40 -1
- package/dist/cli.js +4 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands/doctor.js +27 -0
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/harness.d.ts +2 -0
- package/dist/commands/harness.js +56 -0
- package/dist/commands/harness.js.map +1 -0
- package/dist/commands/memory.js +20 -3
- package/dist/commands/memory.js.map +1 -1
- package/dist/commands/obs.d.ts +2 -0
- package/dist/commands/obs.js +51 -0
- package/dist/commands/obs.js.map +1 -0
- package/dist/core/codexPlugin.js +40 -0
- package/dist/core/codexPlugin.js.map +1 -1
- package/dist/core/harness.d.ts +27 -0
- package/dist/core/harness.js +342 -0
- package/dist/core/harness.js.map +1 -0
- package/dist/core/lock.d.ts +1 -0
- package/dist/core/lock.js +18 -4
- package/dist/core/lock.js.map +1 -1
- package/dist/core/memory.d.ts +4 -1
- package/dist/core/memory.js +54 -2
- package/dist/core/memory.js.map +1 -1
- package/dist/core/memoryHygiene.d.ts +11 -0
- package/dist/core/memoryHygiene.js +93 -0
- package/dist/core/memoryHygiene.js.map +1 -1
- package/dist/core/memoryProposal.js +21 -8
- package/dist/core/memoryProposal.js.map +1 -1
- package/dist/core/observability.d.ts +36 -0
- package/dist/core/observability.js +70 -0
- package/dist/core/observability.js.map +1 -0
- package/dist/core/securityDoctor.js +3 -5
- package/dist/core/securityDoctor.js.map +1 -1
- package/dist/core/strictDoctor.d.ts +22 -0
- package/dist/core/strictDoctor.js +95 -0
- package/dist/core/strictDoctor.js.map +1 -0
- package/dist/schemas/memory.d.ts +100 -0
- package/dist/schemas/memory.js +9 -1
- package/dist/schemas/memory.js.map +1 -1
- package/dist/schemas/memoryProposal.d.ts +115 -0
- package/dist/schemas/memoryProposal.js +2 -1
- package/dist/schemas/memoryProposal.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/compatibility.md +7 -3
- package/docs/file-format.md +3 -1
- package/docs/impact-report.md +140 -0
- package/docs/integrations/harnesses.md +9 -0
- package/docs/master-harness.md +610 -0
- package/docs/privacy-model.md +2 -0
- package/docs/quickstart.md +17 -0
- package/docs/release-checklist.md +16 -2
- package/docs/roadmap.md +12 -5
- package/docs/token-budget.md +8 -0
- package/package.json +2 -2
- package/plugins/briefops-codex/.codex-plugin/plugin.json +2 -1
- package/plugins/briefops-codex/README.md +2 -0
- package/plugins/briefops-codex/skills/briefops-route-task/SKILL.md +33 -0
|
@@ -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
|
|
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 2.
|
|
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
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.
|
|
64
|
+
- Memory items and proposals can carry optional evidence anchors without breaking older memory files.
|
|
54
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
|
-
##
|
|
11
|
+
## 2.1.x Complete
|
|
12
12
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
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
|
package/docs/token-budget.md
CHANGED
|
@@ -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": "2.
|
|
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": "^
|
|
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": "2.
|
|
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
|
],
|
|
@@ -25,6 +25,8 @@ The generated local plugin copy is written to:
|
|
|
25
25
|
|
|
26
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
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.
|
|
29
|
+
|
|
28
30
|
For repo-level harness guidance, generate router files:
|
|
29
31
|
|
|
30
32
|
```bash
|
|
@@ -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.
|