docs: drop the false "never computed" from the inputs header #40
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/wrapper-inputs-header"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #33, from review
01M44FMS560BRRJR823QSZRW2E(summary-only finding01M44HRFXHK0QP5RCK8NKVCP1J).The
WrapperInputssection header insrc/contract/types.tssaid the inputs are "derived from the event, never computed".readWrapperInputscomputesisForkandreTriageAskKey, lowercases the forge host and parses the run attempt, and onworkflow_dispatchit fetches the head from the forge. The header now keeps only the contract pointer.It targets
main, because the header is older than #33.🤖 Generated with Claude Code
Review
01M44JG9B4Q3392GK4XWBNRQK9— head1798291543612c750da7ee661fb6a611f3171e4aReview — j4k-oss/review-wrapper @
ed41ca6caaScope: diff against base tree
e69943819640Status: dispatched — coverage complete (5/5 slots terminal)
Facts: current review-wide projection
Computed under:
Findings (4)
medium — Fork verdict comment claims it precedes all credential reads
01M44JXG0TSH55KMB30BY85HVHsrc/contract/types.ts(snippet)01M44K2M9XV6KCQ1PDT74JKQ3Q· valid: The exact grounded comment promises that the fork comparison runs before any credential read. The reviewer's specific call trace places forgeCredentials() before readWrapperInputs() establishes isFork, while reviewCredentials() runs only after the fork gate. That makes the broad ordering guarantee false; limiting it to the review capability token preserves the actual guarantee.medium — Inline reconciler contract promises a thread per finding
01M44K0VQRN7Y3M9EDNWXDQRFGsrc/contract/types.ts(snippet)01M44K2M9XV6KCQ1PDT74JKQ3Q· valid: The grounded contract says one thread per mapped finding. The reviewer's concrete trace reports that the reconciler posts an inline comment per finding but conversation-markers groups claims on the same display line into one conversation and dispositions settles them together. The comment therefore names the wrong unit; 'one inline comment' is the narrower accurate contract.medium — Head SHA comment incorrectly pins dispatch runs to event time
01M44K1Z23FBMBS7ZXYYQEDM2Ysrc/contract/types.ts(snippet)01M44K2M9XV6KCQ1PDT74JKQ3Q· valid: The grounded comment says the PR head SHA is as of the event even for workflow_dispatch. The reviewer's branch trace says dispatch obtains pull.headSha from a later forge.getPull() call, whereas pull_request_target reads the event payload. The dispatch value can therefore reflect a later head, so the proposed source-specific wording fixes a real timing ambiguity.low — Service session heading points to a nonexistent module
01M44JYTM6XFMG5EG6CWK9401Jsrc/contract/types.ts(snippet)01M44K2M9XV6KCQ1PDT74JKQ3Q· valid: The grounded heading points readers to a service-session module. The reviewer reports a path and occurrence search finding no such module and identifies createReviewSession() in src/review/session.ts as the implementation. On that concrete account, the pointer is misleading, and removing or correcting the module name preserves the useful heading.Other claims
01M44JZWKKWYZG8WNV9JTQFT9Vmedium — Outcome header restates the set already defined by OUTCOMESCoverage
Coverage pass: 01M44KE4D3NZVZM6MTEMA0315Z
Accounting: complete
Slot health: healthy
This is review
01M44JG9B4Q3392GK4XWBNRQK9of1798291. Run 64246 and dispatch run 64281 each lost slots to model capacity, so dispatch run 64381 re-asks the general-bug, test-trimming and restated-sets slots. All five claims are about comments insrc/contract/types.tsthat this PR doesn't change:01M44JXG0TSH55KMB30BY85HVH(theisForkcomment says the verdict comes before any credential read) is valid:main.tsreads the forge token beforereadWrapperInputssetsisFork. #33 changes the comment to say the verdict comes beforereviewCredentials()is called.01M44K0VQRN7Y3M9EDNWXDQRFG(the inline reconciler promises a thread per finding),01M44K1Z23FBMBS7ZXYYQEDM2Y(theheadShacomment says "as of the event" for dispatch runs) and01M44JYTM6XFMG5EG6CWK9401J(the session heading names aservice-sessionmodule that doesn't exist) are valid. #42 corrects all three. It targetsmain, because the comments are older than this PR.01M44JZWKKWYZG8WNV9JTQFT9V(the outcomes header restates the rowsOUTCOMESdefines), which the review left unadjudicated, is valid. #30 drops the row list from that header.