knowledge-catalog icon indicating copy to clipboard operation
knowledge-catalog copied to clipboard

okf: add optional .okfignore convention (SPEC 3.2)

Open manumishra12 opened this issue 4 months ago • 0 comments

What

Adds an optional .okfignore convention as a new subsection (SPEC section 3.2) so producers can mark files or directories that consumers and enrichment agents SHOULD skip when walking a bundle — drafts, scratch notes, large binaries, and similar non-knowledge files.

Semantics

  • MAY appear at the bundle root, and in any subdirectory (applying to its own subtree).
  • gitignore-style path patterns, one per line; blank lines and # comments ignored.
  • Consumers and agents SHOULD skip matching files and directories.
  • Never affects conformance: matching files are skipped, not forbidden, so a bundle is equally valid without one, and a consumer that does not implement ignore files MAY read the whole tree.

Spec-only, additive, and backward-compatible (SPEC section 11 minor-version rules). Reference-tooling support can follow.

Addresses #77.

manumishra12 avatar Jul 11 '26 21:07 manumishra12