@versatly/workgraph 0.3.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,10 +15,11 @@ Agent-first workgraph workspace for multi-agent collaboration.
15
15
  - Native skill primitive lifecycle (`workgraph skill write/load/propose/promote`)
16
16
  - Primitive-registry manifest + auto-generated `.base` files
17
17
  - Orientation loop commands (`workgraph status/brief/checkpoint/intake`)
18
+ - Deterministic context lenses (`workgraph lens list/show`) for real-time situational awareness
18
19
  - Multi-filter primitive query (`workgraph query ...`)
19
20
  - Core + QMD-compatible keyword search (`workgraph search ...`)
20
21
  - Obsidian Kanban board generation/sync (`workgraph board generate|sync`)
21
- - Wiki-link graph indexing and hygiene reports (`workgraph graph index|hygiene`)
22
+ - Wiki-link graph intelligence (`workgraph graph index|hygiene|neighborhood|impact|context|edges|export`)
22
23
  - Policy party registry and sensitive transition gates
23
24
  - Programmatic dispatch contract (`workgraph dispatch ...`) with explicit status transitions
24
25
  - Trigger dispatch bridge (`workgraph trigger fire ...`) with idempotency keying
@@ -61,12 +62,18 @@ workgraph thread create "Ship command center" \
61
62
  workgraph thread next --claim --actor agent-worker --json
62
63
  workgraph status --json
63
64
  workgraph brief --actor agent-worker --json
65
+ workgraph lens list --json
66
+ workgraph lens show my-work --actor agent-worker --json
64
67
  workgraph query --type thread --status open --limit 10 --json
65
68
  workgraph search "auth" --mode auto --json
66
69
  workgraph checkpoint "Completed API layer" --next "implement tests" --actor agent-worker --json
67
70
  workgraph board generate --output "ops/Workgraph Board.md" --json
68
71
  workgraph graph hygiene --json
69
- workgraph graph neighbors context-nodes/context-node-1 --json
72
+ workgraph graph neighborhood ship-feature --depth 2 --json
73
+ workgraph graph impact ship-feature --json
74
+ workgraph graph context ship-feature --budget 2000 --json
75
+ workgraph graph edges ship-feature --json
76
+ workgraph graph export ship-feature --depth 2 --format md --json
70
77
  workgraph dispatch create "Review blockers" --actor agent-lead --json
71
78
  workgraph dispatch mark run_123 --status succeeded --output "Review complete" --actor agent-lead --json
72
79
  workgraph dispatch create-execute "Close all ready threads in platform space" \
@@ -149,6 +156,28 @@ workgraph bases generate --json
149
156
  workgraph bases generate --all --refresh-registry --json
150
157
  ```
151
158
 
159
+ ### Graph intelligence workflows
160
+
161
+ ```bash
162
+ # Build/refresh graph index first (optional but useful)
163
+ workgraph graph index --json
164
+
165
+ # Multi-hop neighborhood around a primitive slug/path
166
+ workgraph graph neighborhood ship-feature --depth 2 --json
167
+
168
+ # Reverse-link blast radius (what references this primitive)
169
+ workgraph graph impact ship-feature --json
170
+
171
+ # Auto-assemble markdown context bundle within token budget (chars/4)
172
+ workgraph graph context ship-feature --budget 2000 --json
173
+
174
+ # Inspect typed relationship edges for one primitive
175
+ workgraph graph edges ship-feature --json
176
+
177
+ # Export a markdown subgraph for handoff/sharing
178
+ workgraph graph export ship-feature --depth 2 --format md --json
179
+ ```
180
+
152
181
  ### Ledger query, blame, and tamper detection
153
182
 
154
183
  ```bash