agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Run deterministic source, citation, freshness, privacy, meeting-certainty, accessibility, correction-state, and human-approval checks before civic publication.
$ npx -y skills add jmagly/aiwg --skill civic-publish-gate --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/civic-publish-gateContext preview
The summary Claude sees to decide when to auto-load this skill.
Run deterministic source, citation, freshness, privacy, meeting-certainty, accessibility, correction-state, and human-approval checks before civic publication.
namespace: aiwg platforms: [all] name: civic-publish-gate description: Run deterministic source, citation, freshness, privacy, meeting-certainty, accessibility, correction-state, and human-approval checks before civic publication. script: entrypoint: scripts/publish_gate.mjs runtime: node cwd: project-root argsHint: "<publication-packet.json>" triggers: - publish cited local public information - run civic publication quality gates - check a civic story before publishing
1. Supply a versioned publication packet with per-section count/freshness rules, claims, sources, links, structured-data validation, accessibility, privacy, correction state, static/CMS adapter results, and human review. 2. Run `aiwg run skill civic-publish-gate -- packet.json`. 3. Remediate every block. Warnings require visible human disposition. 4. Treat automated accessibility checks as evidence only, never a complete WCAG conformance determination. 5. Publication remains an external human action even after a machine pass. 6. Verify the live page, last-good copy, sitemap, reindex, and cache handoffs; each must pass or be explicitly not applicable before publication completes.
A schema-valid publication gate report. Exit `1` means blocked; exit `2` means invalid input/usage. The command never writes to a CMS or external service.
Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Repo: jmagly/aiwg
Crash-resilient external agent loop with state persistence and CI/CD integration
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Enable agent loops to learn from similar past tasks and share patterns across loops
Query and manage the executable feedback debug memory
Execute tests on generated code and iterate until passing