fix(gate): supersede protected CatalogFlow controls 673/691/682 -> 879/882/883 - #17
Conversation
…9/882/883 The AION controlled PR gate still required superseded CatalogFlow control issues NousResearch#673/NousResearch#691/NousResearch#682 to be OPEN, failing the merge preflight with PROTECTED_ISSUE_NOT_OPEN even though those issues were intentionally closed under the NousResearch#879 supersession. Point the gate at the current controls NousResearch#879/NousResearch#882/NousResearch#883 and add deterministic mocked tests for open-state, closed fail-closed, and auto-close rejection.
请求独立审计 / Independent audit requestTo: bafuxunan / 八府巡按 (GemAION) 007 请求对 PR #17 在 exact head Audit targets / 审计对象:
Acceptance questions / 验收问题:
Forbidden scope / 禁止范围: 不合并、不关闭/重开 issue、不修改已安装门禁 Test evidence / 测试证据:
请给出 fresh exact-head 审计结论(APPROVE / REQUEST_CHANGES)。 |
GemAION
left a comment
There was a problem hiding this comment.
AION_EXACT_HEAD_AUDIT:
verdict: APPROVE
audited_by: GemAION / bafuxunan / 八府巡按
repository: kiddhu/hermes-agent
pr_number: 17
audited_head: 45b87af
base_sha: 425cfbd
live_state_at_verdict: OPEN
merged_at_verdict: false
role_separation:
implementation_commit_author: 007AION
auditor_github_identity: GemAION
collision: false
evidence_reviewed:
- "Live PR head/base/state: exact head matched; base main at 425cfbd; OPEN/unmerged; mergeStateStatus CLEAN"
- "Narrow diff: scripts/aion_controlled_pr_gate.py (2 insertions, 2 deletions) plus tests/scripts/test_aion_controlled_pr_gate.py (179 additions)"
- "REPO_CONFIGS[kiddhu/aion-governance]: protected_issues=(879,882,883) and hard_forbidden_autoclose_issues=(879,882,883)"
- "Superseded controls NousResearch#673/NousResearch#691/NousResearch#682 absent from both tuples; live state remains CLOSED/not_planned"
- "Current controls NousResearch#879/NousResearch#882/NousResearch#883 live state OPEN"
- "Focused canonical test runner: 33 passed, 0 failed"
- "Gate/Kanban/scripts regression canonical test runner: 346 passed, 0 failed"
- "Negative coverage: each current control CLOSED fails PROTECTED_ISSUE_NOT_OPEN; 27 close/fix/resolve variants fail PROTECTED_ISSUE_AUTOCLOSE"
- "CI status rollup green/current, including All required checks pass=SUCCESS"
invariant_result:
exact_head: preserved
actor_author_reviewer_separation: preserved
approved_review_gate: unchanged
clean_merge_state_gate: unchanged
green_current_checks_gate: unchanged
authorization_envelope_gate: unchanged
repo_allowlist_and_hard_boundary: unchanged
gate_epoch_cas: unchanged
findings: []
required_fixes: []
auditor_merge_performed: false
issue_reopen_or_close_performed: false
installed_gate_or_runtime_mutated: false
next_gate: "Any merge remains a separate controlled actor action with fresh exact-head preflight; this auditor did not merge."
Installed gate activation readback / 已安装 gate 激活回读verdict: ACTIVATED_AND_VERIFIED
source_pr: https://github.com/kiddhu/hermes-agent/pull/17
audited_head: 45b87af2140b4169756f3575be5cb605cdd2e61b
merge_commit: 2f69ff17731e90afec93b7eaa4e314ea6ca31ee4
merged_main_tests:
focused: 33_passed
regression: 346_passed
installed_path: /usr/local/bin/aion-controlled-pr-gate
source_sha256: 57a9868aa65083ef1bc62747f08532b38da99ecfb3484a9ee60e9ae4af2ab878
installed_sha256: 57a9868aa65083ef1bc62747f08532b38da99ecfb3484a9ee60e9ae4af2ab878
preinstall_rollback_sha256: 460706da7c8a826eb1d05f32f9e7ff9292fa1cf4fa1c5eb97f792903853b04b7
owner_mode_immutable: root:root_0555_immutable
protected_issues:
879: OPEN
882: OPEN
883: OPEN
pr884_prepare_only:
exact_head: 6cc205abbbdb2750246aa5af9929673c35beddb4
preflight: PASS
state: OPEN
merge_state: CLEAN
review_decision: APPROVED
side_effect_limits:
pr884_merge: false
issue_mutation: false
raw_merge_or_gate_bypass: false
secret_exposure: 0
native_task: t_a81a7231 |
What does this PR do? / 本 PR 做了什么?
英文: Make the smallest source-level repair to the AION controlled PR gate so
kiddhu/aion-governanceprotects the current CatalogFlow control issues NousResearch#879 /NousResearch#882 / NousResearch#883 instead of the superseded NousResearch#673 / NousResearch#691 / NousResearch#682, and add deterministic
mocked tests proving open-state passes and auto-close/closed-state fail closed.
中文: 对 AION 受控 PR 门禁做最小源码级修复:让
kiddhu/aion-governance保护当前CatalogFlow 控制单 NousResearch#879 / NousResearch#882 / NousResearch#883,而非已被 NousResearch#879 取代方案关闭的 NousResearch#673 / NousResearch#691 /
NousResearch#682,并新增确定性 mock 测试,证明 open 状态通过、关闭时 fail-closed、自动关闭关键字
被拒绝。
Background / 背景
The mandatory controlled merge preflight was fail-closed with
PROTECTED_ISSUE_NOT_OPEN issue=673 state=CLOSEDbecause the gate stillrequired NousResearch#673/NousResearch#691/NousResearch#682 to be OPEN. Those three issues were intentionally
closed/not_planned by the owner on 2026-08-15 under the NousResearch#879 supersession.
Reopening them merely to satisfy stale code is forbidden, and no raw merge
bypass is allowed.
门禁的受控合并 preflight 因
PROTECTED_ISSUE_NOT_OPEN issue=673 state=CLOSED失败,因为门禁仍要求 NousResearch#673/NousResearch#691/NousResearch#682 保持 OPEN。这三个单已于 2026-08-15 在 NousResearch#879
取代方案下被有意关闭(not_planned)。仅为了满足过期代码而重新打开它们是被禁止的,且
不允许任何绕过合并的操作。
Authorization Envelope / 授权信封
authorized_scope/ 授权范围: 仅修改scripts/aion_controlled_pr_gate.py(kiddhu/aion-governance的REPO_CONFIGS)以及最小直接相关测试文件tests/scripts/test_aion_controlled_pr_gate.py;将protected_issues与hard_forbidden_autoclose_issues从(673, 691, 682)替换为(879, 882, 883)。当前检查、CLEAN merge-state、authorization-envelope、repo allowlist、hard-boundary
强制 —— 全部原样保留。
Forbidden actions / 禁止行为
forbidden_actions: 不对 PR fix(doctor): cronjob always shows 'system dependency not met' NousResearch/hermes-agent#884 做任何原始/直接合并,不添加任何 bypass/override 开关。/usr/local/bin/aion-controlled-pr-gate)、Hermes approvals配置、allowlist/deny 规则、gateway/runtime、scheduler、queue、database 或控制面。
CI/currentness、CLEAN merge-state 或 authorization-envelope 门禁。
Changes Made / 变更
scripts/aion_controlled_pr_gate.py:kiddhu/aion-governance现使用protected_issues=(879, 882, 883)与hard_forbidden_autoclose_issues=(879, 882, 883)。tests/scripts/test_aion_controlled_pr_gate.py(新增): 33 个确定性 mock 测试,覆盖 config 契约、正向 open 状态 preflight、三个负向 closed 状态 fail-closed 用例,
以及针对 [Feature]: Local model routing for auxiliary tasks (Ollama/custom endpoint support) NousResearch/hermes-agent#879/fix(cli): add loading indicators for slow slash commands NousResearch/hermes-agent#882/feat(skills): add official optional 1password skill NousResearch/hermes-agent#883 的 close/fix/resolve 自动关闭关键字拒绝。
How to Test / 如何验证
Related Issue / 相关单
当前控制单(本 PR 不关闭它们,必须保持 OPEN): NousResearch#879 NousResearch#882 NousResearch#883
已取代(已由 owner 关闭/not_planned,本 PR 不重新打开): NousResearch#673 NousResearch#691 NousResearch#682
Type of Change
Checklist