Skip to content

rolling_pr human-edit skip path understates pending work #336

Backlog

Description

@jflowers

Finding 4 (MEDIUM) from the uf-divisor review on PR #332

On the regeneration-guard skip path, writeThemeFiles composes composedArticle{Sources: sel.baseCited, Dropped: sel.dropped} with no Added and no Held, not even sel.held. The review-queue body for that theme reads "0 learnings synthesized into the article", where the pre-change code reported the pending learnings by name. The PR a human is actively editing is exactly the one where pending work matters most, and the structured result cannot distinguish "nothing pending" from "pending but human owns the file". TestManageRollingPRs_HumanEditNotOverwritten still asserts only that the edit survives, so the changed WhatChanged and Held behavior ships unverified against spec 018 FR-013.

Report sel.fresh and sel.held on the skip path, with a test pinning the review-queue body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions