You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add okfcli validation to the okf-bundle skill from #32 once a release accepts datetime stale_after values. Until then the skill relies on manual §11 checks.
Blocker
okf v0.5.1 rejects spec-conformant stale_after datetimes. Confirmed by running it: upstream bundles/acme_retail fails okf validate with 7 okf/lifecycle/stale-after-invalid errors, and a concept with stale_after: 2020-01-01T00:00:00Z gets no stale warning.
Confirm bundles/acme_retail passes okf validate, and that past datetimes produce okf/lifecycle/stale.
Add okf to the dev shell, pinning a release or Go toolchain (it needs Go 1.27 or newer).
Update the skill to run okf validate, keeping the manual §11 check as the fallback when okf is not installed.
Add fixture-based bats tests and document the optional dependency.
Consider okf init and okf index for scaffolding and index generation.
Handle legacy timestamp values with no offset: v0.5.1 fails to load the whole bundle on timestamp: 2026-04-12T09:00:00, so unmigrated v0.1 bundles may need a manual step or an upstream report.
If upstream stalls
Decide whether to build from a fork carrying the fix, or stay instructions-only. The last commit on the project's default branch was 2026-09-03.
Acceptance criteria
The pinned okf release accepts RFC 3339 stale_after values and reports staleness for them.
The skill uses okf validate when available and falls back to manual checks otherwise.
Plugin bats suite passes against the pinned release.
changed the title [-]chore(okf-bundle): retire okf-validate.sh once okfcli accepts datetime stale_after[/-][+]feat(okf-bundle): add okfcli validation once datetime stale_after fix ships[/+]on Nov 6, 2026
okfcli v0.5.2 (2026-11-08) now accepts RFC 3339 datetimes for stale_after. The fix landed through okfcli/okf#44, and okfcli/okf#34 is closed. We checked v0.5.2 against the example bundle from #34, which uses stale_after: 2027-01-01T00:00:00Z. okf validate reports 0 errors and 0 warnings. v0.5.1 flagged that line as a false error.
Still broken in v0.5.2 (step 6): a v0.1 bundle containing timestamp: 2026-04-12T09:00:00 (no offset) still fails to load. validate and lint both exit 1 with parsing time "2026-04-12T09:00:00" as "2006-01-02T15:04:05Z07:00". The accompanying hint wrongly says the file lacks frontmatter. Before calling okf, the integration has to find and report any legacy timestamp without an offset. Otherwise agents see only that misleading load error.
Plan update: pin okfcli to >= v0.5.2. Start once #34 merges.
Activity
[-]chore(okf-bundle): retire okf-validate.sh once okfcli accepts datetime stale_after[/-][+]feat(okf-bundle): add okfcli validation once datetime stale_after fix ships[/+][-]feat(okf-bundle): add okfcli validation once datetime stale_after fix ships[/-][+]feat(okf-bundle): add okfcli validation (requires okfcli ≥ v0.5.2)[/+]prometheas commentedon Nov 12, 2026
Unblocked: the okfcli fix has shipped.
okfcli v0.5.2 (2026-11-08) now accepts RFC 3339 datetimes for
stale_after. The fix landed through okfcli/okf#44, and okfcli/okf#34 is closed. We checked v0.5.2 against the example bundle from #34, which usesstale_after: 2027-01-01T00:00:00Z.okf validatereports 0 errors and 0 warnings. v0.5.1 flagged that line as a false error.Still broken in v0.5.2 (step 6): a v0.1 bundle containing
timestamp: 2026-04-12T09:00:00(no offset) still fails to load.validateandlintboth exit 1 withparsing time "2026-04-12T09:00:00" as "2006-01-02T15:04:05Z07:00". The accompanying hint wrongly says the file lacks frontmatter. Before callingokf, the integration has to find and report any legacy timestamp without an offset. Otherwise agents see only that misleading load error.Plan update: pin okfcli to
>= v0.5.2. Start once #34 merges.feat(okf-bundle): add OKF v0.2 bundle authoring skill (#34)