This repository was archived by the owner on Aug 12, 2026. It is now read-only.
refactor: align harness boundaries with reusable agent workflows - #6
Merged
Conversation
Assisted-By: Codex <codex@openai.com>
Assisted-By: Codex <codex@openai.com>
Assisted-By: Codex <codex@openai.com>
Assisted-By: Codex <codex@openai.com>
There was a problem hiding this comment.
Pull request overview
Refines the “harness boundary” so repository-resident files capture project-specific contracts/governance, while reusable workflows can be supplied externally (e.g., via agent skills), and updates the template + docs to reflect and test that model.
Changes:
- Re-scopes
AGENTS.mdto core executable constraints and pushes durable workflow policy intodecisions/(including new delivery + implementation policy docs). - Updates project maps (root README and templated README) to point at the refined contract/policy files.
- Extends template-generation tests to assert the new durable policy files are rendered.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/test_generation.py | Ensures generated projects include the new durable decision/policy files. |
| template/README.md.jinja | Updates the generated project README “map” to reference the refined decision/policy boundaries. |
| template/decisions/testing-policy.md | Expands testing contract language around acceptance thresholds/oracles and boundary-first testing. |
| template/decisions/README.md.jinja | Adds new decision/policy documents to the decisions directory index. |
| template/decisions/implementation-policy.md | Introduces an implementation/topology evolution policy (3M, complexity boundary, redesign gate). |
| template/decisions/documentation-style.md | Adds authoring workflow + formatting/budget rules for documentation. |
| template/decisions/development.md.jinja | Clarifies iteration routing and separates “exploration” (role) from “brainstorming” (procedure). |
| template/decisions/delivery.md | Adds delivery/completion, validation reporting, and commit attribution policy. |
| template/AGENTS.md.jinja | Narrows AGENTS.md to executable boundaries and links to the durable contracts in decisions/. |
| README.md | Documents the refined harness model and adds uv prerequisite + expanded project map/references. |
| docs/roadmap.md | Updates near-term dogfooding checklist items/status. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| ## Complexity Boundary | ||
|
|
||
| - Optimize execution briefs for the smallest conceptual diff (keep it stay simple). If the requested scope is over-designed, surface the simpler route before implementation. |
Comment on lines
+18
to
+22
| The pipeline is allowed to iterate. | ||
|
|
||
| - If implementation exposes a wrong abstraction or repeated failure, return to *the Architecture reviewer*; | ||
| - accepted lessons update the appropriate contract, decision, test, or rule. | ||
| - If architecture review exposes missing theory or package-level uncertainty, return to *the Exploration agent*. |
|
|
||
| ```bash | ||
| # macOS and Linux | ||
| curl -LsSf https://astral.sh/uv/install.sh | sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refine the harness boundary so repository-resident files define project-specific contracts and governance, while reusable development procedures can be supplied by external agent skills such as Superpowers.
Changes
AGENTS.mdto executable project constraints, precedence rules, and links to durable policies.Rationale
The harness should preserve project-specific knowledge, constraints, and reviewable decisions without duplicating general-purpose agent workflows.
This separation:
Superpowers is therefore treated as a compatible workflow layer rather than a vendored or mandatory dependency.
Validation