@aopslabs/aops 0.3.4 → 0.3.5

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 (38) hide show
  1. package/README.md +4 -3
  2. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/SKILL.md +49 -0
  3. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/agentspace/SKILL.md +78 -0
  4. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/aops-cli-core/SKILL.md +110 -0
  5. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/chatv3/SKILL.md +49 -0
  6. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/collaborative-work/SKILL.md +85 -0
  7. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/discuss/SKILL.md +66 -0
  8. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/docman/SKILL.md +69 -0
  9. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/hosted-chat/SKILL.md +64 -0
  10. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/mission/SKILL.md +54 -0
  11. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/projectman/SKILL.md +86 -0
  12. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/sys/SKILL.md +36 -0
  13. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/view/SKILL.md +58 -0
  14. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/working-disciplines/SKILL.md +69 -0
  15. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/agent-assets.md +81 -0
  16. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/agentspace.md +1098 -0
  17. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/aops-cli.md +1106 -0
  18. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/aops-system.md +63 -0
  19. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/chatv3.md +113 -0
  20. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/docman.md +162 -0
  21. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/projectman.md +212 -0
  22. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/sys.md +94 -0
  23. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/working-disciplines.md +588 -0
  24. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/manifest.json +127 -0
  25. package/agent-assets-release/agent-assets/gateway/aops/SKILL.md +14 -0
  26. package/agent-assets-release/agent-assets/inventory.json +29 -0
  27. package/agent-assets-release/agent-assets/projection.json +8 -0
  28. package/agent-assets-release/agent-assets-release.json +181 -0
  29. package/agent-assets-release/agent-assets-release.sigstore.json +62 -0
  30. package/dist/lib/agent-assets/envelope.js +2 -0
  31. package/dist/lib/agent-assets/release-input.js +14 -2
  32. package/dist/lib/community-release-verifier.js +3 -2
  33. package/dist/lib/setup-agent-assets-release.js +8 -2
  34. package/dist/lib/setup-docker-server.js +2 -2
  35. package/dist/lib/tui-launcher.js +1 -0
  36. package/native/tui/darwin-arm64/aops-tui +0 -0
  37. package/native/tui/win32-x64/aops-tui.exe +0 -0
  38. package/package.json +4 -4
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: aops-cli-projectman
3
+ description: Use for Projectman boards, tasks, sprints and implementation plans, microtasks, issues, feedback, reviews, handoffs, and server-canonical planning through AOPS.
4
+ ---
5
+
6
+ # Projectman
7
+
8
+ Projectman is the execution and review source of truth. It supports board-only,
9
+ sprint-only, combined, and small-task flows; do not force a ceremony the
10
+ operator did not choose. Read the relevant heading in
11
+ `../../user-guides/projectman.md` for deeper examples.
12
+
13
+ ## Inspect the live surface
14
+
15
+ ```bash
16
+ aops pm --help
17
+ aops pm board --help
18
+ aops pm ktask --help
19
+ aops pm sprint --help
20
+ aops pm utask --help
21
+ aops pm issue --help
22
+ aops pm feedback --help
23
+ aops pm review-request --help
24
+ aops pm handoff --help
25
+ ```
26
+
27
+ ## Common planning flow
28
+
29
+ ```bash
30
+ aops pm board list --json
31
+ aops pm board create --name "Delivery" --apply --json
32
+ aops pm ktask create --board <board> --column Todo --title "<task>" --apply --json
33
+ aops pm sprint create --task <task-id> --name "Sprint 1" --goal "<outcome>" --apply --json
34
+ aops pm utask create --sprint <sprint-id> --title "<verifiable step>" --apply --json
35
+ ```
36
+
37
+ Use clear outcome text: what is needed, why it matters, and how completion will
38
+ be proven. IDs returned by writes should be reused; do not resolve ambiguous
39
+ titles repeatedly.
40
+
41
+ ## Read and resume
42
+
43
+ ```bash
44
+ aops pm board get --slug <board-slug> --json
45
+ aops pm ktask get --id <task-id> --json
46
+ aops pm sprint get --id <sprint-id> --json
47
+ aops view digest --task <task-id> --depth deep
48
+ aops pm handoff resume --subject ktask --id <task-id> --json
49
+ ```
50
+
51
+ Local `view` output is a read-only presentation cache. Writes always go through
52
+ hosted Projectman commands.
53
+
54
+ ## Issues, feedback, and review
55
+
56
+ ```bash
57
+ aops pm issue create --help
58
+ aops pm feedback create --help
59
+ aops pm review-request create --help
60
+ aops pm review-request result --help
61
+ aops pm handoff write --help
62
+ ```
63
+
64
+ Use an issue for a material blocker/defect, feedback for observations or
65
+ suggestions, and review-request/result for an auditable review gate. A chat
66
+ message may wake a reviewer but is not the review record.
67
+
68
+ ## Status discipline
69
+
70
+ 1. Inspect the record before changing status.
71
+ 2. Use the exact nested help and stable IDs.
72
+ 3. Apply one bounded mutation and read it back.
73
+ 4. Mark done only after requested validation actually passes.
74
+ 5. Ordinary session stop writes a handoff/status; board/room closeout remains
75
+ an explicit operator decision.
76
+
77
+ ## Raw fallback
78
+
79
+ ```bash
80
+ aops agent tools --domain projectman --q review --limit 20 --summary --json
81
+ aops agent schema --tool projectman.<operation> --summary --json
82
+ aops agent invoke --tool projectman.<operation> --input '@payload.json' --preview --json
83
+ ```
84
+
85
+ Do not guess raw fields. If sugar returns validation errors, compare the sugar
86
+ payload with live schema before using a direct invoke workaround.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: aops-cli-sys
3
+ description: Use for live Sys capabilities including counters, shared country lookup, event-store operations, and rate-limit state through schema-first AOPS agent tools.
4
+ ---
5
+
6
+ # Sys
7
+
8
+ Sys is a mounted Community domain but has no dedicated sugar family. Start
9
+ with compact live discovery and use raw invoke only after reading its schema.
10
+ Detailed examples are in `../../user-guides/sys.md`.
11
+
12
+ ```bash
13
+ aops agent tools --domain sys --summary --json
14
+ aops agent tools --domain sys --q country --limit 10 --examples --summary --json
15
+ aops agent schema --tool sys.country.resolve-iso2 --summary --json
16
+ ```
17
+
18
+ The current capability families are:
19
+
20
+ - `sys.counter.*` — tenant-scoped formatted counters;
21
+ - `sys.country.*` — shared ISO country lookup/search;
22
+ - `sys.event-store.*` — append/read/cleanup domain events;
23
+ - `sys.rate-limiter.*` — check, record, reset, inspect, and cleanup limits.
24
+
25
+ Reads can be invoked without `--apply`. Database mutations require `--apply`;
26
+ cleanup/reset operations should be previewed and treated as destructive even
27
+ when the live contract does not require a separate `--confirm` flag.
28
+
29
+ ```bash
30
+ aops agent invoke --tool sys.country.resolve-iso2 --input '{"body":{"iso2Code":"TR"}}' --json
31
+ aops agent invoke --tool sys.counter.preview-next --input '{"body":{"counterKey":"inventory.item.code","prefix":"ITM","width":5}}' --json
32
+ aops agent invoke --tool sys.counter.next --input '@counter-next.json' --preview --json
33
+ ```
34
+
35
+ Examples are illustrative. The connected server's `agent schema` and tool
36
+ detail are authoritative for required fields, tenant context, and guard flags.
@@ -0,0 +1,58 @@
1
+ ---
2
+ name: aops-cli-view
3
+ description: Use for read-only local-cache dashboards, board/task/sprint details, filtered lists, hosted inventory, and focused context digests through aops view.
4
+ ---
5
+
6
+ # AOPS view
7
+
8
+ `aops view` reads local presentation caches and never mutates or synchronizes
9
+ them. Use it for orientation and bounded context; use owner commands (`pm`,
10
+ `mem`, `doc`, and others) for hosted writes.
11
+
12
+ ## Fast paths
13
+
14
+ ```bash
15
+ aops view dashboard --style agent
16
+ aops view boards
17
+ aops view tasks --board <slug> --status Doing
18
+ aops view sprints --board <slug> --status doing
19
+ aops view issues --status open --severity high
20
+ aops view feedback --status open
21
+ ```
22
+
23
+ Focused inspection accepts a full UUID, an unambiguous 8+ character ID prefix,
24
+ a slug, or an exact title/name when supported:
25
+
26
+ ```bash
27
+ aops view board <selector>
28
+ aops view task <selector>
29
+ aops view sprint <selector> --max-items 20
30
+ aops view memory --subject sprint --id <sprint-id>
31
+ aops view discussions --status open
32
+ ```
33
+
34
+ ## Context packs
35
+
36
+ ```bash
37
+ aops view digest --task <task-id> --depth shallow
38
+ aops view digest --sprint <sprint-id> --depth deep --max-bytes 32768
39
+ aops view digest --board <board-slug> --depth deep
40
+ ```
41
+
42
+ Use shallow first; request deep only when linked memory/discussions/details are
43
+ actually needed. Markdown is the human/agent default; add `--json` for stable
44
+ automation.
45
+
46
+ ## Hosted inventory
47
+
48
+ ```bash
49
+ aops view hosted-projects --style compact
50
+ aops view hosted-inventory --hosted-project <slug> --scope-resolution explicit
51
+ ```
52
+
53
+ These are still read-only views. If output is stale, inspect `aops sync status
54
+ --json` and refresh intentionally with `aops sync pull --apply --json`.
55
+
56
+ For exact filters and output limits, run the relevant nested `--help`. Do not
57
+ edit generated view files, treat a view as canonical hosted state, or dump a
58
+ deep digest when a small selector read is enough.
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: aops-working-disciplines
3
+ description: Use only when the operator asks to choose, compare, or apply an AOPS working discipline such as solo, review-oriented, consensus-first, or coordinator-led work.
4
+ ---
5
+
6
+ # AOPS working disciplines
7
+
8
+ Disciplines are optional working methods. Setup installs this reference so an
9
+ agent can explain the choices, but neither setup nor gateway loading selects
10
+ one. Read the relevant discipline only—not the whole guide—in
11
+ `../../user-guides/working-disciplines.md`.
12
+
13
+ Transport and method are separate:
14
+
15
+ - mode: `solo`, `solo+async-review`, or `chat-room`;
16
+ - discipline: the working method below.
17
+
18
+ ## Choose the smallest method
19
+
20
+ | Discipline | Use when | Core evidence |
21
+ | --- | --- | --- |
22
+ | `solo-pm-loop` | One agent can deliver the bounded work | PM status, focused validation, handoff |
23
+ | `build-review-chat` | Implementation benefits from an independent review | PM review-request/result; chat only wakes |
24
+ | `design-first-consensus` | A material design decision needs independent stances before build | Discuss conclusion linked to plan |
25
+ | `coordinator-loop` | Several delegated slices need explicit coordinator ownership | Mission policy, slice tasks/reviews, integration gate |
26
+
27
+ Do not choose a heavier discipline solely because multiple tools exist. The
28
+ operator owns agent count, identities, roles, and closeout authority.
29
+
30
+ ## Compose startup
31
+
32
+ ```bash
33
+ aops start --help
34
+ aops start --task "<task>" --mode solo \
35
+ --discipline solo-pm-loop --json --out ./aops-start.md
36
+ aops start --task "<task>" --mode chat-room \
37
+ --discipline build-review-chat --json --out ./aops-start.md
38
+ ```
39
+
40
+ Inspect `result.mission.policyJson` and persist it only if a durable mission is
41
+ appropriate:
42
+
43
+ ```bash
44
+ aops mission create --objective "<objective>" \
45
+ --policy-json '@policy.json' --apply --json
46
+ ```
47
+
48
+ ## Shared guardrails
49
+
50
+ 1. Put every implementation slice in Projectman before or at kickoff.
51
+ 2. Read live help/schema instead of guessing flags or payloads.
52
+ 3. Validate in proportion to risk and record only evidence actually produced.
53
+ 4. Use hosted chat for coordination/wake, Discuss for consensus, and
54
+ Projectman review-request/result for review truth.
55
+ 5. Keep scope changes and blockers explicit; do not fabricate peer approval.
56
+ 6. Ordinary stop writes status/handoff and keeps mission/board/room open.
57
+
58
+ ## Discipline-specific minimums
59
+
60
+ - `solo-pm-loop`: orient → plan bounded slice → implement → validate → handoff.
61
+ - `build-review-chat`: implementer validates → creates PM review request →
62
+ reviewer records result → material findings become issues/fix slices.
63
+ - `design-first-consensus`: independent research/turns → every participant
64
+ records final stance → conclude → bind decision to implementation plan.
65
+ - `coordinator-loop`: coordinator assigns non-overlapping slices → each owner
66
+ reports validation → independent review/integration gate → operator closeout.
67
+
68
+ Use `aops start --reminder --task "<task>" --area <area> --json` for a bounded
69
+ mid-session refresh instead of reloading the full discipline guide.
@@ -0,0 +1,81 @@
1
+ # AOPS Community client assets
2
+
3
+ Community client assets are installed from an independently signed
4
+ agent-assets bundle included in the npm CLI. This asset identity is separate
5
+ from application-image releases. The logical user-local data root is
6
+ `~/.aops/agent-assets`.
7
+ Every agent runtime registered by the installed CLI receives one managed
8
+ `skills/aops/SKILL.md` gateway. Today this includes Codex and Claude; future
9
+ runtimes can join the same registry without changing the asset model. The
10
+ gateway resolves the immutable core package rather than copying every AOPS
11
+ reference into each runtime.
12
+
13
+ ## Install and verify
14
+
15
+ Use guided setup when configuring a new machine or server target:
16
+
17
+ ```text
18
+ aops setup init
19
+ ```
20
+
21
+ Use the normal explicit lifecycle from the installed npm package:
22
+
23
+ ```text
24
+ aops assets install --target all --apply --json
25
+ aops assets status --verify quick --json
26
+ ```
27
+
28
+ Install verifies signed expected digests, refuses unowned runtime files, and
29
+ does not use a repository as the source of core bytes. `status` is read-only;
30
+ `--verify full` additionally rehashes every active, previous, and pinned
31
+ immutable package file.
32
+
33
+ `--target all` expands to every runtime registered by this CLI. A single
34
+ runtime, comma-separated subset, or repeated `--target` is also accepted;
35
+ `both` is not a selector. `--from-release` is only a maintainer/offline recovery
36
+ override—the normal npm package resolves its verified bundled asset release.
37
+
38
+ ## Discover only what is needed
39
+
40
+ ```text
41
+ aops assets resolve --gateway aops --json
42
+ aops assets discover --query "<intent or domain>" --limit 5 --json
43
+ aops assets resolve --name <exact-name> --json
44
+ ```
45
+
46
+ Discovery returns bounded metadata candidates before any body is loaded.
47
+ Resolve only the selected exact asset. The verified offline core includes a
48
+ small neutral router, mounted-domain references, on-demand user guides, and the
49
+ current working-discipline references. Setup makes those choices available;
50
+ it does not silently select a board model, communication mode, or discipline.
51
+ Optional hosted catalog packages also remain inert until explicitly selected.
52
+
53
+ The core deliberately excludes private development architecture, machine
54
+ paths, repository caches, and domains not mounted by Community. Exact live
55
+ capability discovery remains the authority when a server adds custom domains.
56
+
57
+ ## Local and remote ownership
58
+
59
+ The AOPS server may run locally or on another machine. Hosted records and
60
+ optional packages remain server-owned; the verified client store, activation
61
+ receipts, and runtime gateway stay on the user's machine. Repository caches do
62
+ not replace or shadow the installed core.
63
+
64
+ Fresh server setup may import an inert signed official catalog for optional
65
+ discovery. `aops setup init --no-catalog` skips that initial import only; it
66
+ does not remove existing rows or change the offline core.
67
+
68
+ ## Diagnose before repair
69
+
70
+ ```text
71
+ aops assets status --verify quick --json
72
+ aops assets repair --json
73
+ aops assets migrate inspect --json
74
+ ```
75
+
76
+ Mutations preview by default and require `--apply`. Destructive cleanup or an
77
+ ownership transition additionally requires `--confirm`. Unknown or user-owned
78
+ runtime files are reported and left untouched.
79
+
80
+ Use `aops assets --help` and the selected subcommand's `--help` as the exact
81
+ flag and safety contract for the installed CLI version.