Skip to main content

Module harness_command

Module harness_command 

Source
Expand description

Per-harness symforge-admin command-file install (009 US3, D2).

Installs a symforge-admin command file where the harness supports one (e.g. Claude Code ~/.claude/commands/symforge-admin.md); harnesses without a command-file convention rely on the universal MCP prompt instead (no guessed or broken file — the MCP prompt is the floor). Reuses the restorable-backup write path (FR-016).

The universal affordance is the MCP prompt symforge-admin (registered in protocol::prompts); this module is the convenience layer — a one-keystroke slash-command for harnesses that document a command-file format. Across the live HarnessId set, only Claude Code documents one (markdown slash-commands under ~/.claude/commands/); the rest (Codex, Gemini, Cursor, KiloCode, Claude Desktop) get the MCP prompt only — guessing a format we cannot verify would ship a broken affordance (a nonworking feature, D2).

Enums§

CommandFileOutcome
Whether a harness got a command file installed, and where — or why it did not.

Constants§

CLAUDE_ADMIN_COMMAND_FILE
On-disk filename for the Claude Code symforge-admin slash-command file installed under ~/.claude/commands/.

Functions§

install_admin_command_file
Install the symforge-admin command file for a single harness under home.