Expand description
OpenSpec (opsx) integration support.
Houses the role-gating guard (opsx-role-gating capability): a
post-commit watcher hook that detects archive-activity commits by
non-supervisor agents and reacts per the configured
crate::config::RoleGatingMode. The capability is scoped to the
OpenSpec spec engine — under Spec Kit / Markdown engines the guard is
inert and the forbidden-command skill sections are omitted.
Re-exports§
pub use role_guard::AgentAttribution;pub use role_guard::Classification;pub use role_guard::CommitDiff;pub use role_guard::RoleGatingContext;pub use role_guard::SUPERVISOR_AGENT_ID;pub use role_guard::classify_commit;pub use role_guard::resolve_agent_id;
Modules§
- role_
guard - Post-commit role-gating guard for the
OpenSpecspec engine.