Files
Meshtastic-Android/.specify/extensions/agent-governance/commands/speckit.agent-governance.refresh.md
T

1.1 KiB

description
description
Generate or update the active agent governance file

Agent Governance Generate/Update

Input

$ARGUMENTS

Output

  • Active agent platform governance file.
  • Managed SPECKIT GOVERNANCE section.
  • .specify/memory/agent-governance.md: internal cache.

Procedure

  1. Require .specify/.
  2. Resolve target:
    • .specify/init-options.json context_file
    • .specify/integration.json default_integration or integration
    • AGENTS.md
  3. Create internal cache when missing.
  4. Generate target file when missing.
  5. Update only the managed section when target exists.
  6. Use existing managed section as refresh source.
  7. Distill detected repository areas into action rules.
    • depth: 2
    • include hidden and cache directories
  8. Preserve content outside managed markers.
  9. Preserve managed markers verbatim.
  10. Run:
uv run python .specify/extensions/agent-governance/scripts/refresh_agent_governance.py

Report

  • target governance file
  • generated or updated
  • review target
  • internal cache status
  • captured evidence when cache is created