Skip to content

Add agentic delivery contract - #11

Merged
WalksWithASwagger merged 2 commits into
mainfrom
codex/agentic-delivery-contract
May 18, 2026
Merged

Add agentic delivery contract#11
WalksWithASwagger merged 2 commits into
mainfrom
codex/agentic-delivery-contract

Conversation

@WalksWithASwagger

@WalksWithASwagger WalksWithASwagger commented May 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a repo-local agentic/contract.json with the standard ready/review/stop labels, provider policy, diff limits, branch pattern, Linear project metadata, and verification commands.
  • Add GitHub Actions for issue quality, noop/command-provider dev loop execution, and acceptance-criteria PR review.
  • Add the provider adapter, repo doctor/status scripts, agentic-intake command, docs, and focused tests.
  • Harden the delivery guardrails so staged tracked changes count toward diff limits before PR creation.

Safety

  • v1 opens PRs only; it never auto-merges.
  • noop is the default provider, so real execution stays disabled until repo variables/secrets are set after a workflow-dispatch dry run.
  • PR review only auto-runs for codex/issue-*, codex/BC-*, or codex/bc-* agent output branches, so rollout/maintenance branches are not mislabeled.
  • The runner refuses pause signals, stop labels, dirty worktrees, failed verification, and diffs over 20 files or 500 changed lines.

Verification

  • venv/bin/python -m pytest tests/agentic -q -> 15 passed after rebase on current main
  • venv/bin/python -m py_compile scripts/agentic/*.py
  • YAML parse for agentic workflows
  • python3 scripts/agentic/ensure_labels.py --dry-run
  • python3 -m json.tool agentic/contract.json
  • git diff --check

Follow-up After Merge

  • Run the Agentic Dev Loop workflow manually with provider noop before enabling a real provider secret.

@WalksWithASwagger

Copy link
Copy Markdown
Owner Author

PR-review follow-up landed in f6e0e2d. It switches the contract verification command to one that exists on this PR's current base (python3 -m pytest tests/agentic -q) and fixes changed_stats so staged tracked changes count toward PR/no-PR and diff-limit decisions. Verification: agentic tests -> 15 passed, py_compile, workflow YAML parse, ensure_labels dry-run, json.tool, diff-check.

@WalksWithASwagger
WalksWithASwagger force-pushed the codex/agentic-delivery-contract branch from f6e0e2d to 7c3b5c6 Compare May 18, 2026 04:26
@WalksWithASwagger
WalksWithASwagger merged commit e607252 into main May 18, 2026
1 check passed
@WalksWithASwagger
WalksWithASwagger deleted the codex/agentic-delivery-contract branch May 19, 2026 04:59
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