Skip to content

try-works/role-model / .agents/skills/recursive-mode

recursive-mode

Unverified

Repository workflow orchestration skill for staged implementation, locked artifacts, late-phase receipts, and durable memory maintenance. Use when executing recursive-mode runs, resuming a run, locking a phase, or verifying locks.

FileKindSize
.agent/PLANS.mdmarkdown2.6 KB
.codex/AGENTS.mdmarkdown7.5 KB
.gitattributesother522 B
.gitignoreother553 B
.recursive/AGENTS.mdmarkdown3.3 KB
.recursive/DECISIONS.mdmarkdown1.1 KB
.recursive/README.mdmarkdown8.5 KB
.recursive/RECURSIVE.mdmarkdown107.5 KB
.recursive/STATE.mdmarkdown1.6 KB
.recursive/config/recursive-router.jsonconfig1.4 KB
.recursive/memory/MEMORY.mdmarkdown3.3 KB
.recursive/memory/archive/.gitkeepother1 B
.recursive/memory/domains/.gitkeepother1 B
.recursive/memory/episodes/.gitkeepother1 B
.recursive/memory/incidents/.gitkeepother1 B
.recursive/memory/patterns/.gitkeepother1 B
.recursive/memory/skills/SKILLS.mdmarkdown4.3 KB
.recursive/memory/skills/availability/.gitkeepother1 B
.recursive/memory/skills/issues/.gitkeepother1 B
.recursive/memory/skills/patterns/.gitkeepother1 B
.recursive/memory/skills/patterns/delegated-verification-and-refresh.mdmarkdown1.7 KB
.recursive/memory/skills/patterns/phase8-skill-memory-promotion.mdmarkdown1.4 KB
.recursive/memory/skills/usage/.gitkeepother1 B
.recursive/memory/skills/usage/skill-discovery-and-evaluation.mdmarkdown1.6 KB
.recursive/run/.gitkeepother1 B
AGENTS.mdmarkdown7.8 KB
LICENSEother11.1 KB
README.mdmarkdown17.8 KB
SKILL.mdskill md13.1 KB
agents/code-reviewer.mdmarkdown6.1 KB
agents/implementer.mdmarkdown6.3 KB
agents/openai.yamlconfig202 B
docs/templates/commands/check-reusable-repo-hygiene.mdmarkdown1.3 KB
docs/templates/commands/recursive-closeout.mdmarkdown2.8 KB
docs/templates/commands/recursive-init.mdmarkdown2.2 KB
docs/templates/commands/recursive-lock.mdmarkdown1.3 KB
docs/templates/commands/recursive-review-bundle.mdmarkdown3.6 KB
docs/templates/commands/recursive-status.mdmarkdown2.0 KB
docs/templates/commands/recursive-subagent-action.mdmarkdown4.2 KB
docs/templates/commands/test-recursive-mode-smoke.mdmarkdown3.4 KB
docs/templates/hooks/hooks.jsonconfig400 B
docs/templates/hooks/run-hook.cmdscript1.2 KB
docs/templates/hooks/session-start.ps1script3.6 KB
docs/templates/hooks/session-start.shscript3.5 KB
references/agents-block.mdmarkdown7.4 KB
references/artifact-template.mdmarkdown70.7 KB
references/benchmark-addon/recursive-benchmark/BENCHMARK-ADDON.mdmarkdown6.7 KB
references/benchmark-addon/recursive-benchmark/recursive-benchmark/BENCHMARK-ADDON.mdmarkdown6.7 KB
references/benchmark-addon/recursive-benchmark/recursive-benchmark/references/patterns.mdmarkdown4.9 KB
references/benchmark-addon/recursive-benchmark/references/patterns.mdmarkdown4.9 KB
references/benchmarks/README.mdmarkdown1.5 KB
references/benchmarks/local-first-planner/00-requirements.mdmarkdown3.3 KB
references/benchmarks/local-first-planner/README.mdmarkdown1.1 KB
references/benchmarks/local-first-planner/prompt-recursive-off.mdmarkdown1.1 KB
references/benchmarks/local-first-planner/prompt-recursive-on.mdmarkdown14.8 KB
references/benchmarks/local-first-planner/scoring-rubric.mdmarkdown1.3 KB
references/benchmarks/local-first-planner/starter/.gitignoreother30 B
references/benchmarks/local-first-planner/starter/README.mdmarkdown264 B
references/benchmarks/local-first-planner/starter/index.htmlother316 B
references/benchmarks/local-first-planner/starter/package.jsonmanifest628 B
references/benchmarks/local-first-planner/starter/src/App.test.tsxother334 B
references/benchmarks/local-first-planner/starter/src/App.tsxother971 B
references/benchmarks/local-first-planner/starter/src/main.tsxother238 B
references/benchmarks/local-first-planner/starter/src/styles.cssother976 B
references/benchmarks/local-first-planner/starter/src/test-setup.tsscript43 B
references/benchmarks/local-first-planner/starter/src/vite-env.d.tsscript38 B
references/benchmarks/local-first-planner/starter/tsconfig.app.jsonconfig552 B
references/benchmarks/local-first-planner/starter/tsconfig.jsonconfig89 B
references/benchmarks/local-first-planner/starter/vite.config.tsscript214 B
references/benchmarks/release-readiness-dashboard/00-requirements.mdmarkdown5.9 KB
references/benchmarks/release-readiness-dashboard/README.mdmarkdown1.2 KB
references/benchmarks/release-readiness-dashboard/prompt-recursive-off.mdmarkdown1.1 KB
references/benchmarks/release-readiness-dashboard/prompt-recursive-on.mdmarkdown14.8 KB
references/benchmarks/release-readiness-dashboard/scoring-rubric.mdmarkdown1.8 KB
references/benchmarks/release-readiness-dashboard/starter/.gitignoreother30 B
references/benchmarks/release-readiness-dashboard/starter/README.mdmarkdown272 B
references/benchmarks/release-readiness-dashboard/starter/index.htmlother324 B
references/benchmarks/release-readiness-dashboard/starter/package.jsonmanifest628 B
references/benchmarks/release-readiness-dashboard/starter/src/App.test.tsxother342 B
references/benchmarks/release-readiness-dashboard/starter/src/App.tsxother979 B
references/benchmarks/release-readiness-dashboard/starter/src/main.tsxother238 B
references/benchmarks/release-readiness-dashboard/starter/src/styles.cssother976 B
references/benchmarks/release-readiness-dashboard/starter/src/test-setup.tsscript43 B
references/benchmarks/release-readiness-dashboard/starter/src/vite-env.d.tsscript38 B
references/benchmarks/release-readiness-dashboard/starter/tsconfig.app.jsonconfig552 B
references/benchmarks/release-readiness-dashboard/starter/tsconfig.jsonconfig89 B
references/benchmarks/release-readiness-dashboard/starter/vite.config.tsscript214 B
references/benchmarks/scientific-calculator-rust/00-requirements.mdmarkdown4.1 KB
references/benchmarks/scientific-calculator-rust/README.mdmarkdown1.4 KB
references/benchmarks/scientific-calculator-rust/prompt-recursive-off.mdmarkdown1.1 KB
references/benchmarks/scientific-calculator-rust/prompt-recursive-on.mdmarkdown16.6 KB
references/benchmarks/scientific-calculator-rust/scoring-rubric.mdmarkdown1.5 KB
references/benchmarks/scientific-calculator-rust/starter/.gitignoreother14 B
references/benchmarks/scientific-calculator-rust/starter/Cargo.lockmanifest25.7 KB
references/benchmarks/scientific-calculator-rust/starter/Cargo.tomlmanifest226 B
references/benchmarks/team-capacity-board/00-requirements.mdmarkdown3.6 KB
references/benchmarks/team-capacity-board/README.mdmarkdown1.0 KB
references/benchmarks/team-capacity-board/prompt-recursive-off.mdmarkdown1.1 KB
references/benchmarks/team-capacity-board/prompt-recursive-on.mdmarkdown14.8 KB
references/benchmarks/team-capacity-board/scoring-rubric.mdmarkdown1.4 KB
references/benchmarks/team-capacity-board/starter/.gitignoreother30 B
references/benchmarks/team-capacity-board/starter/README.mdmarkdown264 B
references/benchmarks/team-capacity-board/starter/index.htmlother316 B
references/benchmarks/team-capacity-board/starter/package.jsonmanifest628 B
references/benchmarks/team-capacity-board/starter/src/App.test.tsxother334 B
references/benchmarks/team-capacity-board/starter/src/App.tsxother971 B
references/benchmarks/team-capacity-board/starter/src/main.tsxother238 B
references/benchmarks/team-capacity-board/starter/src/styles.cssother976 B
references/benchmarks/team-capacity-board/starter/src/test-setup.tsscript43 B
references/benchmarks/team-capacity-board/starter/src/vite-env.d.tsscript38 B
references/benchmarks/team-capacity-board/starter/tsconfig.app.jsonconfig552 B
references/benchmarks/team-capacity-board/starter/tsconfig.jsonconfig89 B
references/benchmarks/team-capacity-board/starter/vite.config.tsscript214 B
references/bootstrap/RECURSIVE.mdmarkdown109.9 KB
references/fixtures/tiny-tasks-smoke-recipe.mdmarkdown2.6 KB
references/local-first-web-app-checklist.mdmarkdown1.6 KB
references/plans-canonical.mdmarkdown10.8 KB
scripts/check-reusable-repo-hygiene.ps1script625 B
scripts/check-reusable-repo-hygiene.pyscript6.3 KB
scripts/install-recursive-mode.ps1script36.0 KB
scripts/install-recursive-mode.pyscript31.8 KB
scripts/install-recursive-mode.shscript363 B
scripts/lint-recursive-run.ps1script739 B
scripts/lint-recursive-run.pyscript127.4 KB
scripts/recursive-closeout.ps1script1015 B
scripts/recursive-closeout.pyscript24.0 KB
scripts/recursive-init.ps1script18.7 KB
scripts/recursive-init.pyscript12.6 KB
scripts/recursive-lock.ps1script677 B
scripts/recursive-lock.pyscript12.6 KB
scripts/recursive-review-bundle.ps1script2.9 KB
scripts/recursive-review-bundle.pyscript22.1 KB
scripts/recursive-router-cli-configure.ps1script86 B
scripts/recursive-router-cli-configure.pyscript230 B
scripts/recursive-router-cli-init.ps1script81 B
scripts/recursive-router-cli-init.pyscript225 B
scripts/recursive-router-cli-invoke.ps1script83 B
scripts/recursive-router-cli-invoke.pyscript227 B
scripts/recursive-router-cli-probe.ps1script82 B
scripts/recursive-router-cli-probe.pyscript226 B
scripts/recursive-router-cli-resolve.ps1script84 B
scripts/recursive-router-cli-resolve.pyscript228 B
scripts/recursive-router-cli-validate.ps1script85 B
scripts/recursive-router-cli-validate.pyscript229 B
scripts/recursive-router-configure.ps1script798 B
scripts/recursive-router-configure.pyscript2.8 KB
scripts/recursive-router-init.ps1script490 B
scripts/recursive-router-init.pyscript925 B
scripts/recursive-router-invoke.ps1script1.5 KB
scripts/recursive-router-invoke.pyscript4.4 KB
scripts/recursive-router-probe.ps1script735 B
scripts/recursive-router-probe.pyscript1.6 KB
scripts/recursive-router-resolve.ps1script803 B
scripts/recursive-router-resolve.pyscript1.6 KB
scripts/recursive-router-validate.ps1script494 B
scripts/recursive-router-validate.pyscript804 B
scripts/recursive-status.ps1script674 B
scripts/recursive-status.pyscript97.7 KB
scripts/recursive-subagent-action.ps1script5.8 KB
scripts/recursive-subagent-action.pyscript12.4 KB
scripts/recursive-training-extract.ps1script586 B
scripts/recursive-training-extract.pyscript1.0 KB
scripts/recursive-training-grpo.ps1script1.2 KB
scripts/recursive-training-grpo.pyscript47.2 KB
scripts/recursive-training-loader.ps1script2.3 KB
scripts/recursive-training-loader.pyscript20.1 KB
scripts/recursive-training-mcp.ps1script721 B
scripts/recursive-training-mcp.pyscript10.1 KB
scripts/recursive-training-phase8-trigger.ps1script1.4 KB
scripts/recursive-training-phase8-trigger.pyscript4.0 KB
scripts/recursive-training-sync.ps1script735 B
scripts/recursive-training-sync.pyscript6.9 KB
scripts/recursive_phase_rules.pyscript12.7 KB
scripts/recursive_router_cli_lib.pyscript77 B
scripts/recursive_router_lib.pyscript84.5 KB
scripts/run-recursive-benchmark.ps1script2.1 KB
scripts/run-recursive-benchmark.pyscript376.1 KB
scripts/test-recursive-mode-smoke.ps1script1.0 KB
scripts/test-recursive-mode-smoke.pyscript121.0 KB
scripts/test_install_recursive_mode.pyscript38.4 KB
scripts/test_lint_recursive_run.pyscript4.1 KB
scripts/test_recursive_phase_rules.pyscript21.4 KB
scripts/test_recursive_review_bundle.pyscript5.8 KB
scripts/test_recursive_router.pyscript53.3 KB
scripts/test_recursive_subagent_action.pyscript3.2 KB
scripts/test_recursive_training.pyscript12.0 KB
scripts/test_run_recursive_benchmark.pyscript160.0 KB
scripts/verify-locks.ps1script733 B
scripts/verify-locks.pyscript13.8 KB

scripts/recursive-subagent-action.py

View on GitHub
#!/usr/bin/env python3
"""
Generate a recursive-mode subagent action record scaffold.
"""

from __future__ import annotations

import argparse
import hashlib
import re
from datetime import datetime, timezone
from pathlib import Path


def normalize_repo_path(raw_path: str) -> str:
    return raw_path.replace("\\", "/").strip().lstrip("/")


def slugify(value: str) -> str:
    lowered = value.strip().lower()
    slug = re.sub(r"[^a-z0-9]+", "-", lowered).strip("-")
    return slug or "action"


def render_path_list(title: str, values: list[str]) -> list[str]:
    lines = [title]
    if not values:
        lines.append("- none")
        return lines
    lines.extend(f"- `{value}`" for value in values)
    return lines


def render_text_list(title: str, values: list[str]) -> list[str]:
    lines = [title]
    if not values:
        lines.append("- none")
        return lines
    lines.extend(f"- {value}" for value in values)
    return lines


def content_sha256(content: str) -> str:
    normalized = content.replace("\r\n", "\n").replace("\r", "\n")
    return hashlib.sha256(normalized.encode("utf-8")).hexdigest()


def main() -> int:
    parser = argparse.ArgumentParser(description="Generate a recursive-mode subagent action record scaffold.")
    parser.add_argument("--repo-root", default=".", help="Repository root path.")
    parser.add_argument("--run-id", required=True, help="Run ID under .recursive/run/.")
    parser.add_argument("--subagent-id", required=True, help="Subagent identifier.")
    parser.add_argument("--phase", required=True, help="Phase name for the action record.")
    parser.add_argument("--purpose", required=True, help="Invocation purpose.")
    parser.add_argument("--execution-mode", required=True, help="Execution mode, e.g. review, audit, implementer.")
    parser.add_argument("--artifact-path", default="", help="Repo-relative current artifact path.")
    parser.add_argument("--upstream-artifact", action="append", default=[], help="Repo-relative upstream artifact path.")
    parser.add_argument("--addendum", action="append", default=[], help="Repo-relative addendum path.")
    parser.add_argument("--review-bundle", default="", help="Repo-relative review bundle path if used.")
    parser.add_argument("--diff-basis", default="", help="Explicit diff basis summary if not inferred.")
    parser.add_argument("--code-ref", action="append", default=[], help="Repo-relative code reference path.")
    parser.add_argument("--memory-ref", action="append", default=[], help="Repo-relative memory doc path.")
    parser.add_argument("--audit-question", action="append", default=[], help="Audit/task question passed to the subagent.")
    parser.add_argument("--action-taken", action="append", default=[], help="Concrete delegated action taken by the subagent.")
    parser.add_argument("--created-file", action="append", default=[], help="Repo-relative created file path.")
    parser.add_argument("--modified-file", action="append", default=[], help="Repo-relative modified file path.")
    parser.add_argument("--reviewed-file", action="append", default=[], help="Repo-relative reviewed file path.")
    parser.add_argument("--untouched-file", action="append", default=[], help="Repo-relative relevant but untouched file path.")
    parser.add_argument("--artifact-read", action="append", default=[], help="Repo-relative recursive artifact read by the subagent.")
    parser.add_argument("--artifact-updated", action="append", default=[], help="Repo-relative recursive artifact updated by the subagent.")
    parser.add_argument("--evidence-used", action="append", default=[], help="Repo-relative evidence path used by the subagent.")
    parser.add_argument("--finding", action="append", default=[], help="Claimed finding or unresolved point.")
    parser.add_argument("--verification-path", action="append", default=[], help="Repo-relative file or artifact path the controller should inspect first.")
    parser.add_argument("--verification-item", action="append", default=[], help="Main-agent verification handoff item.")
    parser.add_argument("--router-used", default="", help="Router identifier used for delegated dispatch, e.g. recursive-router.")
    parser.add_argument("--routed-role", default="", help="Canonical routed role resolved for this action.")
    parser.add_argument("--routed-cli", default="", help="Resolved external CLI id if any.")
    parser.add_argument("--routed-model", default="", help="Resolved model id if any.")
    parser.add_argument("--routing-config-path", default="", help="Repo-relative routing policy path.")
    parser.add_argument("--routing-discovery-path", default="", help="Repo-relative routing discovery path.")
    parser.add_argument("--routing-resolution-basis", default="", help="Short explanation of how the route was resolved.")
    parser.add_argument("--routing-fallback-reason", default="", help="Why execution fell back from routed delegation, if applicable.")
    parser.add_argument("--cli-probe-summary", default="", help="Compact CLI probe summary for the action record.")
    parser.add_argument("--prompt-bundle-path", default="", help="Repo-relative routed prompt bundle path if used.")
    parser.add_argument("--invocation-exit-code", default="", help="External CLI invocation exit code if applicable.")
    parser.add_argument("--output-capture-path", action="append", default=[], help="Repo-relative captured output path from the routed CLI.")
    parser.add_argument("--output-name", default="", help="Optional action record filename under subagents/.")
    args = parser.parse_args()

    repo_root = Path(args.repo_root).resolve()
    run_dir = repo_root / ".recursive" / "run" / args.run_id.strip()
    if not run_dir.exists():
        print(f"[FAIL] Run directory not found: {run_dir}")
        return 1

    subagents_dir = run_dir / "subagents"
    subagents_dir.mkdir(parents=True, exist_ok=True)

    bundle_path = normalize_repo_path(args.review_bundle) if args.review_bundle.strip() else ""
    artifact_path = normalize_repo_path(args.artifact_path) if args.artifact_path.strip() else ""
    artifact_hash = ""
    if artifact_path and (repo_root / artifact_path).exists():
        artifact_hash = content_sha256((repo_root / artifact_path).read_text(encoding="utf-8"))

    diff_basis = args.diff_basis.strip() or "See /.recursive/run/<run-id>/00-worktree.md for the normalized diff basis used."
    timestamp = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
    output_name = args.output_name.strip()
    if not output_name:
        output_name = f"{timestamp.replace(':', '').replace('-', '')}-{slugify(args.subagent_id)}-action.md"
    if not output_name.lower().endswith(".md"):
        output_name = f"{output_name}.md"
    output_path = subagents_dir / output_name
    output_rel = normalize_repo_path(str(output_path.relative_to(repo_root)))

    upstream_artifacts = sorted(set(normalize_repo_path(value) for value in args.upstream_artifact if value.strip()))
    addenda = sorted(set(normalize_repo_path(value) for value in args.addendum if value.strip()))
    code_refs = sorted(set(normalize_repo_path(value) for value in args.code_ref if value.strip()))
    memory_refs = sorted(set(normalize_repo_path(value) for value in args.memory_ref if value.strip()))
    created_files = sorted(set(normalize_repo_path(value) for value in args.created_file if value.strip()))
    modified_files = sorted(set(normalize_repo_path(value) for value in args.modified_file if value.strip()))
    reviewed_files = sorted(set(normalize_repo_path(value) for value in args.reviewed_file if value.strip()))
    untouched_files = sorted(set(normalize_repo_path(value) for value in args.untouched_file if value.strip()))
    artifacts_read = sorted(set(normalize_repo_path(value) for value in args.artifact_read if value.strip()))
    artifacts_updated = sorted(set(normalize_repo_path(value) for value in args.artifact_updated if value.strip()))
    evidence_used = sorted(set(normalize_repo_path(value) for value in args.evidence_used if value.strip()))
    actions_taken = [value.strip() for value in args.action_taken if value.strip()]
    verification_paths = sorted(set(normalize_repo_path(value) for value in args.verification_path if value.strip()))
    output_capture_paths = sorted(set(normalize_repo_path(value) for value in args.output_capture_path if value.strip()))
    routing_config_path = normalize_repo_path(args.routing_config_path) if args.routing_config_path.strip() else ""
    routing_discovery_path = normalize_repo_path(args.routing_discovery_path) if args.routing_discovery_path.strip() else ""
    prompt_bundle_path = normalize_repo_path(args.prompt_bundle_path) if args.prompt_bundle_path.strip() else ""

    lines: list[str] = [
        "# Subagent Action Record",
        "",
        "## Metadata",
        f"- Subagent ID: `{args.subagent_id.strip()}`",
        f"- Run ID: `{args.run_id.strip()}`",
        f"- Phase: `{args.phase.strip()}`",
        f"- Purpose: `{args.purpose.strip()}`",
        f"- Execution Mode: `{args.execution_mode.strip()}`",
        f"- Timestamp: `{timestamp}`",
        f"- Action Record Path: `/{output_rel}`",
        "",
        "## Inputs Provided",
        f"- Current Artifact: `{('/' + artifact_path) if artifact_path else 'none'}`",
        f"- Artifact Content Hash: `{artifact_hash or 'UNKNOWN'}`",
    ]
    lines.extend(render_path_list("- Upstream Artifacts:", [f"/{value}" for value in upstream_artifacts]))
    lines.extend(render_path_list("- Addenda:", [f"/{value}" for value in addenda]))
    lines.append(f"- Review Bundle: `{('/' + bundle_path) if bundle_path else 'none'}`")
    lines.append(f"- Diff Basis: `{diff_basis}`")
    lines.extend(render_path_list("- Code Refs:", [f"/{value}" for value in code_refs]))
    lines.extend(render_path_list("- Memory Refs:", [f"/{value}" for value in memory_refs]))
    lines.extend(render_text_list("- Audit / Task Questions:", args.audit_question))
    lines.append("")
    lines.append("## Routing")
    lines.append(f"- Router Used: `{args.router_used.strip() or 'none'}`")
    lines.append(f"- Routed Role: `{args.routed_role.strip() or 'none'}`")
    lines.append(f"- Routed CLI: `{args.routed_cli.strip() or 'none'}`")
    lines.append(f"- Routed Model: `{args.routed_model.strip() or 'none'}`")
    lines.append(f"- Routing Config Path: `{('/' + routing_config_path) if routing_config_path else 'none'}`")
    lines.append(f"- Routing Discovery Path: `{('/' + routing_discovery_path) if routing_discovery_path else 'none'}`")
    lines.append(f"- Routing Resolution Basis: `{args.routing_resolution_basis.strip() or 'none'}`")
    lines.append(f"- Routing Fallback Reason: `{args.routing_fallback_reason.strip() or 'none'}`")
    lines.append(f"- CLI Probe Summary: `{args.cli_probe_summary.strip() or 'none'}`")
    lines.append(f"- Prompt Bundle Path: `{('/' + prompt_bundle_path) if prompt_bundle_path else 'none'}`")
    lines.append(f"- Invocation Exit Code: `{args.invocation_exit_code.strip() or 'none'}`")
    lines.extend(render_path_list("- Output Capture Paths:", [f"/{value}" for value in output_capture_paths]))
    lines.append("")
    lines.extend(render_text_list("## Claimed Actions Taken", actions_taken))
    lines.append("")
    lines.append("## Claimed File Impact")
    lines.extend(render_path_list("### Created", [f"/{value}" for value in created_files]))
    lines.extend(render_path_list("### Modified", [f"/{value}" for value in modified_files]))
    lines.extend(render_path_list("### Reviewed", [f"/{value}" for value in reviewed_files]))
    lines.extend(render_path_list("### Relevant but Untouched", [f"/{value}" for value in untouched_files]))
    lines.append("")
    lines.append("## Claimed Artifact Impact")
    lines.extend(render_path_list("### Read", [f"/{value}" for value in artifacts_read]))
    lines.extend(render_path_list("### Updated", [f"/{value}" for value in artifacts_updated]))
    lines.extend(render_path_list("### Evidence Used", [f"/{value}" for value in evidence_used]))
    lines.append("")
    lines.extend(render_text_list("## Claimed Findings", args.finding))
    lines.append("")
    lines.append("## Verification Handoff")
    lines.extend(render_path_list("- Inspect first:", [f"/{value}" if value.startswith(".recursive/") else value for value in verification_paths]))
    lines.extend(render_text_list("- Notes:", args.verification_item))
    lines.append("")

    output_path.write_text("\n".join(lines), encoding="utf-8", newline="\n")
    print(f"[OK] Wrote subagent action record: /{output_rel}")
    return 0


if __name__ == "__main__":
    raise SystemExit(main())
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: 467kUpdated Claude CodeCodexVerifiedInstall
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: 467kUpdated Claude CodeCodexVerifiedInstall
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: 319kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 319kUpdated Claude CodeCodexVerifiedInstall