agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md
$ npx -y skills add jmagly/aiwg --skill aiwg-regenerate-existing-project --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/aiwg-regenerate-existing-projectContext preview
The summary Claude sees to decide when to auto-load this skill.
Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md
namespace: aiwg name: aiwg-regenerate-existing-project platforms: [all] kernel: true description: Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md commandHint: argumentHint: "[--provider <name>] [--dry-run|--apply]" allowedTools: Bash, Read model: haiku category: maintenance modelRole: efficiency modelTier: economy
Use this opt-in branch when adopting the canonical context graph in an established repository. It extracts bounded, deterministic facts from package metadata, README purpose, stack/tooling files, standard commands, test and architecture paths, and CI workflow names. The generated snapshot lives in its own replaceable block inside the protected `WORKSPACE.md` operator region.
aiwg regenerate --existing-project --provider <name> --dry-run aiwg regenerate --existing-project --provider <name> --apply aiwg workspace-context doctor
Preview is the default when neither `--dry-run` nor `--apply` is supplied. The transaction migrates provider-only roots to attributed files under `.aiwg/context/providers/`, preserves manual context outside managed blocks, excludes generated AIWG and spillover content, and refuses possible credential values or unresolved directive conflicts. Apply prints a transaction id and an exact `aiwg workspace-context rollback <id>` command.
Use [aiwg-regenerate-workspace](../aiwg-regenerate-workspace/SKILL.md) for fresh projects or ordinary refreshes, and [aiwg-regenerate-legacy](../aiwg-regenerate-legacy/SKILL.md) only for inline compatibility.
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