@grifhinz/logics-manager 2.6.0 → 2.8.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 +37 -3
- package/VERSION +1 -1
- package/clients/viewer/browser-host.js +1597 -100
- package/clients/viewer/index.html +11 -4
- package/clients/viewer/viewer.css +402 -1
- package/logics_manager/assist.py +1 -0
- package/logics_manager/cli.py +5 -3
- package/logics_manager/flow.py +67 -3
- package/logics_manager/lint.py +11 -7
- package/logics_manager/sync.py +47 -19
- package/logics_manager/viewer.py +1327 -25
- package/package.json +1 -1
- package/pyproject.toml +1 -1
package/README.md
CHANGED
|
@@ -111,14 +111,36 @@ Useful commands:
|
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
113
|
logics-manager flow list
|
|
114
|
+
logics-manager flow show req_001_example
|
|
114
115
|
logics-manager flow promote request-to-backlog req_001_example
|
|
115
116
|
logics-manager flow promote backlog-to-task item_001_example
|
|
116
117
|
logics-manager flow finish task task_001_example
|
|
117
|
-
logics-manager sync
|
|
118
|
+
logics-manager sync read-doc req_001_example --max-chars 6000
|
|
119
|
+
logics-manager sync context-pack req_001_example task_001_example --format json
|
|
120
|
+
logics-manager sync refresh-mermaid-signatures task_001_example
|
|
121
|
+
logics-manager flow closeout task_001_example --validation-command "pytest tests" --validation-result passed --lint --audit
|
|
118
122
|
logics-manager view --open
|
|
119
123
|
logics-manager view --focus req_001_example --read --open
|
|
120
124
|
```
|
|
121
125
|
|
|
126
|
+
### Agent workflow cookbook
|
|
127
|
+
|
|
128
|
+
For bounded workflow inspection, prefer `logics-manager flow show <ref>` or
|
|
129
|
+
`logics-manager sync read-doc <ref>` before reading Markdown directly. Both
|
|
130
|
+
commands include useful body content in text mode and keep JSON output available
|
|
131
|
+
with `--format json`.
|
|
132
|
+
|
|
133
|
+
For linked context, use `logics-manager sync context-pack <refs...>` with a
|
|
134
|
+
small set of request, backlog, or task refs. The command deduplicates each
|
|
135
|
+
ref's direct neighborhood and supports `--mode diff-first` when recent changes
|
|
136
|
+
matter.
|
|
137
|
+
|
|
138
|
+
For targeted hygiene repair, use
|
|
139
|
+
`logics-manager sync refresh-mermaid-signatures <refs-or-paths...>` or
|
|
140
|
+
`--changed-only` to avoid unrelated workflow diffs. For end-of-delivery cleanup,
|
|
141
|
+
use `logics-manager flow closeout <task>` with validation evidence plus
|
|
142
|
+
`--lint --audit` when you want the command to run the gates before reporting.
|
|
143
|
+
|
|
122
144
|
### Local Browser Viewer
|
|
123
145
|
|
|
124
146
|
Use the CLI viewer when you want to inspect the Logics corpus outside VS Code:
|
|
@@ -127,7 +149,19 @@ Use the CLI viewer when you want to inspect the Logics corpus outside VS Code:
|
|
|
127
149
|
logics-manager view --open
|
|
128
150
|
```
|
|
129
151
|
|
|
130
|
-
The viewer starts a localhost-only
|
|
152
|
+
The viewer starts a localhost-only browser UI on `127.0.0.1:8765` by default. It shows the same workflow board/list experience as the extension, with search, filters, document previews, corpus insights, lint/audit health, Mermaid rendering, auto-refresh, and an edit shortcut that opens the selected Markdown file in the system editor.
|
|
153
|
+
|
|
154
|
+
The CDX missions panel includes guarded workflows for audits, release reviews,
|
|
155
|
+
turning a free-form wish into a structured Logics request, preparing a corpus
|
|
156
|
+
plan, and preparing a guarded pre-release from an editable `vX.X.X` version.
|
|
157
|
+
For full-audit and release-review, the main write checkbox allows CDX to write
|
|
158
|
+
the mission corpus/report; direct repository fixes require the separate `Fix
|
|
159
|
+
directly` checkbox and skip the corpus/report artifact. Write-capable missions
|
|
160
|
+
must report changed files and validation evidence. The corpus-ready mission asks
|
|
161
|
+
CDX for allowed corpus actions first; the corpus is updated when those returned
|
|
162
|
+
actions are applied explicitly. The pre-release mission may update release
|
|
163
|
+
metadata and create the matching changelog, but must not tag, push, publish,
|
|
164
|
+
upload assets, or create a GitHub release.
|
|
131
165
|
|
|
132
166
|
Useful options:
|
|
133
167
|
|
|
@@ -139,7 +173,7 @@ logics-manager view --focus logics/tasks/task_001_example.md --read --open
|
|
|
139
173
|
logics-manager view --no-open
|
|
140
174
|
```
|
|
141
175
|
|
|
142
|
-
Use `--port 0` when the default port is already taken.
|
|
176
|
+
Use `--port 0` when the default port is already taken. Direct Logics workflow mutations still route through canonical CLI commands such as `flow promote`, `flow finish`, `lint`, and `audit`; guided CDX missions may edit repository files only when the mission's file-write checkbox is enabled.
|
|
143
177
|
|
|
144
178
|
Focused viewer links can point directly at a corpus item:
|
|
145
179
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.8.0
|