CTL-010 prints 'no bypasses detected' in the same run that WARNs about N bypasses — the PASS message asserts more than it measures
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 76/100
Direzione di ricerca
Inizia in agents/audit/audit.sh intorno alle righe 4998–5017, dove CTL-010 formatta il proprio messaggio PASS, e analizza il test o i controlli di audit pertinenti per quel controllo. Esegui fw audit per confrontare il messaggio con il conteggio dei bypass; è completato quando CTL-010 circoscrive chiaramente la propria affermazione al log di git --no-verify senza implicare che altri bypass siano assenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
A single fw audit run prints both of these, within a few lines of each other:
[WARN] Gate-bypass log: 11 safety bypasses in last 7 days
[PASS] CTL-010: Bypass log exists but empty (no bypasses detected)
Reproduced live on framework 1.6.769 on 2026-09-21. The count has read 7, 9 and 11 across
separate runs; the shape is stable, only the number moves.
It is not a contradiction, and that is the problem
The two lines read different files:
CTL-010reads.context/bypass-log.yaml— thegit --no-verifylog, which really is
bypasses: [].- The WARN reads
.context/working/.gate-bypass-log.yaml— framework gate bypasses
(FW_SWITCH_FOCUS,FW_ALLOW_HOST_SIGNED_RAIL, and so on), which had 18 entries.
So both statements are true about their own source. The defect is that CTL-010's PASS
message asserts more than CTL-010 measures. agents/audit/audit.sh:4998-5017 hard-codes
the string "no bypasses detected" with no scope qualifier. An operator scanning an audit
report sees an unqualified all-clear sitting next to a warning about eleven bypasses, and
has to open the source to learn that the two are talking about different logs.
Two adjacent notes
- The second log,
.context/working/.gate-bypass-log.yaml, is malformed YAML —
yaml.safe_loadraises a ParserError. So the file the WARN counts cannot be parsed by a
YAML reader, while the file CTL-010 calls empty parses fine. Tracked downstream, but it
means the unqualified PASS is masking a corrupt sibling, not just a narrower one. - This is the same shape as issue #45: a declaration the framework makes about itself,
written in one place and read in another, that nothing re-evaluates at the point of use.
Suggested fix
One line: have CTL-010 name its scope — "no git --no-verify bypasses" rather than "no
bypasses detected". If the two logs are meant to be one surface, merging them is the
larger fix; qualifying the sentence is the cheap one and removes the false all-clear
immediately.
Filed from project 1409-sprind under T-1133 (observation-inbox triage), from OBS-026,
re-measured against a live audit run rather than carried from the original capture.
- Lingua principale
- Shell
- Stelle
- 16
- Fork
- 6
- Merge medio
- 6h 24m
- PR unite (30g)
- 5
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DimitriGeelen/agentic-engineering-framework
-
area:cli bug severity:low status:fixed-on-bleeding-edge triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DimitriGeelen/agentic-engineering-framework#100 · 5 commenti ·
-
area:cli bug severity:medium status:fixed-on-bleeding-edge triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
DimitriGeelen/agentic-engineering-framework#97 · 5 commenti ·
-
area:context bug severity:low status:fixed-on-bleeding-edge triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
DimitriGeelen/agentic-engineering-framework#96 · 5 commenti ·
-
area:docs bug severity:medium status:in-progress triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DimitriGeelen/agentic-engineering-framework#95 · 4 commenti ·
-
area:watchtower bug severity:low status:released triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
DimitriGeelen/agentic-engineering-framework#94 · 4 commenti ·
Tutte le issue di DimitriGeelen/agentic-engineering-framework
Issue simili
-
e2e-failure ready-to-code
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue spells
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
fix(session-flow): redact.py misses bare sk-ant-oat01- tokens and stateless ghs_ tokens with dotsApertaneeds-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
melodic-software/claude-code-plugins#9026 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug raised-by:verifier
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
medici-finance/assay#4008 ·
I maintainer di solito rispondono entro 1 giorno