Skip to content

feat: add workflow policy packs#248

Draft
alchemistklk wants to merge 1 commit intomainfrom
codex/workflow-policy-packs
Draft

feat: add workflow policy packs#248
alchemistklk wants to merge 1 commit intomainfrom
codex/workflow-policy-packs

Conversation

@alchemistklk
Copy link
Copy Markdown

Summary

  • Adds prompt-time Workflow Policy Pack support with explicit role bindings via roles.<role>.policyPack.
  • Adds internal/workflowpolicy to load, validate, and resolve built-in/file packs, including bundled matt-series JSON.
  • Injects resolved policy text into planner, reviewer, fixer, and worker prompts before custom instructions and before Looper lifecycle/output contracts.
  • Exposes active bindings through config/status/prompt preview and preserves CONTEXT.md as the project glossary for the new domain terms.

Validation

  • gofmt -l .
  • VISUAL= go test ./...
  • go vet ./...
  • go build ./...

Note: an initial go test ./... run hit an existing flaky internal/agent timeout; the focused test passed immediately, and the full suite passed on retry with VISUAL=.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant