Problem/Motivation

Two agent-tooling defects, both in files that ship to contributors:

  • .kkignore did not exclude kenkeep's own prompt templates and README, the committed nodes/ tree, .claude/agents/, or the harness instruction files. A bootstrap therefore ingested the tooling as project documentation — and, now that nodes/ is committed, would seed the knowledge base from itself.
  • CLAUDE.md stated that drupalorg issue:setup-remote adds a remote named drupalorg and writes an HTTPS URL. The CLI (v0.10.3) names it after the fork — entity_segment-<nid> — and writes SSH when origin is SSH. The old text came from the drupalorg-cli skill docs rather than the binary.

Proposed resolution

Exclude .ai/kenkeep/ (subsuming the narrower hooks/ entry), .claude/agents/, AGENTS.md and CLAUDE.md from the scan. The two instruction files are loaded into every session already, so nodes extracted from them would duplicate the always-on layer. Correct the remote description in CLAUDE.md.

finddocs then lists only README.md, docs/*.md and the submodule READMEs.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None. Scan scope and documentation only; no knowledge nodes are added, removed or rewritten.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jdleonard created an issue. See original summary.

jdleonard’s picture

Title: Exclude agent tooling and the knowledge base itself from the kenkeep doc scan » Fix the kenkeep doc-scan scope and correct the issue-fork remote in CLAUDE.md
Issue summary: View changes
jdleonard’s picture

Assigned: jdleonard » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.