Skip to content

feat(tasks): add recur aliases and RRULE support for task repeats#408

Closed
salmonumbrella wants to merge 1 commit intoopenclaw:mainfrom
salmonumbrella:fix/issue-401-true-recurring
Closed

feat(tasks): add recur aliases and RRULE support for task repeats#408
salmonumbrella wants to merge 1 commit intoopenclaw:mainfrom
salmonumbrella:fix/issue-401-true-recurring

Conversation

@salmonumbrella
Copy link
Copy Markdown
Contributor

@salmonumbrella salmonumbrella commented Mar 4, 2026

Summary

  • add --recur and --recur-rrule flags to gog tasks add as aliases to repeat materialization
  • parse RRULE input with strict support for FREQ + optional INTERVAL and reject unsupported/duplicate keys
  • extend repeat scheduling to honor RRULE INTERVAL
  • keep existing --repeat flow intact and add explicit validation messaging that true server-side recurring metadata is not exposed by the public Tasks API
  • add/expand tests for new flags, RRULE parsing, and validation edges
  • document materialization behavior in README tasks examples

Testing

  • go test ./internal/cmd -run 'TestParseRepeatRRule|TestTasksValidationErrors|TestTasksAddCmd_RecurRRuleIntervalCreatesMultiple|TestTasksAddCmd_RecurAliasCreatesMultiple' -count=1
  • ./.tools/golangci-lint run --allow-parallel-runners
  • make test

Refs #401

@steipete
Copy link
Copy Markdown
Collaborator

steipete commented Mar 8, 2026

Landed manually on main in 2fe9d95.

Kept the PR scope intact after rebase onto current main; only extra fixup was changelog coverage for the new --recur / --recur-rrule path.

Thanks @salmonumbrella.

steipete added a commit that referenced this pull request Mar 8, 2026
- add --recur and --recur-rrule aliases for repeat materialization
- support RRULE FREQ with optional INTERVAL when generating concrete task occurrences
- document the materialized repeat behavior in README and changelog

Co-authored-by: salmonumbrella <182032677+salmonumbrella@users.noreply.github.com>
@steipete steipete closed this Mar 8, 2026
klodr pushed a commit to klodr/gogcli that referenced this pull request Apr 22, 2026
…enclaw#408)

- add --recur and --recur-rrule aliases for repeat materialization
- support RRULE FREQ with optional INTERVAL when generating concrete task occurrences
- document the materialized repeat behavior in README and changelog

Co-authored-by: salmonumbrella <182032677+salmonumbrella@users.noreply.github.com>
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.

2 participants