Skip to content

OKF: document the log-heading deviation from §7 - #525

Merged
pftg merged 3 commits into
masterfrom
okf-log-format-note
Aug 21, 2026
Merged

OKF: document the log-heading deviation from §7#525
pftg merged 3 commits into
masterfrom
okf-log-format-note

Conversation

@pftg

@pftg pftg commented Aug 21, 2026

Copy link
Copy Markdown
Member

Log file only. One header note, and a non-finding worth recording.

The sync check came back clean

The bundle is in sync with master. The single "broken cross-link" warning points
at a file that exists
docs/projects/2605-.../course-landing-components-2026-08.md. The validator
declines to resolve outside the bundle and tolerates it under §5.3. Acting on
that warning would have broken a working link.

What is real

33 of ~80 warnings are §7 date-heading violations, and they come from our own
convention. The spec's template is a bare ## <YYYY-MM-DD> with bullets beneath,
which assumes one entry per day. This bundle lands several thematic entries
per day — 12 on 2026-08-21 alone — so conforming would produce a dozen
identical headings and destroy scannability.

Keeping ## YYYY-MM-DD - what changed. The header now says so.

Why write it down at all

Not for the warnings — they never block conformance (§9). It's that a session
reading validator output otherwise does one of two things:

  1. Collapses the headings to conform, producing 12 identical ## 2026-08-21
    blocks, or
  2. Learns to ignore warnings wholesale

The second is how a genuine warning gets missed. The note tells a reader which
class to filter and why
, so the remaining signal stays legible.

Gates

okf validate --strict conformant. bin/hugo-build clean. Single file.

🤖 Generated with Claude Code

A sync check found the bundle already in sync, with one instructive
non-finding: the single "broken cross-link" warning points at a file that
EXISTS — docs/projects/2605-.../course-landing-components-2026-08.md. The
validator declines to resolve outside the bundle and tolerates it under §5.3.
Acting on that warning would have broken a working link.

What is real: **33 of ~80 warnings are §7 date-heading violations**, and they
come from this file's own convention. The spec's template is a bare
`## <YYYY-MM-DD>` with bullets beneath, which assumes one entry per day. This
bundle lands several thematic entries per day — 12 on 2026-08-21 alone — so
conforming would produce a dozen identical headings and destroy scannability.

Keeping `## YYYY-MM-DD - what changed`, and saying so in the header. The reason
to write it down is not the warnings, which never block: it is that a session
reading validator output otherwise either collapses the headings destructively,
or learns to ignore warnings wholesale — and the second is how a real one gets
missed. The note tells a reader which class to filter and why.

okf validate --strict conformant; bin/hugo-build clean. Log file only.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4b8fae35-b334-47e8-b872-469626431b44


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

pftg and others added 2 commits August 21, 2026 02:54
`okf_validate.py .okf --strict` **exits 1**, and has for some time. It prints
`✓ conformant (N warnings)` — true, since conformance (§9) means no ERRORS — and
I read that line as a pass every time without checking `$?`. CLAUDE.md requires
this gate before bundle commits. Verified now: without `--strict` exit 0, with
`--strict` exit 1.

That is evidence-over-assertion failing in its most ordinary form: the
human-readable summary and the machine signal disagreed, and the friendlier one
won for a whole session.

**Counts measured, not estimated.** 82 warnings: 57 §7 date headings, 23 missing
recommended fields. The first draft of this note said "33 of ~80" — an
unmeasured number inside a note whose entire purpose was separating known noise
from real signal.

Recorded alongside it, because it is the opposite error: the one "broken
cross-link" warning points at a file that EXISTS; the validator declines to
resolve outside the bundle and tolerates it under §5.3. Acting on it would have
broken a working link. One warning class was real and ignored; another looks
real and must be.

Reframed from "accepted noise" to a KNOWN-RED GATE, and tracked in
docs/projects/2608-site-design-system/README.md with the two jobs that make it
green: restructure log.md so same-day themes sit under ONE dated heading (a
whole-file restructure that conflicts with parallel sessions appending to it —
do it when the repo is quiet), and add `timestamp` to the 23 concepts missing
it, anchored to each file's last commit time, never invented.

Gates, stated precisely this time: `okf_validate.py .okf` exits 0, conformant,
81 warnings. `--strict` exits 1 by design until the above lands.
bin/hugo-build clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Review raised a P1: the counts and the prescribed fix come from one validator
build, and a v0.2 bundle may score differently elsewhere — specifically that
`timestamp` is superseded by `generated.at` under v0.2, which would make "add 23
timestamps" fix nothing.

**I could not reproduce the reported composition.** Both validator copies on
this machine — `plugins/cache/scaccogatto/okf/0.4.0/...` and the marketplace
copy — agree with each other and with my numbers: 81 warnings, 23
missing-recommended-field, ZERO Citations warnings. The review reported 73/14/0.
Not accepting an unreproducible claim, and saying so rather than quietly
adopting it.

But its core point stands and is the actual defect: **a tracked remediation
should not hardcode numbers from one run.** The item now says to re-derive the
breakdown by running /okf:validate through the SKILL — so it resolves whatever
is canonical at the time — and to fix what THAT run reports, treating my figures
as a dated snapshot rather than a spec.

The one job stated as version-independent is the log restructure: same-day
themes beneath one `## YYYY-MM-DD` heading, done when the repo is quiet because
it conflicts with every parallel session appending to that file.

bin/hugo-build clean. Single file.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pftg
pftg merged commit f3b5cc9 into master Aug 21, 2026
@pftg
pftg deleted the okf-log-format-note branch August 21, 2026 01:01
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.

1 participant