Skip to content

feat(automations): add execution ledger - #19

Merged
cnjack merged 2 commits into
codex/jtype-agent-work-prdfrom
codex/automation-execution-ledger
Jul 31, 2026
Merged

feat(automations): add execution ledger#19
cnjack merged 2 commits into
codex/jtype-agent-work-prdfrom
codex/automation-execution-ledger

Conversation

@cnjack

@cnjack cnjack commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • persist every SCM, Cron, and manual Automation trigger decision in a durable execution ledger
  • add idempotent Run-now, projected execution states, repair ownership, output links, and a focused execution-history UI
  • support Cron create_card output through deterministic jtype Card materialization and the existing Service Kanban claim/Run/writeback loop
  • preserve Viewer read-only Card deep links while requiring Member for writes and protecting the managed jcode-automation/ namespace

Product contract

Verification

  • cd orchestrator && go test ./...
  • real PostgreSQL: JCLOUD_PG_DSN=... go test ./internal/store/
  • cd console && pnpm test — 71 files / 593 tests
  • cd console && pnpm typecheck
  • jtype board-react: build, 21 unit tests, 8 embed E2E tests

Independent review

Kimi CLI and Grok CLI reviewed the product/UX, authorization, idempotency, polling, and cross-repo contract. Their findings drove the managed Card-root support, read-only supplement, indirect Run-state filter projection, and recoverable Card polling fixes. Grok final: no P0/P1 findings; Kimi final focused run was still in progress when this PR was opened.

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e8876e27-b44e-4de5-9257-efd9e34c6e7a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

Base automatically changed from codex/run-provenance to codex/jtype-agent-work-prd July 31, 2026 15:16
@cnjack
cnjack merged commit 279851e into codex/jtype-agent-work-prd Jul 31, 2026
3 checks passed
@cnjack
cnjack deleted the codex/automation-execution-ledger branch July 31, 2026 15:16
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