← Back to Pull requests

(docs) scope: record the operator's label-policy rulings and compose the PRD summary (issue #1550) #1641

Closed
unknown closed this pull request without merging on Nov 03, 2026 06:52 UTC
View on GitHub
unknown unknown commented on Nov 03, 2026 06:32 UTC
Author

Records the operator's two policy rulings of 2026-11-03 in the account-label-integrity planning set, and composes the PRD's summary and benefit hypothesis that the authoring rule had left empty. Documentation only, under docs/.

What the operator ruled, verbatim: "refuse unless --rename or --force is added, be defensive rather than 'oh and btw we renamed shit'" and "it's impossible to overwrite an existing ACC_1 with ACC_2 under same label w/o adding --overwrite or removing ACC_1 and alike. (or --force?)".

Where it lands.

  • docs/requirements/account-label-integrity.md § 8.1: a Ruling paragraph under duplicate-label-policy (refuse unless --overwrite) and under login-mismatch-policy (refuse unless --rename); § 8.4 item 12 names the readings as the pipeline's; § 1 and § 4 composed; change log 1.4.

  • docs/design/account-label-integrity-solution-design.md: § 12.2's two stubs decided, § 1 and § 1b narrowed, § 14.8 noted.

  • docs/briefs/2026-10-30-scope-account-label-integrity.md: register rows duplicate-label-policy-ruling and login-mismatch-policy-ruling; Grounds that recur and Next Steps updated.

  • docs/requirements/migration-credential-portability.md: a dated amendment note under AC-6, which the refuse ruling narrows to load time and to import.

  • Six feature stubs gain a Ruling note at their red cards: capture-ack-disclosure, capture-card-notices, write-time-label-disclosure, config-set-ack-collisions, settings-collision-note, settings-shared-label-ordinal.
  • Readings that are the orchestrator's, not the operator's, each marked so in the text: the replaced account's roster row removed and its stash deleted in the same write, so nothing is orphaned; the socket paths' carriage of the override; and import, where AC-6 still answers warn-and-never-refuse. The flag names are the operator's: --overwrite was their word, confirmed when they accepted the recommendation to prefer it over --force (use --force already means "switch past the safety check", and import --overwrite already means "replace what is there"); --rename is their word for the login case.

    Follow-ups, not in this PR. The items written to the warn or keep-rename default (#1556, #1558, #1559, #1560, #1561, and #1570's help sentence) re-enter the ready gate for re-authoring to the refuse form; the tracker notes on #1550 and on those items land after this merges.

    Review. A fresh-context reviewer read the first push on one axis, fidelity of the recorded rulings to the operator's words (review 5748176994 on this PR, with inline comments). Its eleven findings, all non-blocking, are folded into the current head: the design's constraint row, § 14.5 and § 14.6 entries and the PRD's § 8.1 intro, REQ-IDN-C-002, REQ-DOC-B-003 and § 13 rows no longer read as open; the flag names are attributed to the operator; #1570 joins the re-gate list; the migration PRD's note renders as its own blockquote and names #1550; the TL;DR's section pointers and the benefit hypothesis's reach are corrected; the ordinal stub's note no longer sends #1574 to a re-gate it is not in.

    Linking. This PR links no issue for automatic closing; #1550 and its items stay open.

    🤖 Generated with Claude Code

    Diff: 411 lines (+308 / -103) across 5 files Reviewer: alexey-pelykh Review duration: 19m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 411 lines diff across 5 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.360
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1641"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 44.9% (MEDIUM) · Higher = larger blast radius
    44.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.7% · Safe to merge
    17.7%