Repository navigation
Split AGENTS.md into short agent rules and developer guides - #14892
Open
bhouse-nexthop wants to merge 2 commits into
Open
bhouse-nexthop wants to merge 2 commits into
bhouse-nexthop wants to merge 2 commits into
Conversation
AGENTS.md is loaded into every agent task, so it stays short and points at guides that people use too: building and unit tests, code conventions, writing, pull requests, and a nested KVM test lab. Signed-off-by: Brad House <bhouse@nexthop.ai>
14 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14892 +/- ##
============================================
+ Coverage 3.86% 20.92% +17.06%
- Complexity 0 21149 +21149
============================================
Files 494 6057 +5563
Lines 42888 549556 +506668
Branches 8141 73477 +65336
============================================
+ Hits 1657 115019 +113362
- Misses 40999 421086 +380087
- Partials 232 13451 +13219
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…, refactor exception Signed-off-by: Brad House <bhouse@nexthop.ai>
This branch has not been deployed
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.
Description
An alternative layout for the guidance in #14872. Most of what an agent needs to know also helps people, so it lives in developer guides, and
AGENTS.mdstays a short map. Agents loadAGENTS.mdon every task, so every line in it costs context.AGENTS.mddocs/development/building.mdINSTALL.md,ui/README.md,PRE_COMMIT.mdandtools/docker/README.mdfor the restdocs/development/coding-conventions.mdConfigKeysettings, logging, unit testsdocs/development/writing.mddocs/development/pull-requests.mddocs/development/test-lab.mdCONTRIBUTING.mddocs/developmentChanges from #14872's content:
get, notis, for boolean getters". The VOs useisfar more often (about 230 to 51).rebase --ontoinstead of cherry-pick, and "agents never commit". Agents now confirm with the person they work for before pushing or posting.INSTALL.md).The AI-assisted contribution policy stays in #14848; these files link to
CONTRIBUTING.mdfor it.Types of changes
Documentation only.
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
pre-commit runon every changed file: markdownlint, codespell, license headers, gitleaks.main: the view re-creation inDatabaseUpgradeChecker, theengine/schemadownloads, the simulator steps in.github/workflows/ci.yml.test-lab.mddescribes a lab we have been running for PR testing over the last few weeks, with our addresses and names replaced by examples.