Graft setup - #28
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The new Graft documentation and ignore rules are internally inconsistent (and reference paths not present in-tree), so the intended workflow needs to be clarified and aligned before merging.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Sets up initial repository guidance and ignore rules intended to support a “Graft” context-graph workflow for navigating the codebase.
Changes:
- Adds a new “Graft — repo context graph” section to
AGENTS.md. - Introduces a
.ignorefile intended to influence ripgrep’s search behavior aroundgraft/. - Updates
.gitignoreto ignore various AI/tooling artifacts and thegraft/directory.
File summaries
| File | Description |
|---|---|
| AGENTS.md | Documents a new Graft-based workflow for repo context lookup. |
| .ignore | Adds ripgrep/tooling ignore overrides for graft/ and its caches. |
| .gitignore | Ignores additional local tooling artifacts and graft/ output. |
Review details
- Files reviewed: 2/3 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+1
to
+5
| # graft's cards are gitignored but should stay greppable: ripgrep reads | ||
| # .ignore before .gitignore, so this re-admits the tree to search only. | ||
| !graft/ | ||
| graft/.cache/ | ||
| graft/.graph/ |
Comment on lines
+277
to
+279
| This repo is indexed in `graft/`: small linked markdown nodes that explain each | ||
| system and carry exact file:line spans, kept in sync with the code through git. | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brief description of what this PR does and why.
Changes
Checklist
All contributions
python -m pytest tests/orpytest tests/)sys.path.appendhacks — imports usefrom odyssnet import ...directlyLibrary changes (
odyssnet/)tests/New/modified example scripts (
examples/)set_seed(42)is called as the first line ofmain()examples/for core validations,examples/advanced/for complex tasks)OdyssNetTrainer(not a manual training loop)TrainingHistoryto record metrics and callshistory.plot()at the end__file__, not hardcoded