Skip to content

Add root dot file indexing and docs#60

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/expand-indexing-configuration
Draft

Add root dot file indexing and docs#60
Copilot wants to merge 2 commits intomainfrom
copilot/expand-indexing-configuration

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 28, 2026

Extends indexing beyond .github/ to support configurable root-level dot files (e.g., .editorconfig, .prettierrc.json). Uses the same # dotgithubindexer: <category> comment pattern as dependabot for categorization.

Root file indexing

  • New -rootfiles flag accepts comma-separated file names: -rootfiles .editorconfig,.prettierrc.json
  • RootFile struct, fetch/store/index/GC/README generation — mirrors the dependabot pattern
  • DB structure: db/rootfiles/<filename>/<category>/<hash> with index.yaml per category
  • Summary table in db/README.md includes root files section

Documentation (docs/)

  • overview.md — purpose, design philosophy, what gets indexed
  • usage.md — install, CLI flags, examples
  • configuration.md — flag details, category comment system, token permissions
  • file-types.md — workflows, dependabot, root files
  • database-structure.md — output directory layout and file descriptions

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Add RootFile struct and -rootfiles CLI flag for configuring root dot files to index
- Add fetchRootFile, updateRootFileIndex, storeRootFileVersion functions
- Add garbageCollectRootFiles and generateRootFileReadmeFiles functions
- Update generateDBSummary to include root files section
- Update audit function to process root files
- Create docs/ folder with overview, usage, configuration, file-types, and database-structure pages
- Update README.md with new -rootfiles flag

Co-authored-by: JaredHatfield <208119+JaredHatfield@users.noreply.github.com>
Copilot AI changed the title [WIP] Expand indexing configuration for files outside .github folder Add root dot file indexing and docs Feb 28, 2026
@JaredHatfield JaredHatfield moved this from Todo to In Progress in UnitVectorY Labs Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants