richfrem/agent-plugins-skills / plugins/agent-agentic-os/.apm/skills/running-control-plane
running-control-plane
FlaggedCRITICAL INTAKE GATEWAY: use at the start of any non-trivial engineering task, feature, refactor, multi-file bugfix, work package or new idea, including requests to explore, brainstorm, build, fix or change something, before planning or code changes. Enforces read-only discovery, 1-3 structured questions with defaults, control-plane registration and the immutable four-pillar TASK_SPEC.md. Also runs the rest of the control plane: health ("run health check", "check os metrics", "system monitor", event bus, locks, memory, "is my signing identity ready" status check), transition simulation ("dry run transition", "simulate transition", "check edge X -> Y"), worktree selection, and gating on/off ("disable the control plane", "turn off the push guard", "stop gating my commits"). Not for project setup or key creation (use setting-up-agentic-os) or improving skills (use improving-skills-in-lab).
scripts/control_plane/proof_policy.py
View on GitHub#!/usr/bin/env python3
"""
control_plane/proof_policy.py
=============================
Purpose:
Proof policy for the cryptographic-proof gates (APPROVED, VERIFY_EXIT, DONE) of auth-ciba-increment-b.
There is exactly one mode: STRICT. The earlier audited `legacy_input` fallback (an interactive prompt standing
in for a signature) was REMOVED on 2026-09-20 by human decision: no typed word, prompt, flag or actor string
authorizes these edges. `context/isolation-policy.json` is still read so that a file that tries to select
`legacy_input` is reported and ignored rather than silently honored; the answer is always STRICT.
Key Input Dependencies:
- `context/isolation-policy.json` (optional; ignored apart from the diagnostic reason)
- Python stdlib only
Key Functions:
- load_proof_policy() -- always returns ProofPolicy(STRICT, reason); never raises for bad input.
Constants:
- STRICT, POLICY_RELATIVE_PATH
"""
import json
from dataclasses import dataclass
from pathlib import Path
from typing import Any, Optional, Set, Union
STRICT = "strict"
POLICY_RELATIVE_PATH = "context/isolation-policy.json"
_MAX_POLICY_BYTES = 4096
PathLike = Union[str, "os.PathLike[str]"]
@dataclass(frozen=True)
class ProofPolicy:
"""The proof mode in force and why. `mode` is always STRICT."""
mode: str
reason: str
def load_proof_policy(
policy_path: PathLike,
*,
agent_name: Optional[str] = None,
agent_uid: Optional[int] = None,
agent_gids: Optional[Set[int]] = None,
euid: Optional[int] = None,
) -> ProofPolicy:
"""Return STRICT. A policy file that asks for the removed `legacy_input` mode is named in the reason and ignored."""
reason = "strict: only a verified OpenSSH signature authorizes APPROVED, VERIFY_EXIT and DONE"
try:
path = Path(policy_path)
if path.is_file() and not path.is_symlink():
data: Any = json.loads(path.read_bytes()[: _MAX_POLICY_BYTES + 1].decode("utf-8"))
if isinstance(data, dict) and data.get("human_only_proof") not in (None, "strict"):
reason = f"strict: the requested mode {data.get('human_only_proof')!r} was removed and is ignored"
except (OSError, ValueError):
pass
return ProofPolicy(STRICT, reason)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Unverified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |