Skip to content

[PILOT-02] Atomic bulk screen/release and explicit batch CLI - #543

Draft
Abiorh001 wants to merge 38 commits into
codex/pilot02-atomic-importfrom
codex/pilot02-bulk-release-cli
Draft

Abiorh001 wants to merge 38 commits into
codex/pilot02-atomic-importfrom
codex/pilot02-bulk-release-cli

Conversation

@Abiorh001

Copy link
Copy Markdown
Collaborator

Imported tasks can now be screened and released as one complete native batch. Each operation prepares every member through the canonical Task owner, applies fresh authority per Task, and commits receipts, lifecycle facts and audits together. A late failure rolls back the entire operation; replay refuses a partially advanced or revoked batch.

The CLI adds separate source declaration/upload/status and batch import/status/screen/release commands, plus UTF-8 CSV conversion to the canonical JSON bytes retained by ART. Writes have no automatic retries. Equivalent verified-source recovery preserves the original import facts; uncertain outcomes require explicit manual replay.

Stacked on #542, with base codex/pilot02-atomic-import. Related to #489; this draft does not close the issue. The sole migration author's 0034 correction must land in #542 before human merge, followed by bulk reconciliation onto main. Migration 0035 and the predecessor correction are sole-author handoffs, not independently authored schema changes.

Validation:

  • Exact 932412232: installed-0035 PostgreSQL/MinIO proof, 18 passed in 859.62s. Includes actual 200/500-task import→SCREEN→RELEASE, fresh replay, partial advancement, revocation, observed lock waits, late rollback and immutable/native closure controls; complete cleanup.
  • Exact 2c9cff0a1: two native CLI cases passed in 176.02s, including CSV200 and equivalent-source recovery; complete PostgreSQL/MinIO cleanup.
  • Exact 32d033903: 58 guide HTTP cases passed in 74.66s and 98 task/local HTTP cases in 173.76s. Exact 43ff2ae51: eight native guide cases passed in 184.81s and self-service in 79.38s; complete cleanup. All 167 CLI cases are selected exactly once, with no skips, under unchanged 240s per-group caps. Earlier exhausted budgets and their concrete selection repairs remain recorded.
  • Go tests/build/vet, Ruff, protected ownership/contract checks and the scoped API inventory passed as recorded. Final 321707781 changes only the evidence record from 43ff2ae51; product/test bytes retain the qualifications above.

Independent required reviews and full hosted CI remain pending. The unchanged 15-minute CLI job budget includes setup beyond the 688.63s local pytest total and needs actual hosted proof. This draft is not ready to merge.

Commitrail Probe added 30 commits October 11, 2026 14:20
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
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