Add W3C-style specification for fuzzy schedule time syntax #12456
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.
Formalizes the fuzzy schedule time syntax with a W3C-compliant specification document.
Changes
docs/src/content/docs/reference/fuzzy-schedule-specification.md(1,110 lines)Coverage
Syntax patterns: Daily (basic/around/between), weekly (basic/day/constrained), hourly, intervals (minutes/hours/days/weeks), bi-weekly, tri-weekly
Time formats: 24-hour (HH:MM), 12-hour (Ham/Hpm), keywords (midnight/noon)
Timezone support: UTC offset syntax (utc±N, utc±HH:MM), conversion algorithm, day boundary handling
Scattering algorithm: Flexible hash function requirements (determinism, distribution, stability, integer output) with FNV-1a as recommended reference implementation. Alternative hash functions (MurmurHash, xxHash, CityHash) are explicitly supported. Workflow identifier format (
owner/repo/path), day/time wrapping logic.Hash Function Flexibility
The specification allows implementations to use any hash function that meets the requirements:
FNV-1a is provided as a reference implementation (SHOULD use), with explicit support for alternatives like MurmurHash, xxHash, and CityHash.
Example
Located alongside
mcp-gateway.mdfor consistency with existing specifications.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.