feat(plugins): fail-closed required enforcers + scheduled-run/model-spend governance - #1
Merged
Merged
Conversation
added 17 commits
July 12, 2026 18:38
…gent (fail-closed)
…tion; honor --interval
…esults, error-surfacing
…s repeating a prior action; single-action starter goal 1 Empirical fine-tune on qwen3:8b @ Ollama :11436. Progression: v1 (7B) hallucinated a function-name action; v2 copied the prompt's e.g. example verbatim; v3 (this) tailors a varied natural-language action to the goal. Remaining blocker is the ACTUATOR (Hermes agent execution), not the brain: qwen3:8b's thinking mode pollutes Hermes tool-calls (/think leaked into 'ls /think') and an 8B mis-drives the tool protocol. Config is sound (terminal=local, cwd=workspace); the fix is a competent acting model, not a config knob.
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Both-sides resolutions: cron run_one_job keeps upstream execution tracking (create/finish_execution, finished on the policy-deny early return too) alongside the governed session id + post_run_end observers; kanban _default_spawn keeps the HERMES_TUI strip and the pre-Popen required-policy admission; _prepare_agent_startup keeps the --yolo chokepoint ahead of --require-plugin env inheritance; both sides' tests retained (deny test now patches create/finish_execution). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Companion to agent-lineage PR NousResearch#14/NousResearch#15: generic required-plugin support (
plugins.required,register_required_hook,--require-plugin) with fail-closed startup, plus thepre_api_request/post_api_request/api_request_errorandpre_run_start/post_run_endhook seams so cron/kanban execution and model calls are admitted/metered by the agent-lineage policy worker before spend. A missing, disabled, crashed, timed-out, or malformed mandatory enforcer aborts startup or blocks before execution.Verification
HermesPolicyBridge/DurableRunControllerseam (two-phase reservations, cron/kanban admission, durable run binding viaAGENT_LINEAGE_RUN_ID).🤖 Generated with Claude Code