Skip to content

Replace DOX with Trail repository knowledge - #464

Merged
rix1337 merged 1 commit into
mainfrom
dev
Oct 19, 2026
Merged

rix1337 merged 1 commit into
mainfrom
dev

Conversation

@rix1337

@rix1337 rix1337 commented Oct 19, 2026

Copy link
Copy Markdown
Owner

The DOX hierarchy required agents to read and maintain nested instruction files, much of which repeated information available in the code. Replace its 14 child files with one root AGENTS.md and 25 focused Trail learnings that preserve architectural decisions, reasons, and constraints.

Agents must use Trail first and stop with an installation command if it is missing. The root rules retain the ban on real source hostnames and require running pre-commit and accepting its edits. Those two rules are also learnings 01 and 02. Documentation policy moves into a learning, including native Trail headings and preserving committed decisions when a later note supersedes them.

Add a privacy check before pre-commit can stage files. It checks both working and staged Trail content for domains, credential assignments, personal author metadata, absolute paths, unsafe references, symlinks, and tracked caches. Shared notes use a generic author and repository-relative references. Generated maps stay gitignored and are built locally; collaboration shares the learnings through Git.

Update CONTRIBUTING with the setup and verification commands, without pinning the Trail version. Keep the dependency refresh and version bump to 4.7.6 produced by pre-commit. No user configuration or source-hostname changes are required.

Validation:

  • uv run python -X utf8 pre-commit.py: lint, formatting, and all 493 tests pass.
  • uv run python check_trail.py and trail check --base origin/main pass.
  • Verified decision retrieval in two separate test clones, with each generating its own map.

@rix1337
rix1337 marked this pull request as ready for review October 19, 2026 09:21
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T09:22:31.911565Z 42c3d2c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@rix1337
rix1337 merged commit 9d3179d into main Oct 19, 2026
11 checks 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.

1 participant