{"card": 1, "name": "agentmob", "version": "0.1.0", "description": "Guards for an Electron app built by parallel agents: an edit and shell guard, a stop gate that runs the checks, a verify loop, and a retro skill that improves the harness itself.", "hash": "sha256:fedf5556a93bbf0a12deb97fc83ccbdc0cb09e6b0949de3cb05928384efc14b2", "origin": {"repository": "https://github.com/jmondaut/AgentMob", "commit": "995d05611fd0bc9316c06ae1b966fe7bf869db21", "license": "AGPL-3.0", "license_basis": "detected", "share_alike": true, "absorbed_at": "2026-11-26"}, "review": {"pieces": 17, "mention_project": 9}, "inside": {"hooks": [{"event": "SessionStart", "matcher": "", "runs": "session-start.mjs"}, {"event": "PreToolUse", "matcher": "Edit|Write|MultiEdit|Bash", "runs": "guard.mjs"}, {"event": "PostToolUse", "matcher": "Edit|Write|MultiEdit", "runs": "typecheck-on-edit.mjs"}, {"event": "PostToolUseFailure", "matcher": "", "runs": "friction-log.mjs"}, {"event": "Stop", "matcher": "", "runs": "stop-gate.mjs"}], "rules": {"deny": ["Bash(tmux kill-server*)", "Bash(git push*)", "Read(~/.ssh/**)"]}, "skills": [{"name": "harness-retro", "description": "End-of-iteration retrospective that evolves the AgentMob Claude Code harness (CLAUDE.md, hooks, skills, agents) from what actually went wrong."}, {"name": "iterate", "description": "Run the next AgentMob roadmap iteration end to end — plan, build, verify, retro, commit."}, {"name": "verify", "description": "Run AgentMob's full verification — typecheck, lint, security scan, hook self-test, unit tests, dev launch, Electron e2e — and look at the screenshots. Use before calling any UI or main-process change done."}], "subagents": [{"name": "e2e-verifier", "description": "Independently checks that an AgentMob iteration meets its \"Done when\" criteria by building, running the Electron e2e tests and inspecting screenshots. Use at the end of every iteration."}, {"name": "electron-security-reviewer", "description": "Reviews AgentMob's Electron security surface (windows, WebContentsViews, preload, IPC, openExternal, partitions, pop-ups). Use after any change to src/main or src/preload that touches these."}], "mcp_servers": [], "instructions": 0}, "needs": ["node"], "guards": [{"name": "session start prints status", "expect": "allow", "event": "SessionStart", "tool": ""}, {"name": "safe TS edit", "expect": "allow", "event": "PreToolUse", "tool": "Write"}, {"name": "unsafe TS edit (nodeIntegration on)", "expect": "block", "event": "PreToolUse", "tool": "Write"}, {"name": "raw non-breaking space in a TS file", "expect": "block", "event": "PreToolUse", "tool": "Write"}, {"name": "unsafe text in a .md file is ignored", "expect": "allow", "event": "PreToolUse", "tool": "Write"}, {"name": "edit that turns contextIsolation off", "expect": "block", "event": "PreToolUse", "tool": "Edit"}, {"name": "plain bash", "expect": "allow", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux on the default socket", "expect": "block", "event": "PreToolUse", "tool": "Bash"}, {"name": "bare tmux", "expect": "block", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux after &&", "expect": "block", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux on the agentmob-test socket", "expect": "allow", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux -V", "expect": "allow", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux mentioned in a heredoc body", "expect": "allow", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux mentioned in a quoted string", "expect": "allow", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux inside bash -c", "expect": "block", "event": "PreToolUse", "tool": "Bash"}, {"name": "agentmob socket inside bash -c", "expect": "allow", "event": "PreToolUse", "tool": "Bash"}, {"name": "the /verify cleanup command", "expect": "allow", "event": "PreToolUse", "tool": "Bash"}, {"name": "heredoc body that talks about sh -c and tmux", "expect": "allow", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux after a heredoc that was data", "expect": "block", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux in a heredoc piped to a shell", "expect": "block", "event": "PreToolUse", "tool": "Bash"}, {"name": "tmux in a heredoc fed to a shell", "expect": "block", "event": "PreToolUse", "tool": "Bash"}, {"name": "deny rule: tmux kill-server", "expect": "block", "event": "PreToolUse", "tool": "Bash"}, {"name": "deny rule: git push", "expect": "block", "event": "PreToolUse", "tool": "Bash"}, {"name": "reading an ssh key is denied", "expect": "block", "event": "PreToolUse", "tool": "Read"}, {"name": "stop gate lets a looping stop through", "expect": "allow", "event": "Stop", "tool": ""}], "agents": {"claude": {"native": 11, "emulated": 0, "lost": 0, "pieces": [{"piece": "harness-retro", "kind": "skill", "status": "native", "note": ""}, {"piece": "iterate", "kind": "skill", "status": "native", "note": ""}, {"piece": "verify", "kind": "skill", "status": "native", "note": ""}, {"piece": "e2e-verifier", "kind": "subagent", "status": "native", "note": ""}, {"piece": "electron-security-reviewer", "kind": "subagent", "status": "native", "note": ""}, {"piece": "permission rules", "kind": "permissions", "status": "native", "note": ""}, {"piece": "SessionStart → session-start.mjs", "kind": "hook", "status": "native", "note": ""}, {"piece": "PreToolUse [Edit|Write|MultiEdit|Bash] → guard.mjs", "kind": "hook", "status": "native", "note": ""}, {"piece": "PostToolUse [Edit|Write|MultiEdit] → typecheck-on-edit.mjs", "kind": "hook", "status": "native", "note": ""}, {"piece": "PostToolUseFailure → friction-log.mjs", "kind": "hook", "status": "native", "note": ""}, {"piece": "Stop → stop-gate.mjs", "kind": "hook", "status": "native", "note": ""}]}, "codex": {"native": 5, "emulated": 6, "lost": 5, "pieces": [{"piece": "harness-retro", "kind": "skill", "status": "native", "note": ""}, {"piece": "iterate", "kind": "skill", "status": "native", "note": ""}, {"piece": "iterate: argument-hint, disable-model-invocation", "kind": "skill option", "status": "lost", "note": "Claude Code frontmatter that Codex does not read; the skill's text is unchanged"}, {"piece": "iterate: $ARGUMENTS", "kind": "skill option", "status": "lost", "note": "Codex does not substitute $ARGUMENTS; the agent reads the request instead"}, {"piece": "verify", "kind": "skill", "status": "native", "note": ""}, {"piece": "verify: allowed-tools", "kind": "skill option", "status": "lost", "note": "Claude Code frontmatter that Codex does not read; the skill's text is unchanged"}, {"piece": "e2e-verifier", "kind": "subagent", "status": "emulated", "note": "written as the skill `agent-e2e-verifier`: Codex has no file-defined subagents with their own tools and model, so those two settings are lost"}, {"piece": "electron-security-reviewer", "kind": "subagent", "status": "emulated", "note": "written as the skill `agent-electron-security-reviewer`: Codex has no file-defined subagents with their own tools and model, so those two settings are lost"}, {"piece": "SessionStart → session-start.mjs", "kind": "hook", "status": "native", "note": "same event; runs through the adapter, which sets CLAUDE_PROJECT_DIR"}, {"piece": "PreToolUse [Edit|Write|MultiEdit|Bash] → guard.mjs", "kind": "hook", "status": "emulated", "note": "Codex edits files with apply_patch: the adapter rebuilds a Write or Edit payload per file and blocks the patch if the hook blocks one of them. Deleting a file is not checked"}, {"piece": "PostToolUse [Edit|Write|MultiEdit] → typecheck-on-edit.mjs", "kind": "hook", "status": "emulated", "note": "Codex edits files with apply_patch: the adapter rebuilds a Write or Edit payload per file and blocks the patch if the hook blocks one of them. Deleting a file is not checked"}, {"piece": "PostToolUseFailure → friction-log.mjs", "kind": "hook", "status": "lost", "note": "Codex has no PostToolUseFailure event, so this hook never runs"}, {"piece": "Stop → stop-gate.mjs", "kind": "hook", "status": "native", "note": "same event; runs through the adapter, which sets CLAUDE_PROJECT_DIR"}, {"piece": "Bash(tmux kill-server*)", "kind": "permission (deny)", "status": "emulated", "note": "a Codex execution-policy rule (`forbidden`) and, as a second lock, a PreToolUse hook that blocks the command"}, {"piece": "Bash(git push*)", "kind": "permission (deny)", "status": "emulated", "note": "a Codex execution-policy rule (`forbidden`) and, as a second lock, a PreToolUse hook that blocks the command"}, {"piece": "Read(~/.ssh/**)", "kind": "permission (deny)", "status": "lost", "note": "Codex rules cover shell commands only; set this limit with Codex's sandbox and approval settings instead"}]}, "copilot": {"native": 5, "emulated": 7, "lost": 1, "pieces": [{"piece": "harness-retro", "kind": "skill", "status": "native", "note": ""}, {"piece": "iterate", "kind": "skill", "status": "native", "note": ""}, {"piece": "verify", "kind": "skill", "status": "native", "note": ""}, {"piece": "e2e-verifier", "kind": "subagent", "status": "emulated", "note": "written as a Copilot custom agent (.github/agents/): its own tool list and model are not carried over, so it gets Copilot's tools and the session's model"}, {"piece": "electron-security-reviewer", "kind": "subagent", "status": "emulated", "note": "written as a Copilot custom agent (.github/agents/): its own tool list and model are not carried over, so it gets Copilot's tools and the session's model"}, {"piece": "SessionStart → session-start.mjs", "kind": "hook", "status": "native", "note": "same event; runs through the adapter, which sets CLAUDE_PROJECT_DIR"}, {"piece": "PreToolUse [Edit|Write|MultiEdit|Bash] → guard.mjs", "kind": "hook", "status": "emulated", "note": "Copilot names its edit arguments differently (path, file_text, old_str, new_str): the adapter rebuilds the Write or Edit payload the hook expects, file by file for a patch"}, {"piece": "PostToolUse [Edit|Write|MultiEdit] → typecheck-on-edit.mjs", "kind": "hook", "status": "emulated", "note": "Copilot names its edit arguments differently (path, file_text, old_str, new_str): the adapter rebuilds the Write or Edit payload the hook expects, file by file for a patch"}, {"piece": "PostToolUseFailure → friction-log.mjs", "kind": "hook", "status": "lost", "note": "Copilot has no PostToolUseFailure event, so this hook never runs"}, {"piece": "Stop → stop-gate.mjs", "kind": "hook", "status": "native", "note": "same event; runs through the adapter, which sets CLAUDE_PROJECT_DIR"}, {"piece": "Bash(tmux kill-server*)", "kind": "permission (deny)", "status": "emulated", "note": "a preToolUse hook that refuses the shell command (Copilot keeps its own permission rules outside the repository)"}, {"piece": "Bash(git push*)", "kind": "permission (deny)", "status": "emulated", "note": "a preToolUse hook that refuses the shell command (Copilot keeps its own permission rules outside the repository)"}, {"piece": "Read(~/.ssh/**)", "kind": "permission (deny)", "status": "emulated", "note": "a preToolUse hook that refuses Copilot's view of a file this rule covers. A shell command that reads the file is not checked, as in Claude Code"}]}, "generic": {"native": 3, "emulated": 2, "lost": 8, "pieces": [{"piece": "harness-retro", "kind": "skill", "status": "native", "note": ""}, {"piece": "iterate", "kind": "skill", "status": "native", "note": ""}, {"piece": "verify", "kind": "skill", "status": "native", "note": ""}, {"piece": "e2e-verifier", "kind": "subagent", "status": "emulated", "note": "written as the skill `agent-e2e-verifier` in .agents/skills, which most agents read (each keeps subagents in its own place): its own tools and model are lost"}, {"piece": "electron-security-reviewer", "kind": "subagent", "status": "emulated", "note": "written as the skill `agent-electron-security-reviewer` in .agents/skills, which most agents read (each keeps subagents in its own place): its own tools and model are lost"}, {"piece": "Bash(tmux kill-server*)", "kind": "permission (deny)", "status": "lost", "note": "written in AGENTS.md as an instruction; nothing enforces it"}, {"piece": "Bash(git push*)", "kind": "permission (deny)", "status": "lost", "note": "written in AGENTS.md as an instruction; nothing enforces it"}, {"piece": "Read(~/.ssh/**)", "kind": "permission (deny)", "status": "lost", "note": "written in AGENTS.md as an instruction; nothing enforces it"}, {"piece": "SessionStart → session-start.mjs", "kind": "hook", "status": "lost", "note": "no hook system is assumed for this agent: the hook does not run. Install for Claude Code, Codex or GitHub Copilot to enforce it"}, {"piece": "PreToolUse [Edit|Write|MultiEdit|Bash] → guard.mjs", "kind": "hook", "status": "lost", "note": "no hook system is assumed for this agent: the hook does not run. Install for Claude Code, Codex or GitHub Copilot to enforce it"}, {"piece": "PostToolUse [Edit|Write|MultiEdit] → typecheck-on-edit.mjs", "kind": "hook", "status": "lost", "note": "no hook system is assumed for this agent: the hook does not run. Install for Claude Code, Codex or GitHub Copilot to enforce it"}, {"piece": "PostToolUseFailure → friction-log.mjs", "kind": "hook", "status": "lost", "note": "no hook system is assumed for this agent: the hook does not run. Install for Claude Code, Codex or GitHub Copilot to enforce it"}, {"piece": "Stop → stop-gate.mjs", "kind": "hook", "status": "lost", "note": "no hook system is assumed for this agent: the hook does not run. Install for Claude Code, Codex or GitHub Copilot to enforce it"}]}}, "proof": {"hash": "sha256:fedf5556a93bbf0a12deb97fc83ccbdc0cb09e6b0949de3cb05928384efc14b2", "date": "2026-11-27", "cases": [{"name": "session start prints status", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "safe TS edit", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "unsafe TS edit (nodeIntegration on)", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "raw non-breaking space in a TS file", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "unsafe text in a .md file is ignored", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "edit that turns contextIsolation off", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "plain bash", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "tmux on the default socket", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "bare tmux", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "tmux after &&", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "tmux on the agentmob-test socket", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "tmux -V", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "tmux mentioned in a heredoc body", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "tmux mentioned in a quoted string", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "tmux inside bash -c", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "agentmob socket inside bash -c", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "the /verify cleanup command", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "heredoc body that talks about sh -c and tmux", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}, {"name": "tmux after a heredoc that was data", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "tmux in a heredoc piped to a shell", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "tmux in a heredoc fed to a shell", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "deny rule: tmux kill-server", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "deny rule: git push", "expect": "block", "claude": "block", "codex": "block", "copilot": "block"}, {"name": "reading an ssh key is denied", "expect": "block", "claude": "block", "codex": "n/a", "copilot": "block"}, {"name": "stop gate lets a looping stop through", "expect": "allow", "claude": "allow", "codex": "allow", "copilot": "allow"}]}, "files": [{"path": "ABSORB_REPORT.md", "bytes": 3083, "sha256": "cad7bbfe1bfe43236ed32e958eaaa8dc0262b6d454faf2f5bebb00030f0cc666"}, {"path": "ATTRIBUTION.md", "bytes": 1111, "sha256": "34e7a0781133795496b78a55306044056e0f0707333baa91afb2fc07997cb817"}, {"path": "LICENSE", "bytes": 34523, "sha256": "0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0"}, {"path": "agents/e2e-verifier.md", "bytes": 1447, "sha256": "16d11091d788eced37da2d175d397a19d1ccdf7a947953f6f0948238ec47c4e7"}, {"path": "agents/electron-security-reviewer.md", "bytes": 2012, "sha256": "6bf7e8ebd7dfcdf82e224feea3d32baa346000980cd14a6efb62ac090bb53ed3"}, {"path": "harness.yaml", "bytes": 1686, "sha256": "c9d73c9f12b4d4f40b7a91056249b2b47c1c40fc2c4a37957d99bb2649618c80"}, {"path": "hooks/friction-log.mjs", "bytes": 1336, "sha256": "5dd51af3055d66cbb3b2593fa4773ec62123e6d3403ab5bfa0899726dc1e39e8"}, {"path": "hooks/guard.mjs", "bytes": 1782, "sha256": "ce66ac36837af2b04b305d3c7f6488366b5af0754bd41d8683c898314bd5040f"}, {"path": "hooks/security-patterns.mjs", "bytes": 3474, "sha256": "cfdce902b407d4d2f90bbb5c8eaa220401dea402596c1390b8c3b957e8e63eec"}, {"path": "hooks/session-start.mjs", "bytes": 1217, "sha256": "58c06eee1d7f6d8ed942116725dbd4b15aa7b36d6dbde8bb59737ce8c264361b"}, {"path": "hooks/stop-gate.mjs", "bytes": 1440, "sha256": "57c93b20c9f779e2f58b212aafb7cfb187e0549e059a23c55e1cb5e1ab8eef1f"}, {"path": "hooks/typecheck-on-edit.mjs", "bytes": 2280, "sha256": "56221f3010c4e7e6a5b9d88489bd6ebc4aefa1a8e28b15010b7b5c483c6e93ce"}, {"path": "selftest/cases.yaml", "bytes": 3658, "sha256": "67188293f444d207e7e554344659e790eae8faf33cee0c8dc1a07e3478d9742c"}, {"path": "skills/harness-retro/SKILL.md", "bytes": 1866, "sha256": "78740e993be604f5b59e77eb833a2c7549fc2ba465393e20256a2a3e64a7ab44"}, {"path": "skills/iterate/SKILL.md", "bytes": 2179, "sha256": "7107586531dade3ca3dba6bda8b4ff1be7221dde4dc5d2d43b31e99028f82464"}, {"path": "skills/verify/SKILL.md", "bytes": 1483, "sha256": "0150ed337d15e9c74292a2c9e6b8b6ffd799812fbe89128bc0cbf9117692e937"}]}
