Skip to content

docs(automation): document the time-relative trigger (#1874) - #3241

Merged
os-zhuang merged 1 commit into
mainfrom
claude/time-relative-trigger-ikme70
Jul 18, 2026
Merged

docs(automation): document the time-relative trigger (#1874)#3241
os-zhuang merged 1 commit into
mainfrom
claude/time-relative-trigger-ikme70

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

What & why

Follow-up to the merged #1874 feature (PR #3230). The feature landed with its auto-generated reference (content/docs/references/automation/time-relative-trigger.mdx) and the trigger-schedule README section, but the two hand-written surfaces authors actually consult still described only record / schedule triggers. This adds the time-relative trigger to both.

Changes

  • skills/objectstack-automation/SKILL.md — a Time-relative triggers section under "Triggers — Event-Driven Automation", framed explicitly as the declarative replacement for the fragile date-equality-on-record-change anti-pattern (end_date == daysFromNow(60)). This is the highest-value surface: flows are heavily AI-authored, and this skill is where an author reaches for the pattern in the first place. Also cross-links the schedule flow-type row.
  • content/docs/automation/flows.mdx — a Time-relative flow example placed right after the hand-rolled "Scheduled flow" (get_record + notify) example it supersedes, with a note on offsetDays vs withinDays and the required triggers + job capabilities.

Both frame the same guidance: prefer the declarative config.timeRelative sweep (evaluated daily, fans out per record) over a record_change flow gated on date-equality (which only fires if the record is edited on the exact threshold day).

Testing

Doc gates verified locally: check:doc-authoring (200 files clean), check:skill-docs (in sync — body edit doesn't touch generated frontmatter), check:docs (references still in sync). No code changes, so no changeset.

🤖 Generated with Claude Code


Generated by Claude Code

Follow-up to the merged #1874 feature. Adds the declarative time-relative
trigger to the two hand-written surfaces authors consult (the auto-generated
reference and the trigger-schedule README already landed with the feature):
- skills/objectstack-automation/SKILL.md — a "Time-relative triggers" section
under Triggers, framed as the declarative replacement for the fragile
date-equality-on-record-change anti-pattern (flows are heavily AI-authored, so
this is where an author reaches for the wrong pattern). Cross-linked from the
schedule flow-type row.
- content/docs/automation/flows.mdx — a "Time-relative flow" example right after
the hand-rolled scheduled get_record example it replaces.
Doc gates verified locally: check:doc-authoring, check:skill-docs, check:docs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AHzW68suiFuu6GdJyea8U4
@vercel

vercelBot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
specBuildingBuildingPreview, CommentJul 18, 2026 4:22pm

Request Review

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation size/s labels Jul 18, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review July 18, 2026 16:32
@os-zhuang
os-zhuang merged commit 4f21ce8 into mainJul 18, 2026
14 of 15 checks passed
@os-zhuang
os-zhuang deleted the claude/time-relative-trigger-ikme70 branch July 18, 2026 16:33
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@os-zhuang@claude