You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(rules): formally verify the command permission rules #73
Activity
fix(security): close the remaining command guard bypasses (#83)
furedea-agent commentedon Nov 9, 2026
実装計画 (lane: ac-73, branch:
test/73-verify-rules)P4 → P1 → P2 → P3 の順に,性質ごとに 1 PR で進める.
hypothesisが必要.uv add --group test hypothesisは ask-rule のためユーザー実行待ち.z3-solverが必要.uv add --group test z3-solverも同様にユーザー実行待ち.判定意味
Claude の deny → ask → allow の最初の一致と Codex の最も厳しい判定が勝つ,は同じ結果になる.よって「一致した prefix のうち最も厳しいもの」を共通モデルにする.
P1 の定義
git branch -Dなど)は有効な carve-out として扱う.手順
tests/prefix_audit.pyに検査,tests/test_prefix_rules.pyに実ルールの検査を実装bash -c/evalの変形を生成(依存追加後)xfail(strict=True)で fix(security): close the command guard bypasses left after #83 #87 を参照する.guard 本体は触らない前提・仮定
test(rules): run the prefix audit when the command permissions change
test(rules): check every deny and ask prefix in its own transformatio…
test(rules): list overlaps between allow prefixes and forbidden regex…
test(rules): verify generated provider rules decide like the source
fix(nix): let the Linux dev shell find libstdc++ for z3-solver
test(rules): verify generated provider rules decide like the source
test(rules): key overlaps by the whole pattern and tighten the converter
test(rules): verify generated provider rules decide like the source
test(rules): refuse unread Codex rules and pin the known generator loss
test(rules): reference the agent-harness issue next to the xfail markers
test(rules): refuse anchor escapes and locale-dependent classes in th…
test(rules): verify generated provider rules decide like the source
29 remaining items
fix(nix): let the Linux dev shell find libstdc++ for z3-solver
test(rules): key overlaps by the whole pattern and tighten the converter
test(rules): refuse anchor escapes and locale-dependent classes in th…
test(rules): refuse case folding of cased non-ASCII characters in the…
test(rules): refuse equivalence and collating elements in the converter
test(rules): refuse a newline in a pattern in the converter
test(rules): follow the tightened git commit and python -m pip patterns
test(rules): list overlaps between allow prefixes and forbidden regex…
test(rules): verify generated provider rules decide like the source
test(rules): refuse unread Codex rules and pin the known generator loss
test(rules): reference the agent-harness issue next to the xfail markers
test(rules): run the generated-rule tests when the harness pin changes
test(rules): verify generated provider rules decide like the source (#…
furedea-agent commentedon Nov 9, 2026
P1(#98),P4(#100),P2(#108),P3(#104)をマージした.Codex が出して先送りにした指摘は #107 にまとめてある.generate-forbidden-commands の欠落は furedea/agent-harness#203(#204)で直した.