Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .agents/skills/opendirector-agent-development/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Read the upstream files at the revisions pinned by OpenDirector. If a matching c
- **Changes to Agent behavior or reliability** → [eval-harness](../../upstream/ecc/skills/eval-harness/SKILL.md#eval-types). Use **Eval Types** and the grader and repeat-run guidance in **Product Evals**. Grade observable effects through OpenDirector's test entry points and apply the project’s acceptance criteria.
- **Tool scope, workspace isolation, or sensitive trace output** → [agent-security-hardening](../../upstream/ecc/skills/agent-security-hardening/SKILL.md#hardening-workflow). Use **Map Trust Boundaries** and **Bound and Sanitize Tool Output** when reviewing the affected boundary.
- **Formal pull request review** → [opendirector-review](../opendirector-review/SKILL.md) for the review procedure. Apply the matching development references and the constraints below to the Agent change.
- **Submitting an AI-authored pull request** → Complete the [independent scoring step](../../../AGENTS.md#ai-authored-pr-submission) before opening the PR, updating its head, or marking it ready.

## OpenDirector constraints

Expand Down
15 changes: 14 additions & 1 deletion .agents/skills/opendirector-review/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: opendirector-review
description: Review one OpenDirector pull request tip, verify evidence, and report PASS, WITHHOLD, or REQUEST CHANGES. Use when asked to review or score an OpenDirector PR or tip.
description: Review one OpenDirector pull request tip, verify evidence, and report PASS, WITHHOLD, or REQUEST CHANGES. Use to review or score an OpenDirector PR or to score a committed candidate before submission.
---

# OpenDirector review
Expand Down Expand Up @@ -45,6 +45,19 @@ architecture pages indexed from [docs/README.md](../../../docs/README.md).
Review the tip against the fetched default branch. If the tip is itself
the rule change, say so and review that change.

## Score an unpublished candidate

For author-delegated pre-review, read the review guidance at the pinned
target base. Review the committed diff between the supplied base and head,
the draft PR body, any linked Issue, and the test and artifact evidence.
Apply the issue-fit, architecture, test, and evidence criteria below.
List applicable PR-triggered checks that have yet to run.

Keep this review read-only. Return findings and the
[advisory score](#advisory-score) to the author for the supplied SHAs.
Withhold the total on a stale or materially incomplete snapshot. Use
the live PR workflow and its verdicts below for formal PR review.

## Establish the tip

Record these from the remote before reading the narrative:
Expand Down
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Say what you ran locally and what you left to Release checks. Name checks you co

- Local:
- Left to CI:
- For AI-authored PRs, include the independent pre-review score, reviewed base and head, and any material validation gaps.

## Evidence that it works

Expand Down
19 changes: 19 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,25 @@ Acceptance focuses on output that actually meets creative requirements, recovera
- Production studios, complete scriptwriting and full-series delivery systems, additional model capabilities, and background rendering engines require explicit requirements; do not expand scope automatically because of the unified project model.
- When adding or changing user-visible content, follow the new-feature checklist in [Bilingual interface](docs/development/i18n.md) and run `npm run check:i18n`. Automated checks alone are insufficient; switch between both languages and inspect the new flow.

## AI-authored PR submission

Before opening an AI-authored PR, updating its head, or marking a draft
ready, start a separate subagent that did not contribute to the change.
Give it the full base and committed candidate head SHAs, the intended PR body,
and check and artifact evidence. Ask it to use the
[candidate review mode](.agents/skills/opendirector-review/SKILL.md#score-an-unpublished-candidate)
and return findings and a score.

Proceed when the subagent scores the candidate **at least 80/100** and
blocking findings are resolved. Address a lower or withheld score with
fixes or evidence, then request a fresh review. Before submission, confirm
the current target base and outgoing head still match the review. Rescore
if either SHA or any material claim or evidence changes. When no subagent
is available, keep submission pending and report the blocker.

Record the independent score, reviewed base and head, and material validation gaps
in the PR body. Follow the existing PR review and Release checks process.

## Documentation maintenance

Update this document when architectural principles or development direction change; do not maintain implementation progress here. The [documentation index and maintenance rules](docs/README.md) index the formal documentation, which is delivered with the code through Git.
Expand Down
Loading