Repository navigation
fix(bin): preserve Lavish list-form feedback - #30
Merged
Merged
Conversation
…read's nonzero incomplete verdict while retaining output assertions. `tests/fm-procevent.test.sh`, `tests/fm-bearings-board-render.test.sh`, `bin/fm-lint.sh`, and `git diff --check` pass. Serial 8 was a transient runner failure and passed six local runs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
[captain] Feedback left on a Lavish review board must reach firstmate. On 2026-09-29 forty review comments and five decision answers on a board were reported as no comments, and the review was closed on that basis. The captain's reported outcome was that the review had many comments.
[Firstmate specification] Load the firstmate-coding-guidelines skill before editing. The real Lavish capture reproduced a feedback result with prompts[40] in list form, while classify said feedback and the old read reported annotation_count 0, no annotations, and complete yes; answers reported nothing. Read the capture only to learn its shape and do not copy private review words into repository artifacts. Confirm the cause: the adapter handled only tabular prompts[N]{field,...}: CSV rows, while lavish-axi can emit prompts[N]: list items with indented fields and nested attachments blocks for non-uniform items. Fix the adapter so read, answers, reconciles, silent, and every other prompt parser return every item from both forms. Prefer a machine-readable lavish-axi poll-result output only if current help offers one; otherwise parse both forms in the existing parser. When prompts[N] declares a count different from parsed items, read must report incomplete and exit nonzero, never complete yes. silent must never treat a capture with a nonzero declared count as nothing said. Preserve existing tabular behavior. Add regression coverage using a synthetic list-form fixture with several annotations, a choice row with Context data, an item with an attachments block, and a session-ending message. Assert counts, freeform comments, choice answers, and a nonzero incomplete verdict for a mismatched declared count. Do not change board construction, the Lavish tool, or routing of the already recovered feedback.
[accepted follow-up] Decode captures as UTF-8 once and have every consumer write UTF-8 consistently so non-ASCII choice answers and reconcile notes are not mojibake. Add regression coverage with non-ASCII in a list-form comment, choice answer, and reconcile note, and preserve the corresponding tabular behavior. Update the stale malformed-row regression to assert read's required nonzero incomplete verdict while retaining its output assertions and explain that behavior in the commit.
What Changed
Risk Assessment
✅ Low: The shared parser handles current Lavish table and list output, preserves UTF-8 data, detects count mismatches, and introduces no material unsupported behavior.
Testing
Confirmed the installed Lavish output contract, then drove five synthetic list and table captures through the real adapter. Count mismatches and malformed rows returned nonzero incomplete results,
silentannounced every non-empty capture, extra and nested rows remained visible, and UTF-8 answers and reconcile notes survived unchanged. The worktree was clean after removing the temporary driver. No screenshot was applicable because the changed product surface is CLI output and exit status; the full reviewer-visible transcript records both.Evidence: Live Lavish adapter transcript
Source: Live Lavish adapter transcript
353-line transcript ending withALL LIVE LAVISH ADAPTER SCENARIOS PASSED. SHA-256: 1de06e9f1514dbb89f46b1e633bf7b5cd1b50cb5c42ad18cf10dca726ee9c963Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
🔧 **Test** - 1 issue found → no changes applied ✅
lavish-axi --version,lavish-axi --help, andlavish-axi poll --helpBuilt and opened an isolated real Bearings board withbin/fm-bearings-board.sh buildandlavish-axi 0.1.78Drove choices, Unicode notes, an image attachment, a freeform message, and Send & End through Chromium usingchrome-devtools-axiRanbin/fm-procevent-lavish.sh classify,read,answers,reconciles, andsilentagainst the fresh live poll resultRan the public adapter against list-count mismatch, table-overfull, and malformed-row protocol fixturestests/fm-procevent.test.shtests/fm-captain-hold-lifecycle.test.shInspected the screenshot and evidence values, stopped the browser, removed the disposable test home, and confirmedgit status --shortwas clean🔧 No changes applied.
✅ Re-checked - no issues remain.
lavish-axi poll --helpto confirm the installed CLI has no machine-readable poll-result mode.bash .live-lavish-adapter-test.sh 2>&1 | tee ~/.no-mistakes/evidence/01M3PXBCP64Q1VS8N218E7T25R/lavish-adapter-live-transcript.txtusing five synthetic captures and the realread,answers,reconciles, andsilentcommands.Verified the final transcript markers, UTF-8 outputs, line count, and SHA-256 digest.Removed the temporary live driver and confirmedgit status --shortwas clean.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.