ci: schedule fail-closed hourly product development - #435
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
Closing this implementation because it directly conflicts with the repository operating contract: the hourly GitHub Actions scheduler creates Copilot Agent Tasks with |
Purpose
Add the missing product-development half of ScopeWeave's commercialization loop without duplicating the organization-owned PR maintenance schedulers.
ContextualWisdomLab/.githubcontinues to own review dispatch, feedback repair, exact-head checks, branch updates, and policy-compliant merges more frequently than once per hour. This repository workflow runs at minute 41 and creates one bounded product task only after both open PRs and active or unknown agent tasks are proven to be zero.Safety contract
COPILOT_GITHUB_TOKENis missing;create_pull_request: true;Product-quality prompt
The created task must select one buyer-visible vertical slice, work test-first, preserve standalone and modular MSA operation, use two-or-more-word
snake_casedatabase objects, require complete JSDoc/docstrings and 100% coverage for changed production modules, use realistic multi-tenant and failure tests, place APA 7th standards evidence indocs/doctoring/, use Figma only for genuine buyer-facing UI, and route genuinely necessary LLM tests throughNVIDIA_NIM_API_KEYandcontextual-orchestrator.Standards and platform evidence
docs/doctoring/hourly-product-development.mdrecords the architecture decision and APA 7th references to GitHub's current Agent Tasks API, scheduled-workflow, concurrency, and workflow-security documentation. The documented Agent Tasks API is public preview and requires user-to-server credentials; scheduled workflows become active only after the workflow reaches the default branch. The implementation therefore keeps the ordinaryGITHUB_TOKENread-only, requires a separately scoped user token, treats unknown API/task state as queue ownership, and remains inactive until protected merge.Verification
tests/config/hourly-product-development.test.mjsstatically enforces schedule, permissions, duplicate prevention, task-state handling, prompt requirements, and no-self-merge behavior.npm run test:unit.docs/operations/hourly-product-development.mddocuments credentials, failure modes, recovery, and ownership boundaries.docs/doctoring/hourly-product-development.mdrecords limitations and authoritative platform evidence.CHANGELOG.mdrecords the new gate under Unreleased.Sequencing
This PR is intentionally Draft while the security train in #432 owns the merge queue. After #432 and #414 merge, update this branch onto the exact protected
develophead, rerun all repository and central checks, obtain an independent exact-head approval, and only then enable auto-merge.