Skip to content

docs: gitignore guidance for the derived index; release 0.2.0 (#8) - #12

Merged
RichardHightower merged 4 commits into
mainfrom
docs/gitignore-and-release
Aug 10, 2026
Merged

docs: gitignore guidance for the derived index; release 0.2.0 (#8)#12
RichardHightower merged 4 commits into
mainfrom
docs/gitignore-and-release

Conversation

@RichardHightower

Copy link
Copy Markdown
Contributor

#8 — nothing told users not to commit the index

grep -rn gitignore across every .md, .py and .json in the repo returned
no hits: no README mention, no docs mention, no init step, and no template.

The only implicit guidance was this repo's own .gitignore, which ignores
knowledge/ — the whole bundle directory, under a hardcoded name. As a pattern
to copy that is simultaneously too narrow (only a bundle literally called
knowledge) and too broad (excludes the concepts themselves, which are exactly
what you want in git).

A repo with two bundles is where it shows: ignoring knowledge/.index/ leaves
the second bundle's index sitting in git status as untracked, which is how I
ran into it.

Changes:

  • templates/gitignore-fragment ships with the plugin.
  • A README note beside the build command.
  • **/.index/ rather than */.index/, so it holds at any nesting depth and for
    every bundle rather than one name.
  • This repo's own .gitignore now demonstrates the pattern it recommends.
  • The README code block says <bundle>/.index/ instead of knowledge/.index/
    the hardcoded name is what caused the confusion in the first place.

Release 0.2.0

This repo had no CHANGELOG.md. This adds the first one, covering all seven
fixes that make up 0.2.0, and bumps the four version manifests
(marketplace.json, .claude-plugin/marketplace.json,
.claude-plugin/plugin.json, package.json).

There is no test enforcing version consistency here — unlike okf-plugin, which
has one — so all four were checked by hand. That might be worth adding later.

Depends on #9, #10 and #11 landing first, since the changelog describes them.

Verification

python3 -m py_compile scripts/dekc_*.py    # ok
python3 tests/test_dekc.py                 # 17/17 on this branch

Closes #8

RichardHightower and others added 4 commits August 10, 2026 11:49
Nothing in the repo told users not to commit <bundle>/.index/ -- grep for
"gitignore" across every .md, .py and .json returned nothing. The only
implicit guidance was this repo's own .gitignore, which ignores knowledge/:
the whole bundle directory, under a hardcoded name. As a pattern to copy that
is both too narrow (only a bundle literally called knowledge) and too broad
(excludes the concepts, which are what you want in git).

Ships templates/gitignore-fragment and a README note beside the build command,
using **/.index/ rather than */.index/ so it holds at any nesting depth and
for every bundle. This repo's own .gitignore now demonstrates the pattern it
recommends. The README code block also stops saying knowledge/.index/ and says
<bundle>/.index/, since the hardcoded name is what caused the confusion.

A repo with two bundles is where the narrower pattern shows: ignoring
knowledge/.index/ leaves the second bundle's index sitting in git status.

Also adds the first CHANGELOG.md this repo has had, covering all seven fixes
in 0.2.0, and bumps the four version manifests. There is no test enforcing
version consistency here, so all four were checked by hand.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011XXDjM9WnCtsdRTU441WUu
The release bump landed in package.json and 3 other manifests but left
8 more stale at 0.1.0, with nothing to catch it. Bump the remaining
plugin manifests (opencode, codex, grok marketplace x2, catalog.json),
README, user guide, and design doc, plus a UI version badge the sweep
turned up. Add TestVersionConsistency to tests/test_dekc.py so a future
partial bump fails CI instead of shipping silently.
Clean auto-merge except a duplicate 'import re' left by the union of
independently-added imports; collapsed to one.
@RichardHightower
RichardHightower merged commit c2b601d into main Aug 10, 2026
1 check passed
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.

No .gitignore guidance ships for the derived .index/

1 participant