You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
POST /analysis/author now accepts since, detail, includeCommits, hybrid,
and bm25Weight, threaded through to the same computeAuthorContributions/
hybridSearch/searchCommits logic the CLI author command uses. Also accepts
chunks/level/vss for flag-surface parity (deliberately no-op, matching the
CLI's own dead-flag behavior for these three). Model-override triplet
stays out of scope (tracked separately in Phase 140).
Breaking change: response shape is now { authors, commits? } instead of a
bare array, to carry includeCommits results, per parity.md's parity-over-
API-stability rule.
`POST /analysis/author` (HTTP API) now supports the full `gitsema author` CLI flag surface: `since`, `detail`, `includeCommits`, `hybrid`, and `bm25Weight` are wired through to the same author-attribution logic the CLI uses, plus `chunks`/`level`/`vss` are accepted for flag-surface parity (no-op, matching the CLI's own behavior for these three). Breaking change: the response shape is now `{ authors, commits? }` instead of a bare array, to carry `includeCommits` results.
Copy file name to clipboardExpand all lines: docs/parity.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -323,6 +323,11 @@ This table shows less common flags used by specific commands or command groups.
323
323
|`--sort-by-date`|`search-history` (MCP only) | bool | false | Sort by first-seen date instead of score |
324
324
|`--include-content`|`evolution`, `concept-evolution`| bool | false | Add stored file text in JSON output |
325
325
|`--include-commits`|`first-seen`| bool | false | Also search commit messages |
326
+
|`--since`|`author`| date | — | Only consider contributions since this date (HTTP: also accepted by `POST /analysis/author`, Phase 141) |
327
+
|`--detail`|`author`| bool | false | Include per-blob contribution detail (HTTP: also accepted by `POST /analysis/author`, Phase 141) |
328
+
|`--hybrid`|`author`| bool | false | Use hybrid (vector + BM25) candidate selection (HTTP: also accepted by `POST /analysis/author`, Phase 141) |
329
+
|`--bm25-weight`|`author`| float | 0.3 | BM25 weight when `--hybrid` is set (HTTP: also accepted by `POST /analysis/author`, Phase 141) |
330
+
|`--chunks` / `--level` / `--vss`|`author`| bool/enum/bool | false/—/false | Declared on the CLI but not wired to anything in `computeAuthorContributions` (blob-level only); `--vss` prints a warning and is ignored. HTTP's `POST /analysis/author` accepts all three for flag-surface parity with the same no-op behavior (Phase 141) — not a gap, a documented CLI limitation mirrored intentionally. |
326
331
327
332
### 2.3 Flag Coherence Issues
328
333
@@ -535,7 +540,15 @@ this section's prior open-ended bullets into concrete, numbered
535
540
-**Phase 140:** systemic `--model`/`--text-model`/`--code-model` gap
536
541
across `analysis.ts` HTTP routes (one shared fix, not 8 per-route ones).
537
542
-**Phase 141:**`author` HTTP route full parity (largest single-command
538
-
gap found).
543
+
gap found). ✅ done — `POST /analysis/author` now accepts `since`,
544
+
`detail`, `includeCommits`, `hybrid`, `bm25Weight` (all wired to
545
+
`computeAuthorContributions`/`hybridSearch`/`searchCommits`, mirroring the
546
+
CLI `author` command exactly) plus `chunks`/`level`/`vss` for flag-surface
547
+
parity (accepted, no-op — matching the CLI's own dead-flag behavior for
548
+
these three). Response shape changed from a bare array to `{ authors,
549
+
commits? }` (breaking change, per §4's parity-over-stability rule) to
0 commit comments