fix(init): harden inline reviewer credentials#353
Conversation
FindingsBlocker: Profile setup still defers reviewer secrets instead of collecting them inline
Blocker: Same-ref auth-mode switches do not purge existing stale keys
Major: Re-entering a staged overwrite can clear the overwrite flag while keeping the staged value At Minor: The linear editor viewport rewrite is a drive-by behavior change
|
|
Blocker Major
Minor Nit |
|
Blocker Major
Minor Nit |
FindingsBlocker: cleanup can delete keys still required by untouched profiles
That breaks shared-ref cases. Example: profile A remains a PAT reviewer on Fix by computing cleanup safety from all active refs in the final config for the same resolved store/ref, or by ensuring every affected shared-ref profile is included in the session credential plan. Major: inline staged writes are not bound to the destination shown to the userReviewer inline secrets are stored by ref string only ( So a user can enter reviewer secrets after seeing destination A, change the profile/default secrets store, and commit those same secret values to destination B. Worse, if Minor: linear editor scrolling rewrite is a drive-by UI behavior change
|
|
Findings Blocker: Blocker: stale-key deletion now happens before config save, which can destroy the still-current credential if saving config fails. Both apply paths call Major: the new resolved-store binding does not flow through the inventory/detail reviewer path. When The previous no-write same-ref cleanup concern looks fixed for the expanded cleanup pass, but the write-time cleanup path needs the same whole-final-config protection. |
|
Findings Major: The inventory/detail reviewer editor now passes Minor: Post-save cleanup open failures do not use the partial-success/manual-cleanup error shape. Nit: The prior blockers look addressed: |
|
No findings. The prior issues look resolved: Verification run: |
|
The suite is much better than before, but it still does not fully prove the ticket’s highest-risk behavior.
|
|
PR review failed and the daemon has stopped retrying for this commit. I am removing my pending review request to stop the automated review cycle. Re-request @monit-reviewer to retry, or push a new commit and re-request. |
monit-reviewer
left a comment
There was a problem hiding this comment.
Automated PR Review
Reviewed commit: a219f16
Manually approved via CLI.
|
No findings. I don’t see architectural drift from the post-daemon/TDD edits. The added coverage stays aligned with the reviewed design: inline reviewer writes still route through the resolved credential plan store, Verification run: |
monit-reviewer
left a comment
There was a problem hiding this comment.
Automated PR Review
Reviewed commit: 2c7488f
Manually approved via CLI.
|
Minor
No blockers or majors found. The credential write-store routing, post-save stale cleanup, and inline secret masking paths still match the reviewed architecture. Verification run: |
monit-reviewer
left a comment
There was a problem hiding this comment.
Automated PR Review
Reviewed commit: 09483f9
Manually approved via CLI.
|
No findings. The prior mapper drift is fixed: Verification run: |
Summary
Verification
Follow-up to #347, #348, and #349.