@maind-dev/cli 0.94.2 → 0.96.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 +12 -5
- package/build/index.js +224 -223
- package/build/meta.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,13 +106,15 @@ The CLI never posts the comment itself — your workflow posts the file via
|
|
|
106
106
|
|
|
107
107
|
### Detector findings (with `--gate`)
|
|
108
108
|
|
|
109
|
-
With `--gate`, the CLI also runs the
|
|
109
|
+
With `--gate`, the CLI also runs the nine repo-health detectors from
|
|
110
110
|
`@maind/code-index` on this machine — number collisions in counter-style
|
|
111
111
|
namespaces (`ADR-263-*.md` twice), spec drift (a registry vs. the artefact it
|
|
112
112
|
declares), dead theme classes (a Tailwind v4 utility pointing at a token that
|
|
113
113
|
does not exist), table ACL (Supabase default grants never revoked), duplicate
|
|
114
114
|
changelog headings, unparsable workflow YAML, release claims (a changelog
|
|
115
|
-
version npm never published)
|
|
115
|
+
version npm never published), prose added to agent docs and a work-object
|
|
116
|
+
branch without documentation (no Markdown file naming the key, no
|
|
117
|
+
`Doc-Decision:` trailer) — and sends them to
|
|
116
118
|
`review_verdict` as a third finding class next to convention findings and risk
|
|
117
119
|
flags (ADR-324).
|
|
118
120
|
|
|
@@ -123,9 +125,14 @@ stay local — they appear in the report (`.maind/review.md`) but never in the
|
|
|
123
125
|
manifest, the PR comment or the wire.
|
|
124
126
|
|
|
125
127
|
Block-eligible is only a finding this branch **introduces** (`level: open`,
|
|
126
|
-
`baseline: introduced`). Objective detectors block by default; table ACL
|
|
127
|
-
agent-doc prose warn, because they encode an
|
|
128
|
-
override either way, with a reason.
|
|
128
|
+
`baseline: introduced`). Objective detectors block by default; table ACL,
|
|
129
|
+
agent-doc prose and the documentation decision warn, because they encode an
|
|
130
|
+
opinion — a team policy can override either way, with a reason. The
|
|
131
|
+
documentation decision additionally blocks in `maind gate` (and therefore in
|
|
132
|
+
`maind feature promote`) when the organization set `doc_duty: require` and the
|
|
133
|
+
work object has no linked document or exception yet — the server decides,
|
|
134
|
+
because only it sees documentation from other PRs and repositories. Without
|
|
135
|
+
an answer from the server the line reports and never blocks.
|
|
129
136
|
|
|
130
137
|
`diff_stats.detector_coverage` reports whether every detector ran or honestly
|
|
131
138
|
abstained (`full`), whether one could not run or could not grade against the
|