This repository was archived by the owner on May 4, 2026. It is now read-only.
TCK-00613: FAC gates architecture alignment + security hardening (throughput-profile model)#710
Merged
Merged
Conversation
Collaborator
Author
# apm2-review-verdict:v1
schema: apm2.review.verdict.v1
pr: 710
sha: 34447208c59d2acae6f4872d1fb29cb0a01420a9
updated_at: 2026-02-17T03:39:23Z
dimensions:
code-quality:
decision: deny
reason: 'FAIL: 1 blocker, 0 major findings'
set_by: ubuntu
set_at: 2026-02-17T03:30:01Z
security:
decision: approve
reason: 'PASS: no blocker or major findings'
set_by: ubuntu
set_at: 2026-02-17T03:39:23Z
findings:
- finding_id: f-710-code_quality-1771298995186655-0
type: code-quality
severity: BLOCKER
summary: Inverted wait/no-wait worker bootstrap condition prevents wait-mode bootstrap
risk: The CLI condition inversion makes default wait mode skip worker bootstrap while no-wait mode bootstraps a worker process, reversing intended foreground vs background semantics.
impact: In default wait mode, review work may never be processed while the command appears to run successfully; no-wait can unexpectedly start bootstrap work.
location: crates/apm2-cli/src/commands/fac_review/gates.rs:256
body: 'The implementation uses if wait { false } else { ensure_non_wait_worker_bootstrap(...) }, while invocation sets wait = args.wait && !args.no_wait. This inverts intent: wait-enabled calls do not run the no-wait bootstrap path and no-wait calls do. Align the branch semantics with wait/no-wait intent and add regression coverage for both combinations.'
evidence_digest: d56cf1604f621f9cd33dbe59ac54ae15ed6f7dd5fea1acf811d840514313827e
evidence_pointer: none
timestamp: 2026-02-17T03:29:55Z |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
FAC Gate Status