@aopslabs/aops 0.3.30 → 0.3.32
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/README.md +11 -3
- package/aops-assets-release/aops-assets.json.gz +0 -0
- package/aops-assets-release/disciplines/build-review-chat/SKILL.md +33 -0
- package/aops-assets-release/disciplines/coordinator-loop/SKILL.md +33 -0
- package/aops-assets-release/disciplines/design-first-consensus/SKILL.md +30 -0
- package/aops-assets-release/disciplines/solo-pm-loop/SKILL.md +31 -0
- package/aops-assets-release/docs/user-guides/agentspace-user-guide.md +384 -0
- package/aops-assets-release/docs/user-guides/aops-cli-user-guide.md +2067 -0
- package/aops-assets-release/docs/user-guides/chatv3-user-guide.md +500 -0
- package/aops-assets-release/docs/user-guides/docman-user-guide.md +1009 -0
- package/aops-assets-release/docs/user-guides/projectman-user-guide.md +763 -0
- package/aops-assets-release/docs/user-guides/tasker-user-guide.md +244 -0
- package/aops-assets-release/release.json +6 -0
- package/aops-assets-release/roles/coordinator/ROLE.md +28 -0
- package/aops-assets-release/roles/implementer/ROLE.md +27 -0
- package/aops-assets-release/roles/reviewer/ROLE.md +27 -0
- package/aops-assets-release/skills/aops/SKILL.md +112 -0
- package/aops-assets-release/skills/aops-bootstrapper-authoring/SKILL.md +245 -0
- package/aops-assets-release/skills/aops-cli-agentspace/SKILL.md +186 -0
- package/aops-assets-release/skills/aops-cli-board-lifecycle/SKILL.md +64 -0
- package/aops-assets-release/skills/aops-cli-chat/SKILL.md +204 -0
- package/aops-assets-release/skills/aops-cli-collab/SKILL.md +42 -0
- package/aops-assets-release/skills/aops-cli-core/SKILL.md +219 -0
- package/aops-assets-release/skills/aops-cli-discuss/SKILL.md +172 -0
- package/aops-assets-release/skills/aops-cli-docman/SKILL.md +192 -0
- package/aops-assets-release/skills/aops-cli-fileman/SKILL.md +169 -0
- package/aops-assets-release/skills/aops-cli-mission/SKILL.md +128 -0
- package/aops-assets-release/skills/aops-cli-operator-brief/SKILL.md +67 -0
- package/aops-assets-release/skills/aops-cli-projectman/SKILL.md +235 -0
- package/aops-assets-release/skills/aops-cli-sugar-authoring/SKILL.md +188 -0
- package/aops-assets-release/skills/aops-cli-tasker/SKILL.md +108 -0
- package/aops-assets-release/skills/aops-cli-tooling-agent/SKILL.md +112 -0
- package/aops-assets-release/skills/aops-cli-view/SKILL.md +210 -0
- package/aops-assets-release/skills/aops-collaborative-work/SKILL.md +304 -0
- package/aops-assets-release/skills/aops-interactive/SKILL.md +70 -0
- package/aops-assets-release/skills/aops-loop-interactive/SKILL.md +314 -0
- package/aops-assets-release/skills/aops-working-disciplines/SKILL.md +310 -0
- package/aops-assets-release/skills/feature-retirement-flow/SKILL.md +126 -0
- package/assets/skills/aops-install/SKILL.md +18 -17
- package/dist/commands/assets.js +93 -1264
- package/dist/commands/community-server.js +27 -8
- package/dist/commands/community-setup.js +1 -2
- package/dist/commands/discuss.js +1 -1
- package/dist/commands/doc.js +88 -27
- package/dist/commands/docs.js +68 -0
- package/dist/commands/global-update.js +28 -0
- package/dist/commands/init.js +3 -1
- package/dist/commands/loop.js +6379 -0
- package/dist/commands/memory.js +2 -1
- package/dist/commands/pm/index.js +11 -9
- package/dist/commands/pm/projectman.js +33 -2
- package/dist/commands/project.js +6 -6
- package/dist/commands/prompt.js +1 -1
- package/dist/commands/repo-sync.js +92 -27
- package/dist/commands/runner.js +257 -0
- package/dist/commands/skill.js +1 -1
- package/dist/commands/start.js +1 -1
- package/dist/commands/tasker.js +361 -0
- package/dist/commands/view.js +53 -9
- package/dist/lib/commercial-setup-readiness-adapter.js +0 -1
- package/dist/lib/community-migration-snapshot.js +7 -9
- package/dist/lib/community-native-database-recovery.js +5 -14
- package/dist/lib/community-native-lifecycle.js +13 -0
- package/dist/lib/setup-agent-assets-bridge.js +28 -148
- package/dist/lib/setup-agent-assets-release.js +16 -44
- package/dist/lib/setup-init-orchestrator.js +11 -15
- package/dist/lib/simple-agent-assets.js +447 -0
- package/dist/lib/user-guide-sections.js +488 -0
- package/dist/main.js +10 -2
- package/dist/seeds/agents-md.js +3 -3
- package/dist/utils/agents-md.js +1 -1
- package/dist/utils/guide-paths.js +7 -7
- package/dist/utils/hosted-workspace.js +2 -1
- package/dist/utils/repo-first-storage.js +26 -1
- package/dist/utils/session-state.js +2 -7
- package/launchers/aops-cockpit.sh +0 -0
- package/launchers/aops-server.sh +0 -0
- package/package.json +67 -35
- package/THIRD_PARTY_NOTICES +0 -16169
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/SKILL.md +0 -47
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/agentspace/SKILL.md +0 -72
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/aops-cli-core/SKILL.md +0 -110
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/chatv3/SKILL.md +0 -59
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/collaborative-work/SKILL.md +0 -81
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/discuss/SKILL.md +0 -66
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/docman/SKILL.md +0 -75
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/projectman/SKILL.md +0 -92
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/sys/SKILL.md +0 -36
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/view/SKILL.md +0 -58
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/working-disciplines/SKILL.md +0 -66
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agent-assets.md +0 -81
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agentspace.md +0 -183
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-cli.md +0 -1108
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-system.md +0 -102
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/chatv3.md +0 -113
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/docman.md +0 -223
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/projectman.md +0 -233
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/sys.md +0 -94
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/working-disciplines.md +0 -482
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/manifest.json +0 -117
- package/agent-assets-release/agent-assets/gateway/aops/SKILL.md +0 -14
- package/agent-assets-release/agent-assets/inventory.json +0 -29
- package/agent-assets-release/agent-assets/projection.json +0 -8
- package/agent-assets-release/agent-assets-release.json +0 -171
- package/agent-assets-release/agent-assets-release.sigstore.json +0 -67
- package/assets/agent-assets/core/SKILL.md +0 -47
- package/assets/agent-assets/core/references/agentspace/SKILL.md +0 -72
- package/assets/agent-assets/core/references/aops-cli-core/SKILL.md +0 -110
- package/assets/agent-assets/core/references/chatv3/SKILL.md +0 -59
- package/assets/agent-assets/core/references/collaborative-work/SKILL.md +0 -81
- package/assets/agent-assets/core/references/discuss/SKILL.md +0 -66
- package/assets/agent-assets/core/references/docman/SKILL.md +0 -75
- package/assets/agent-assets/core/references/projectman/SKILL.md +0 -92
- package/assets/agent-assets/core/references/sys/SKILL.md +0 -36
- package/assets/agent-assets/core/references/view/SKILL.md +0 -58
- package/assets/agent-assets/core/references/working-disciplines/SKILL.md +0 -66
- package/assets/agent-assets/core/user-guides/agent-assets.md +0 -81
- package/assets/agent-assets/core/user-guides/agentspace.md +0 -183
- package/assets/agent-assets/core/user-guides/aops-cli.md +0 -1108
- package/assets/agent-assets/core/user-guides/aops-system.md +0 -102
- package/assets/agent-assets/core/user-guides/chatv3.md +0 -113
- package/assets/agent-assets/core/user-guides/docman.md +0 -223
- package/assets/agent-assets/core/user-guides/projectman.md +0 -233
- package/assets/agent-assets/core/user-guides/sys.md +0 -94
- package/assets/agent-assets/core/user-guides/working-disciplines.md +0 -482
- package/assets/agent-assets/gateway/aops/SKILL.md +0 -14
- package/dist/lib/agent-assets/gateway.js +0 -15
- package/dist/lib/agent-assets/guards.js +0 -23
- package/dist/lib/agent-assets/hosted-discovery.js +0 -148
- package/dist/lib/agent-assets/hosted-package-input.js +0 -154
- package/dist/lib/agent-assets/legacy-pointer-migration.js +0 -677
- package/dist/lib/agent-assets/native-fs.js +0 -589
- package/dist/lib/agent-assets/roots.js +0 -45
- package/dist/lib/agent-assets/runtime-binding-reader.js +0 -545
- package/dist/lib/agent-assets/runtime-targets.js +0 -50
- package/dist/lib/agent-assets/store-reader.js +0 -1212
- package/dist/lib/agent-assets/store-writer.js +0 -1484
- package/native/bin/darwin-arm64/aops-agent-assets-fs +0 -0
- package/native/bin/darwin-x64/aops-agent-assets-fs +0 -0
- package/native/bin/linux-arm64/aops-agent-assets-fs +0 -0
- package/native/bin/linux-x64/aops-agent-assets-fs +0 -0
- package/native/bin/win32-x64/aops-agent-assets-fs.exe +0 -0
- package/native/manifest.json +0 -49
- package/native/qualifications/win32-x64.json +0 -23
- package/native/tui/darwin-arm64/aops-tui +0 -0
- package/native/tui/linux-x64/aops-tui +0 -0
- package/native/tui/win32-x64/aops-tui.exe +0 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aops-cli-sugar-authoring
|
|
3
|
+
description: "Use when an AI agent needs to author or extend a sugar CLI command (eops-cli or aops-cli) over a hosted domain operation. Thin discipline guide: identifies the right command surface, points to canonical authoring sources, and keeps every new sugar wired to `agent schema` discovery so callers stop guessing payload fields."
|
|
4
|
+
metadata:
|
|
5
|
+
short-description: "AOPS/EOPS CLI sugar-authoring thin discipline guide"
|
|
6
|
+
tags:
|
|
7
|
+
- cli
|
|
8
|
+
- authoring
|
|
9
|
+
- sugar
|
|
10
|
+
- host-plugin
|
|
11
|
+
- agent-schema
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# AOPS/EOPS CLI Sugar Authoring
|
|
15
|
+
|
|
16
|
+
This skill is a thin authoring playbook for adding or extending sugar CLI
|
|
17
|
+
commands on `aops-cli` or `eops-cli` over an already-registered hosted domain
|
|
18
|
+
operation. It does **not** cover authoring new operations inside a domain kit
|
|
19
|
+
or host plugin — that path is the kit/host-plugin authoring flow.
|
|
20
|
+
|
|
21
|
+
When this skill conflicts with the architecture doc or `--help`, those win.
|
|
22
|
+
|
|
23
|
+
## When To Use This Skill
|
|
24
|
+
|
|
25
|
+
1. Adding a new `aops-cli <domain> <subcommand>` or `eops-cli <domain> <subcommand>` over a hosted operation that already exists in the kit/host-plugin manifest.
|
|
26
|
+
2. Extending or splitting an existing sugar (new option, new alias, new validation).
|
|
27
|
+
3. Wiring a composite sugar that orchestrates multiple hosted operations under one CLI entry.
|
|
28
|
+
|
|
29
|
+
Out of scope: adding a new operation to a domain kit, exposing it through the host plugin, or changing the federated catalog. Use the kit/host-plugin authoring flow for those — see slug:aops `tooling-cli-host-plugin-system`, the "Domain Kit Katmanı" section (search: domain kit, operation contract) and the "Domain Capability Manifest (DCM)" section (search: DCM, capability manifest, discovery metadata).
|
|
30
|
+
|
|
31
|
+
## Canonical Sources
|
|
32
|
+
|
|
33
|
+
When this skill is silent, ambiguous, or out of date, defer to these:
|
|
34
|
+
|
|
35
|
+
1. slug:aops `tooling-cli-host-plugin-system`, the "Agent Gateway" section (search: agent gateway, tool invoke envelope, public discovery surface) and the "CLI Sistemi" section (search: CLI sistemi, CLI dispatch, registration) — canonical mechanics for invoke routing, public discovery surface, and CLI dispatch.
|
|
36
|
+
2. slug:aops `tooling-cli-host-plugin-system`, the "Tool Input JSON Schema Discovery" section (search: tool input json schema, agent schema, inputJsonSchema) — the `agent schema` contract every new sugar must integrate with.
|
|
37
|
+
3. `aops-cli <command> --help` / `eops-cli <command> --help` for live flag truth.
|
|
38
|
+
4. Existing sugar source files (read these as templates):
|
|
39
|
+
- aops-cli, commander-based: `apps/aops/apps/aops-cli/src/commands/agent.ts`, `apps/aops/apps/aops-cli/src/commands/docman.ts`
|
|
40
|
+
- eops-cli, manual argv + topic registry: `apps/eops/apps/eops-cli/src/commands/inventory.ts` (help registry) and `apps/eops/apps/eops-cli/src/commands/inventory-bom.ts` (builder dispatch)
|
|
41
|
+
|
|
42
|
+
## Pre-Authoring Discovery
|
|
43
|
+
|
|
44
|
+
Before writing any new sugar:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
# Confirm the target operation is registered
|
|
48
|
+
aops-cli agent tools --domain <id> --json | jq '.tools[] | select(.toolId | test("<op-substr>"))'
|
|
49
|
+
# OR
|
|
50
|
+
eops-cli agent tools --domain <id> | grep <op-substr>
|
|
51
|
+
|
|
52
|
+
# Pull the live input contract — this is the payload-shape contract you wrap
|
|
53
|
+
aops-cli agent schema --tool <domain>.<operation>
|
|
54
|
+
eops-cli agent schema --tool <domain>.<operation>
|
|
55
|
+
|
|
56
|
+
# Read the kit's host-route projection to see the HTTP shape (params, method)
|
|
57
|
+
# broad search across the project's guides (local mirror, no id needed):
|
|
58
|
+
aops-cli doc scope search --project-slug aops --q "host-projection" --local --json
|
|
59
|
+
# exact search within a known guide version:
|
|
60
|
+
aops-cli doc search --document-version-id <docver-id> --q "host-projection" --local --json
|
|
61
|
+
# section tree of a known guide version (hosted-only — no local fallback):
|
|
62
|
+
aops-cli doc outline get --document-version-id <docver-id> --json
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
There is no `aops-cli docman … --slug` command — use the ladder; reference sections by document title + section name + keywords, not bare numbers.
|
|
66
|
+
|
|
67
|
+
Decisions you should resolve before writing code:
|
|
68
|
+
|
|
69
|
+
1. Is this a thin wrapper over a single operation or a composite over multiple?
|
|
70
|
+
2. Does it need a request body (`--data`/`--input`/`--patch`) or only positional/route args?
|
|
71
|
+
3. Is it a hosted write (`--apply`/`--confirm` guards) or read-only?
|
|
72
|
+
4. Which CLI is the home (aops-cli or eops-cli)? Operator surfaces follow the app that owns the domain; if both apps consume the operation, prefer the canonical operator plane (aops-cli).
|
|
73
|
+
|
|
74
|
+
## Authoring Pattern — aops-cli (commander)
|
|
75
|
+
|
|
76
|
+
aops-cli uses `commander`. Help is auto-generated from `.command/.description/.option` calls.
|
|
77
|
+
|
|
78
|
+
1. Open the domain commander file: `apps/aops/apps/aops-cli/src/commands/<domain>.ts` (e.g. `agent.ts`, `docman.ts`, `projectman.ts`).
|
|
79
|
+
2. Inside the `make<Domain>Command()` factory append a new subcommand:
|
|
80
|
+
|
|
81
|
+
```ts
|
|
82
|
+
applyCommonOptions(
|
|
83
|
+
cmd
|
|
84
|
+
.command('<sub>')
|
|
85
|
+
.description('<one-line description of what it does>')
|
|
86
|
+
.option('--<flag> <value>', '<help text>')
|
|
87
|
+
.action(async (options: <SubOptions>) => {
|
|
88
|
+
await run<Sub>(options)
|
|
89
|
+
}),
|
|
90
|
+
{ withProject: true /* or false for read-only/global */ }
|
|
91
|
+
)
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
3. Implement `run<Sub>(options)` next to the other run functions. Reuse:
|
|
95
|
+
- `requireApiState(options)` for auth/base-url plumbing
|
|
96
|
+
- `buildAgentContextHeaders(options)` for `x-tenant-id`/`x-scope-id`/etc.
|
|
97
|
+
- `invokeHostedToolWithApiState(apiState, { toolId, input, ... })` for hosted invokes
|
|
98
|
+
- `apiState.client.fetchJson(...)` for direct discovery/read endpoints
|
|
99
|
+
- `unwrapHostedToolResult(payload)` to surface the data result
|
|
100
|
+
- `parseJsonInput(options.input, 'input')` for JSON payloads / `@file.json`
|
|
101
|
+
4. Add an example to `cmd.addHelpText('after', ...)` showing the canonical workflow. Always include the `agent schema --tool <id>` pre-step when the command takes `--data`/`--input`/`--patch`.
|
|
102
|
+
|
|
103
|
+
## Authoring Pattern — eops-cli (manual argv + topic registry)
|
|
104
|
+
|
|
105
|
+
eops-cli renders `--help` from a declarative topic registry and dispatches via builder functions.
|
|
106
|
+
|
|
107
|
+
1. Open the topic registry file: `apps/eops/apps/eops-cli/src/commands/<domain>.ts` (e.g. `inventory.ts`).
|
|
108
|
+
2. Append a topic entry:
|
|
109
|
+
|
|
110
|
+
```ts
|
|
111
|
+
{
|
|
112
|
+
route: ['<domain>', '<entity>', '<sub>'],
|
|
113
|
+
summary: '<one-line summary>',
|
|
114
|
+
usage: [
|
|
115
|
+
'eops-cli <domain> <entity> <sub> --<flag> <value> [--apply --confirm]',
|
|
116
|
+
],
|
|
117
|
+
options: [
|
|
118
|
+
'--data / --payload / --file: JSON object forwarded as <entity> data',
|
|
119
|
+
'--apply --confirm: required together for hosted writes',
|
|
120
|
+
'--idempotency-key: optional hosted write idempotency key when --apply is used',
|
|
121
|
+
],
|
|
122
|
+
notes: [
|
|
123
|
+
// CRITICAL: always include this notes line for write-shaped sugars.
|
|
124
|
+
'Run `eops-cli agent schema --tool <domain>.<operation>` to fetch the live input contract before authoring --data payloads.',
|
|
125
|
+
// Plus any non-obvious field-ownership / lifecycle notes.
|
|
126
|
+
],
|
|
127
|
+
examples: [
|
|
128
|
+
'eops-cli <domain> <entity> <sub> --data @./payload.json',
|
|
129
|
+
'eops-cli <domain> <entity> <sub> --data @./payload.json --apply --confirm',
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
3. Add a builder function `build<Sub>Command(section, action, parsed)` in the builder file (e.g. `inventory-bom.ts`). Return `{ action, operationId, input, write? }`.
|
|
135
|
+
4. Wire the builder into the dispatch chain so the right action returns from `build<Domain>Command(section, action, parsed)`.
|
|
136
|
+
5. Verify with `pnpm --filter @eops/eops-cli run build && eops-cli <domain> <entity> <sub> --help`.
|
|
137
|
+
|
|
138
|
+
## Schema Discovery Integration (Required)
|
|
139
|
+
|
|
140
|
+
Every new sugar that accepts `--data` / `--input` / `--patch` must point operators to `agent schema --tool <toolId>` in its help/notes. Reasons:
|
|
141
|
+
|
|
142
|
+
1. `agent schema` is the canonical pre-authoring contract; without the pointer, operators and AI agents will guess field names and hit `Invalid input` from `z.union`-shaped validators.
|
|
143
|
+
2. Consistency across the kit family — every operator skill already cross-references this step.
|
|
144
|
+
3. When the kit later changes a field, `agent schema` reflects the change immediately; inline help-text field lists drift.
|
|
145
|
+
|
|
146
|
+
Read-only sugars (list/get/search/view) do not require the pointer.
|
|
147
|
+
|
|
148
|
+
## Always Rules
|
|
149
|
+
|
|
150
|
+
1. Reuse the canonical helpers — never reinvent `--apply`/`--confirm`/`--idempotency-key` parsing.
|
|
151
|
+
2. Hosted writes go through `invokeHostedToolWithApiState` (aops-cli) or the existing hosted dispatch in eops-cli — never bypass the gateway.
|
|
152
|
+
3. Help text for write sugars MUST include the `agent schema --tool <toolId>` line.
|
|
153
|
+
4. After authoring, run `--help` and `agent schema --tool <id>` against the new command path to verify discoverability before declaring done.
|
|
154
|
+
5. Run a `--preview` invoke (where supported) and a real `--apply --confirm` invoke for at least one happy-path payload.
|
|
155
|
+
|
|
156
|
+
## Top Anti-Patterns
|
|
157
|
+
|
|
158
|
+
1. Authoring a sugar that bypasses the agent gateway and talks to the domain DB directly.
|
|
159
|
+
2. Hardcoding payload field names in help text without referencing `agent schema`; the help drifts as the kit evolves.
|
|
160
|
+
3. Adding a write sugar without `--apply`/`--confirm` guards.
|
|
161
|
+
4. Copy-pasting argv parsing instead of importing the shared option helpers.
|
|
162
|
+
5. Creating a sugar where `agent invoke --tool <id>` would suffice — sugar is justified by composite behavior, better naming, or operator ergonomics, not by personal preference.
|
|
163
|
+
6. Forgetting to wire the new sugar into the dispatch chain (eops-cli) or the `make<Domain>Command()` factory (aops-cli).
|
|
164
|
+
|
|
165
|
+
## Discovery Shortcuts
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
# broad search across the project's guides (local mirror, no id needed):
|
|
169
|
+
aops-cli doc scope search --project-slug aops --q "agent gateway" --local --json
|
|
170
|
+
aops-cli doc scope search --project-slug aops --q "agent schema" --local --json
|
|
171
|
+
# exact search within a known guide version:
|
|
172
|
+
aops-cli doc search --document-version-id <docver-id> --q "agent gateway" --local --json
|
|
173
|
+
# section tree of a known guide version (hosted-only — no local fallback):
|
|
174
|
+
aops-cli doc outline get --document-version-id <docver-id> --json
|
|
175
|
+
aops-cli agent tools --domain <id> --json
|
|
176
|
+
aops-cli agent schema --tool <domain>.<operation>
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
There is no `aops-cli docman … --slug` command — use the ladder; reference sections by document title + section name + keywords, not bare numbers.
|
|
180
|
+
|
|
181
|
+
## Sister Skills
|
|
182
|
+
|
|
183
|
+
- `aops-cli-core` — help-first discovery, guard flag conventions, `agent invoke` fallback.
|
|
184
|
+
- `aops-cli-{agentspace,discuss,chat,docman,fileman,projectman,tasker}` — operator playbooks for each domain; consult before designing sugar UX.
|
|
185
|
+
- `eops-cli-bom-authoring`, `eops-cli-sourcing-order-workbook` — concrete eops-cli sugar examples covering both read and write surfaces.
|
|
186
|
+
- `aops` / `eops` — router indexes.
|
|
187
|
+
|
|
188
|
+
If `--help` and this skill disagree, `--help` wins. If the architecture doc and this skill disagree, the architecture doc wins.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aops-cli-tasker
|
|
3
|
+
version: 12
|
|
4
|
+
description: "Use when an AI agent needs the AOPS CLI Tasker + Runner operator playbook: choose Tasker vs Projectman, use the minimal board/task/WorkGroup sugar, inspect Runner status/events/artifacts, perform guarded stop/resume/reconcile, or discover the complete hosted Tasker catalog. Thin guide; live --help and the canonical Tasker + Runner User Guide are authoritative."
|
|
5
|
+
metadata:
|
|
6
|
+
supersedes: "v11"
|
|
7
|
+
short-description: "AOPS Tasker + Runner thin operator discipline"
|
|
8
|
+
tags:
|
|
9
|
+
- cli
|
|
10
|
+
- tasker
|
|
11
|
+
- runner
|
|
12
|
+
- projectman-boundary
|
|
13
|
+
- human-first-execution
|
|
14
|
+
- guarded-control
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# AOPS CLI Tasker + Runner
|
|
18
|
+
|
|
19
|
+
Use this skill for the minimal AOPS operator sugar over the hosted Tasker
|
|
20
|
+
integrated profile. It routes work; it does not copy the full hosted capability
|
|
21
|
+
catalog or create a second executor.
|
|
22
|
+
|
|
23
|
+
## Ownership boundary
|
|
24
|
+
|
|
25
|
+
- Plan and review in Projectman: `aops pm ...`.
|
|
26
|
+
- Track human-first execution in Tasker: `aops tasker ...`.
|
|
27
|
+
- Read or control run state through Runner: `aops runner ...`.
|
|
28
|
+
- Store durable resume and decisions in Agentspace: `aops mem ...`.
|
|
29
|
+
|
|
30
|
+
A Tasker WorkGroup is an execution batch, not a Projectman sprint. Keep only a
|
|
31
|
+
weak planning-origin reference when execution needs to point back to Projectman.
|
|
32
|
+
|
|
33
|
+
## Start with live help
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
aops tasker --help
|
|
37
|
+
aops tasker board --help
|
|
38
|
+
aops tasker task --help
|
|
39
|
+
aops tasker work-group --help
|
|
40
|
+
aops runner --help
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
The installed `--help` output is authoritative for flags and command shape.
|
|
44
|
+
|
|
45
|
+
## Common workflows
|
|
46
|
+
|
|
47
|
+
Read Tasker state:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
aops tasker board list --project-slug <slug> --json
|
|
51
|
+
aops tasker task list --scope-id <scope-id> --summary --json
|
|
52
|
+
aops tasker work-group list --scope-id <scope-id> --summary --json
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Preview a task write, then apply the same intent:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
aops tasker task create --scope-id <scope-id> --column <column-id> --title "<task>" --preview --json
|
|
59
|
+
aops tasker task create --scope-id <scope-id> --column <column-id> --title "<task>" --apply --json
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Read and control Runner state:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
aops runner status --run-id <run-id> --include-events --summary --json
|
|
66
|
+
aops runner event list --run-id <run-id> --limit 20 --summary --json
|
|
67
|
+
aops runner artifact list --run-id <run-id> --summary --json
|
|
68
|
+
aops runner stop --run-id <run-id> --idempotency-key <key> --preview --json
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Stop, resume, and reconcile require `--preview` or `--apply`. Event recording
|
|
72
|
+
stays executor-owned and is intentionally not operator sugar.
|
|
73
|
+
|
|
74
|
+
## Complete capability discovery
|
|
75
|
+
|
|
76
|
+
Sugar is intentionally bounded. For everything else, discover the running
|
|
77
|
+
server instead of guessing or copying tool ids:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
aops agent tools --domain tasker --summary --json
|
|
81
|
+
aops agent schema --tool <tasker-tool-id> --summary --json
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Use a sugar command's `--input '@request.json'` escape hatch for a complete
|
|
85
|
+
hosted-tool input, or `aops agent invoke` when no sugar command fits.
|
|
86
|
+
|
|
87
|
+
## Anti-patterns
|
|
88
|
+
|
|
89
|
+
- Do not use Tasker as a second sprint or review system.
|
|
90
|
+
- Do not treat WorkGroups as Projectman sprints.
|
|
91
|
+
- Do not hand-edit hosted rows or `.aops` mirrors.
|
|
92
|
+
- Do not infer completed work from an accepted Runner control request; read
|
|
93
|
+
status and events again.
|
|
94
|
+
- Do not run a second worker, scheduler, DCM, or migration engine from this
|
|
95
|
+
skill.
|
|
96
|
+
|
|
97
|
+
## Canonical sources
|
|
98
|
+
|
|
99
|
+
1. Installed `aops tasker --help` and `aops runner --help`.
|
|
100
|
+
2. Docman: `Tasker + Runner User Guide`, current v1
|
|
101
|
+
`53552bdc-82bb-4228-88fe-5ff0a41fdd25`.
|
|
102
|
+
3. `domains/tasker/USER_GUIDE.md` as the reviewable materialization of that
|
|
103
|
+
canonical guide.
|
|
104
|
+
4. Docman: `Tasker Architecture` for developer-only package, database,
|
|
105
|
+
profile, and Runner ownership contracts.
|
|
106
|
+
|
|
107
|
+
If these disagree, use live help for command syntax, the User Guide for operator
|
|
108
|
+
semantics, and Tasker Architecture for implementation boundaries.
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aops-cli-tooling-agent
|
|
3
|
+
version: 41
|
|
4
|
+
description: "Compatibility index for AOPS CLI modular operator skills. Routes agents to aops-cli-core, aops-cli-discuss, aops-cli-chat, aops-cli-projectman, aops-cli-docman, aops-cli-agentspace, aops-cli-fileman, aops-cli-tasker, aops-cli-view, plus help-first and hosted mirror rules. Kept for old prompts/runtimes."
|
|
5
|
+
metadata:
|
|
6
|
+
supersedes: "v40"
|
|
7
|
+
short-description: "AOPS CLI modular skill index"
|
|
8
|
+
tags:
|
|
9
|
+
- cli
|
|
10
|
+
- tooling
|
|
11
|
+
- operators
|
|
12
|
+
- index
|
|
13
|
+
- deprecated-monolith
|
|
14
|
+
- discovery
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# AOPS CLI Tooling Agent — Modular Skill Index
|
|
18
|
+
|
|
19
|
+
This skill is a **compatibility pointer**. The old monolithic `aops-cli-tooling-agent` content is split into smaller family-focused skills. Do not expand this file back into a monolith.
|
|
20
|
+
|
|
21
|
+
## This skill covers
|
|
22
|
+
|
|
23
|
+
1. Routing to the right AOPS CLI family skill.
|
|
24
|
+
2. Help-first fallback when a family skill is unavailable in the runtime.
|
|
25
|
+
3. Local cache and hosted server guard reminders.
|
|
26
|
+
|
|
27
|
+
## Family skill index
|
|
28
|
+
|
|
29
|
+
| Need | Skill | Canonical user guide |
|
|
30
|
+
|------|-------|----------------------|
|
|
31
|
+
| CLI core, guard flags, sync, hosted mirror, raw invoke | **`aops-cli-core`** | `.aops/docman/aops-guides/aops-cli-user-guide.md` (Help-first model, Guard flag konvansiyonu, Local cache and hosted server sections) |
|
|
32
|
+
| discuss / decision / consensus (standalone topics, conclude outputs) | **`aops-cli-discuss`** | `.aops/docman/domain-guides/agentspace-user-guide.md` (Coordination semantics, Anti-patterns appendix sections) |
|
|
33
|
+
| chat / coordination / wake (hosted rooms, DMs, listen/catchup) | **`aops-cli-chat`** | `.aops/docman/domain-guides/agentspace-user-guide.md` (Coordination semantics) |
|
|
34
|
+
| review-request/result, re-review, issues, operator-approved closeout | **`aops-cli-projectman`** | `domains/projectman/USER_GUIDE.md` |
|
|
35
|
+
| Projectman board/sprint/task/issue/feedback (board-lifecycle folded) | **`aops-cli-projectman`** | `domains/projectman/USER_GUIDE.md` (Projectman model, Common workflow scenarios, Cross-session handoff sections) |
|
|
36
|
+
| Docman CRUD-first authoring, search, answer, publish | **`aops-cli-docman`** | `domains/docman/USER_GUIDE.md` |
|
|
37
|
+
| Agentspace memory/project/prompt/resource/artifact/skill/agent-profile | **`aops-cli-agentspace`** | `.aops/docman/domain-guides/agentspace-user-guide.md` |
|
|
38
|
+
| File snapshot/copy/backup/diff/restore | **`aops-cli-fileman`** | `domains/fileman/USER_GUIDE.md` |
|
|
39
|
+
| Tasker / Runner workflows / tracked execution | **`aops-cli-tasker`** | `domains/tasker/USER_GUIDE.md` |
|
|
40
|
+
| Read-only local-cache cockpit views | **`aops-cli-view`** | `.aops/docman/aops-guides/aops-cli-user-guide.md` (view subsection) |
|
|
41
|
+
| Deprecated board-lifecycle pointer | `aops-cli-board-lifecycle` (folded into projectman) | — |
|
|
42
|
+
|
|
43
|
+
## Canonical source split
|
|
44
|
+
|
|
45
|
+
1. CLI command shape: `aops-cli <family> --help`.
|
|
46
|
+
2. Domain semantics: the relevant hosted Docman mirror when migrated, otherwise the domain `USER_GUIDE.md` and `architecture.md`.
|
|
47
|
+
3. Operator playbook + workflow patterns: hosted `aops-cli-<family>` skills.
|
|
48
|
+
4. Section-focused reading: use the doc discovery ladder in the **Deep reading** section below (`aops-cli doc scope search` / `doc search` / `doc outline get`).
|
|
49
|
+
|
|
50
|
+
## Compatibility fallback
|
|
51
|
+
|
|
52
|
+
When a family skill is missing in the active runtime, use the help-first sequence:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
aops-cli --help
|
|
56
|
+
aops-cli <family> --help
|
|
57
|
+
aops-cli <family> <subcommand> --help
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Then read the matching domain guide:
|
|
61
|
+
|
|
62
|
+
1. `domains/projectman/USER_GUIDE.md`
|
|
63
|
+
2. `.aops/docman/domain-guides/agentspace-user-guide.md`
|
|
64
|
+
3. `domains/docman/USER_GUIDE.md`
|
|
65
|
+
4. `domains/fileman/USER_GUIDE.md`
|
|
66
|
+
5. `domains/tasker/USER_GUIDE.md`
|
|
67
|
+
6. `.aops/docman/aops-guides/aops-cli-user-guide.md`
|
|
68
|
+
|
|
69
|
+
## Hosted mirror rule
|
|
70
|
+
|
|
71
|
+
`.aops/hosted/**` is read-only mirror context. Hosted skill/prompt truth is changed through `aops-cli skill ...` and `aops-cli prompt ...`, then refreshed locally:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
aops-cli sync pull --apply --hosted-project-slug aops --json
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Docman guide mirrors under `.aops/docman/**` are separate. Refresh them with `aops-cli doc mirror pull --project-slug aops --group-uid <group-uid> --out-dir ./.aops/docman --apply --json`; `sync pull` does not refresh guide mirrors. In non-interactive automation, `--yes` can be added to supported commands as fail-fast mode, but it is not proof that an abort was fixed.
|
|
78
|
+
|
|
79
|
+
## Guard reminder
|
|
80
|
+
|
|
81
|
+
| Flag | Effect |
|
|
82
|
+
|------|--------|
|
|
83
|
+
| `--apply` | execute a guarded write (mostly mandatory for write commands) |
|
|
84
|
+
| `--apply --confirm` | execute a destructive operation (delete/overwrite) |
|
|
85
|
+
| `--json` | scriptable structured output |
|
|
86
|
+
| `--idempotency-key <id>` | retry-safe writes |
|
|
87
|
+
| `--preview` | validate without side effects |
|
|
88
|
+
|
|
89
|
+
When in doubt: `--help` is canonical.
|
|
90
|
+
|
|
91
|
+
## Deep reading
|
|
92
|
+
|
|
93
|
+
For section-focused reading instead of full-file linear reads:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
# broad search across the project's guides (local mirror, no id needed):
|
|
97
|
+
aops-cli doc scope search --project-slug aops --q "<keyword>" --local --json
|
|
98
|
+
# exact search within a known guide version:
|
|
99
|
+
aops-cli doc search --document-version-id <docver-id> --q "<keyword>" --local --json
|
|
100
|
+
# section tree of a known guide version (hosted-only — no local fallback):
|
|
101
|
+
aops-cli doc outline get --document-version-id <docver-id> --json
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
There is no `aops-cli docman … --slug` command — use the ladder; reference sections by document title + section name + keywords, not bare numbers.
|
|
105
|
+
|
|
106
|
+
## Deprecation note
|
|
107
|
+
|
|
108
|
+
`aops-cli-tooling-agent` is **not hard-sunset**. It remains a stable index for old prompts, AGENTS references, and runtimes that have not switched to family-specific skills. New task prompts should prefer the smallest matching `aops-cli-<family>` skill.
|
|
109
|
+
|
|
110
|
+
## Override priority
|
|
111
|
+
|
|
112
|
+
If `--help` and this skill disagree, `--help` wins (canonical command surface). If the user guide and this skill disagree, the user guide wins.
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aops-cli-view
|
|
3
|
+
version: 11
|
|
4
|
+
description: "Use when an AI agent needs AOPS CLI presentation/cockpit operator playbook: discovery (read-only local-cache markdown/JSON views + hosted project inventory), selector contract, filter matrix, output controls, and view ownership boundary. Thin discipline guide; canonical mechanics live in .aops/docman/aops-guides/aops-cli-user-guide.md (AOPS markdown view sugar subsection) and command --help."
|
|
5
|
+
metadata:
|
|
6
|
+
supersedes: "v10"
|
|
7
|
+
short-description: "AOPS CLI local-cache view / cockpit / presentation guide"
|
|
8
|
+
tags:
|
|
9
|
+
- cli
|
|
10
|
+
- view
|
|
11
|
+
- cockpit
|
|
12
|
+
- presentation
|
|
13
|
+
- local-cache
|
|
14
|
+
- hosted
|
|
15
|
+
- read-only
|
|
16
|
+
- markdown
|
|
17
|
+
- json
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# AOPS CLI View
|
|
21
|
+
|
|
22
|
+
`aops-cli view ...` is a **read-only presentation cockpit**. Most commands are local-cache and read local `.aops/**/*.md` files. Explicit hosted commands (`hosted-projects`, `hosted-inventory`) call hosted list APIs for inspection only. View **never** syncs, refreshes mirrors, writes cache/index files, or runs domain mutations. Default output is agent/TUI compatible markdown; `--json` returns the same read-model as a stable envelope.
|
|
23
|
+
|
|
24
|
+
This skill is intentionally not a domain skill: presentation is a CLI-internal cockpit concern. **Canonical view content lives in `.aops/docman/aops-guides/aops-cli-user-guide.md`** (AOPS markdown view sugar subsection); skill text is workflow + filter/selector reference.
|
|
25
|
+
|
|
26
|
+
## When to use this skill
|
|
27
|
+
|
|
28
|
+
1. Local-cache dashboards (project cockpit, board, sprint, task, issue, feedback, memory, resume, discussions)
|
|
29
|
+
2. Hosted project inventory inspection (`hosted-projects`, `hosted-inventory`)
|
|
30
|
+
3. Skill/prompt/doc mirror views from `.aops/hosted/**`/`.aops/docman/**`
|
|
31
|
+
4. Focused context pack via `digest` (sprint/task/board, depth shallow|deep)
|
|
32
|
+
5. Filter and selector contract for read-only views
|
|
33
|
+
|
|
34
|
+
## Use another skill for
|
|
35
|
+
|
|
36
|
+
1. CLI guard flags, sync, hosted mirror mechanics: `aops-cli-core`.
|
|
37
|
+
2. Planning mutations (board/sprint/task/issue/feedback create/update): `aops-cli-projectman`.
|
|
38
|
+
3. Memory/agent-profile mutations: `aops-cli-agentspace`; discuss decision/consensus topics: `aops-cli-discuss`; chat coordination/wake: `aops-cli-chat`.
|
|
39
|
+
4. Document graph CRUD/search/publish: `aops-cli-docman`.
|
|
40
|
+
5. File snapshot/copy/backup: `aops-cli-fileman`.
|
|
41
|
+
6. Tasker / runner orchestration: `aops-cli-tasker`.
|
|
42
|
+
|
|
43
|
+
## Canonical sources (authoritative)
|
|
44
|
+
|
|
45
|
+
When this skill is silent, ambiguous, or out of date, **defer to these**:
|
|
46
|
+
|
|
47
|
+
1. `.aops/docman/aops-guides/aops-cli-user-guide.md` — canonical CLI operator guide (includes the "AOPS markdown view sugar" section under "`.aops` local cache and sync").
|
|
48
|
+
2. `aops-cli view --help` and nested family help (per subcommand) — flag-level detail.
|
|
49
|
+
3. Section-focused reading on the CLI user guide via the doc discovery ladder:
|
|
50
|
+
```bash
|
|
51
|
+
# broad search across the project's guides (local mirror, no id needed):
|
|
52
|
+
aops-cli doc scope search --project-slug aops --q "view sugar" --local --json
|
|
53
|
+
# exact search within a known guide version:
|
|
54
|
+
aops-cli doc search --document-version-id <docver-id> --q "view sugar" --local --json
|
|
55
|
+
# section tree of a known guide version (hosted-only — no local fallback):
|
|
56
|
+
aops-cli doc outline get --document-version-id <docver-id> --json
|
|
57
|
+
```
|
|
58
|
+
There is no `aops-cli docman … --slug` command — use the ladder; reference sections by document title + section name + keywords, not bare numbers.
|
|
59
|
+
4. Local-cache views read `.aops/**/*.md`; hosted views read hosted list APIs. **Canonical truth still lives in the originating domain** (Projectman, Agentspace, Docman, hosted server).
|
|
60
|
+
|
|
61
|
+
## Discovery: which view for what
|
|
62
|
+
|
|
63
|
+
| Need | Command |
|
|
64
|
+
|------|---------|
|
|
65
|
+
| Project cockpit | `aops-cli view dashboard` |
|
|
66
|
+
| Repo-bound projects | `aops-cli view projects` |
|
|
67
|
+
| Hosted Agentspace project list | `aops-cli view hosted-projects` |
|
|
68
|
+
| Per-project hosted inventory (docs/skills/prompts/resources) | `aops-cli view hosted-inventory --hosted-project <slug>` |
|
|
69
|
+
| Local-cache PM list views | `aops-cli view boards/tasks/sprints/issues/feedback` |
|
|
70
|
+
| Focused window detail | `aops-cli view sprint\|task\|board <selector>` |
|
|
71
|
+
| Agentspace context | `aops-cli view memory/resume/experience/discussions` |
|
|
72
|
+
| Hosted skill/prompt mirror | `aops-cli view skills/prompts` |
|
|
73
|
+
| Docman mirror | `aops-cli view docs/doc/doc-page` |
|
|
74
|
+
| Focused context pack (handoff) | `aops-cli view digest --sprint\|--task\|--board <selector> --depth shallow\|deep` |
|
|
75
|
+
|
|
76
|
+
## Selector contract (essential)
|
|
77
|
+
|
|
78
|
+
1. Local-cache selectors accept full UUID, 8+ char prefix, slug, or exact title.
|
|
79
|
+
2. Hosted project selectors accept hosted project id, scope id, slug, name, or 8+ char prefix via `--hosted-project`.
|
|
80
|
+
3. Slug match is case-insensitive; exact title/name match is whitespace-trimmed.
|
|
81
|
+
4. Ambiguous selectors raise an error listing candidates so the operator can disambiguate.
|
|
82
|
+
|
|
83
|
+
## Filter matrix (essential)
|
|
84
|
+
|
|
85
|
+
| Komut | Filter flag'leri | Anlam |
|
|
86
|
+
|-------|------------------|-------|
|
|
87
|
+
| `view memory`, `view resume` | `--durability`, `--kind`, `--subject`, `--id` | durability=short\|durable\|sticky; kind=kickoff\|resume\|closeout\|note\|rule\|...; subject=project\|board\|sprint\|task\|ktask\|utask\|issue\|feedback; id=full UUID veya 8+ char prefix |
|
|
88
|
+
| `view tasks` | `--board`, `--status` | board=slug/name/id; status=column adı veya slug |
|
|
89
|
+
| `view issues`, `view feedback` | `--status`, `--severity`, `--board`, `--sprint`, `--task` | status=frontmatter; severity=low\|medium\|high\|critical |
|
|
90
|
+
| `view sprints` | `--board`, `--status` | board=slug/name; status=todo\|doing\|completed\|paused |
|
|
91
|
+
| `view discussions` | `--status`, `--agent` | status=active\|concluding\|concluded\|abandoned; agent=participants |
|
|
92
|
+
| `view experience` | `--type`, `--area` | type=technique\|tool\|script\|problem-solution\|idea; area=tag |
|
|
93
|
+
| `view hosted-inventory` | `--hosted-project`, `--scope-resolution` | hostedProject=id/slug/name/prefix; scopeResolution=explicit\|cascade |
|
|
94
|
+
|
|
95
|
+
Filters AND together. Empty result emits `No matching records.` fallback.
|
|
96
|
+
|
|
97
|
+
## Output controls
|
|
98
|
+
|
|
99
|
+
| Flag | Effect |
|
|
100
|
+
|------|--------|
|
|
101
|
+
| `--style agent\|compact\|wide` | layout density |
|
|
102
|
+
| `--json` | scriptable envelope (`surface: "local-cache-view"` or `"hosted-view"`) |
|
|
103
|
+
| `--max-items <n>` | cap returned/rendered records |
|
|
104
|
+
| `--max-bytes <n>` | hard-capped at 32768 |
|
|
105
|
+
| `--link-mode none\|relative\|absolute` | path link rendering; default is `none` |
|
|
106
|
+
|
|
107
|
+
Local-cache JSON envelope footer: `local-state` (synced/dirty/conflict/local/deleted), not raw `syncState`. Hosted JSON envelope: `surface: "hosted-view"`.
|
|
108
|
+
|
|
109
|
+
Hosted commands also accept common auth flags: `--api-base-url`, `--access-token`, `--refresh-token`, `--timeout-ms`, `--tenant-id`, `--locale`, `--fallback-locale`, `--scope-id`, `--scope-resolution`. Local-cache command help may display these shared flags, but they are only used by explicit hosted view commands.
|
|
110
|
+
|
|
111
|
+
## Common workflows
|
|
112
|
+
|
|
113
|
+
### Workflow 1: Daily cockpit
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
aops-cli view dashboard --style agent
|
|
117
|
+
aops-cli view boards
|
|
118
|
+
aops-cli view tasks --board <slug> --status Doing
|
|
119
|
+
aops-cli view issues --status open --severity high
|
|
120
|
+
aops-cli view feedback --status open
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Workflow 2: Focused subject inspection
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
aops-cli view sprint <selector> --max-items 20
|
|
127
|
+
aops-cli view task <selector>
|
|
128
|
+
aops-cli view memory --subject sprint --id <sprint-id>
|
|
129
|
+
aops-cli view resume --subject project
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Workflow 3: Handoff context pack
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
aops-cli view digest --sprint <sprint-id> --depth shallow
|
|
136
|
+
aops-cli view digest --task <task-id> --depth deep --max-bytes 32768
|
|
137
|
+
aops-cli view digest --board <board-slug> --depth deep
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Workflow 4: Hosted inventory inspection (read-only)
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
aops-cli view hosted-projects --style compact
|
|
144
|
+
aops-cli view hosted-inventory --hosted-project <slug> --scope-resolution explicit
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## Always rules (pointers; do not duplicate the rule body here)
|
|
148
|
+
|
|
149
|
+
1. View is read-only by contract — never mutates, syncs, or refreshes mirrors.
|
|
150
|
+
2. Local-cache view commands read only `.aops/**/*.md`; hosted view commands call only hosted read/list APIs.
|
|
151
|
+
3. View does NOT refresh `.aops/hosted/**` or `.aops/docman/**` mirrors; use `aops-cli sync pull` for hosted prompt/skill mirrors and `aops-cli doc mirror pull` for Docman guide mirrors.
|
|
152
|
+
4. Use selectors before guessing UUIDs; if a selector is ambiguous, run a list view first to disambiguate.
|
|
153
|
+
5. Filter flags AND together; empty result emits `No matching records.` fallback (intentional, not an error).
|
|
154
|
+
6. Use focused `view digest` over generic `view dashboard` when handing off context to another agent — digest scopes per subject and respects `--depth`.
|
|
155
|
+
|
|
156
|
+
## Top anti-patterns
|
|
157
|
+
|
|
158
|
+
Most common failure modes:
|
|
159
|
+
|
|
160
|
+
1. **Using `view` as a mutation surface**. View is read-only by contract.
|
|
161
|
+
2. **Treating `view dashboard` JSON as canonical state**. It is a composed read-model; canonical state remains per-domain.
|
|
162
|
+
3. **Treating `view hosted-inventory` as sync/bootstrap**. It only reads; hosted prompt/skill mirror update is `sync pull`, while Docman guide mirror update is `doc mirror pull`.
|
|
163
|
+
4. **Bypassing selector errors by guessing UUIDs**. Run a list view first when ambiguous.
|
|
164
|
+
5. **Editing derived view files** (`.aops/projectman/views/index.md`, etc) — they are regenerated after every mutation.
|
|
165
|
+
6. **Loading `view dashboard` for handoff** instead of focused `view digest --depth shallow|deep`.
|
|
166
|
+
|
|
167
|
+
## V2 deferred surfaces
|
|
168
|
+
|
|
169
|
+
Documented for awareness; not yet shipped:
|
|
170
|
+
|
|
171
|
+
1. `view relations <selector>` — cross-domain RelationResolver.
|
|
172
|
+
2. `view skill|prompt|experience <selector>` detail inspect.
|
|
173
|
+
3. `aops-cli ls`, `aops-cli show` aliases.
|
|
174
|
+
4. `--out <path>` artifact writer (stdout remains default).
|
|
175
|
+
5. Hosted relation graph deeper edge resolver.
|
|
176
|
+
6. Cache/index when performance demands.
|
|
177
|
+
|
|
178
|
+
## Deep reading
|
|
179
|
+
|
|
180
|
+
For section-focused reading instead of full-file linear reads:
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
# broad search across the project's guides (local mirror, no id needed):
|
|
184
|
+
aops-cli doc scope search --project-slug aops --q "view sugar" --local --json
|
|
185
|
+
aops-cli doc scope search --project-slug aops --q "filter" --local --json
|
|
186
|
+
aops-cli doc scope search --project-slug aops --q "digest" --local --json
|
|
187
|
+
# exact search within a known guide version:
|
|
188
|
+
aops-cli doc search --document-version-id <docver-id> --q "view sugar" --local --json
|
|
189
|
+
# section tree of a known guide version (hosted-only — no local fallback):
|
|
190
|
+
aops-cli doc outline get --document-version-id <docver-id> --json
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
There is no `aops-cli docman … --slug` command — use the ladder; reference sections by document title + section name + keywords, not bare numbers.
|
|
194
|
+
|
|
195
|
+
For flag-level detail per command, always run `--help` first:
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
aops-cli view --help
|
|
199
|
+
aops-cli view dashboard --help
|
|
200
|
+
aops-cli view hosted-projects --help
|
|
201
|
+
aops-cli view hosted-inventory --help
|
|
202
|
+
aops-cli view sprint --help
|
|
203
|
+
aops-cli view task --help
|
|
204
|
+
aops-cli view board --help
|
|
205
|
+
aops-cli view digest --help
|
|
206
|
+
aops-cli view memory --help
|
|
207
|
+
aops-cli view discussions --help
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
If `--help` and this skill disagree, **`--help` wins** (canonical command surface). If `.aops/docman/aops-guides/aops-cli-user-guide.md` and this skill disagree, **user guide wins**.
|