[codex] implement conditional invoke scheduling control plane#114
Merged
[codex] implement conditional invoke scheduling control plane#114
Conversation
Replaces the 6-column schedule table with a card-based layout organized around operator mental model: health at a glance, next fire time, last event, and context-sensitive primary action. Adds force-fire + skip-next API endpoints and threads them through claw-api and clawdash. - Consolidate Gate/Timing/Wake columns into a single schedule block - Hide docker exec wake command behind disclosure - Collapse always-visible action buttons into primary + overflow - Add force-fire, skip-next endpoints on claw-api - Wire clawdash handlers + UI to the new endpoints - Include design plan at docs/plans/2026-04-05-clawdash-schedule-ui-redesign.md
…ditional-invoke-scheduling # Conflicts: # cmd/claw-api/handler.go # cmd/claw-api/handler_test.go # cmd/claw-api/main.go # cmd/claw/compose_up.go # cmd/claw/compose_up_test.go # docs/plans/2026-04-04-conditional-invoke-scheduling.md
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed
This PR implements the conditional invoke scheduling control plane for pod-origin
x-claw.invokeentries.It adds:
when:gatesclaw-api.claw-governance/claw-apiclaw api schedule ...operator commands tunneled throughdocker compose execWhy
Runner-native cron could not express market-hours gating or provide a uniform runtime control surface. This moves timer authority and current scheduling state into Clawdapus while preserving runner-specific wake behavior.
Impact
when: { calendar: us-equities, session: regular }are now evaluated before wake.claw-apiremains internal-only; the host CLI reaches it throughdocker compose exec, so no host port is published.INVOKEcontinues to use runner-native cron unchanged.Validation
go test ./...go vet ./...Refs #107