docs(okf): grep-bart anker inn i SPEC-en, ikke et linjenummer
Et linjenummer inn i et ANNET repos fil raatner paa deres neste redigering, og denne fila skal kunne leses utenfra. Samme regel som STATE-pekere: paragraf- anker, verifisert med en grep som faktisk treffer. Co-Authored-By: Claude <claude-opus-5>
This commit is contained in:
parent
a00cde6444
commit
9e35cfefbf
1 changed files with 5 additions and 2 deletions
|
|
@ -34,9 +34,12 @@ written down rather than implied.** SPEC § 5.1 names **six** keys on a `sources
|
||||||
`id`, `title`, `author`, `usage_count`, `last_modified` — and the producer writes **two of them**:
|
`id`, `title`, `author`, `usage_count`, `last_modified` — and the producer writes **two of them**:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sed -n '303,313p' ~/repos/_okf-canonical/SPEC.md # the six entry keys
|
# Grep-able anchor, never a line number — a line anchor into another repository's file rots
|
||||||
|
# on that repository's next edit, and this one has to survive being read from outside.
|
||||||
|
grep -A11 'Each `sources` entry:' ~/repos/_okf-canonical/SPEC.md # the six entry keys
|
||||||
grep -rh '^sources:' ~/repos/llm-ingestion-okf/examples/
|
grep -rh '^sources:' ~/repos/llm-ingestion-okf/examples/
|
||||||
# -> sources: [{ id: golden-v0-2-sales, resource: fixture }] (1 of 1 file carrying the key)
|
# -> sources: [{ id: golden-v0-2-sales, resource: fixture }]
|
||||||
|
# (1 of the 26 markdown files under examples/ carries the key at all)
|
||||||
```
|
```
|
||||||
|
|
||||||
Measured 2026-09-02 against producer `62b6192`. **2 of 6, not 2 of 5** — an earlier draft of this
|
Measured 2026-09-02 against producer `62b6192`. **2 of 6, not 2 of 5** — an earlier draft of this
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue