feat(agents): add remote and member context rules #150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/member-context-remotes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
In an umbrella, an agent saw only each member's name, path, and role,
and learned of a missing tool only when a build failed.
deliverandforgealso assumedorigin, so in a clone holding a fork beside itsupstream, a push could be rejected or a pull request opened on the
wrong repository.
What changed
the tools it needs (
<MEMBER_SUMMARY>in the template); the memberline form and its checks stay as they were.
building or testing there they check its tools are present, getting a
missing one only as an install is allowed.
remotes and, with more than one, ask which takes each.
land.mdsets the upstream on the first push and names the remote on later
folds, whatever
remote.pushDefaultsays.forgeopens a pull request on the chosen remote. When a pullrequest it opens goes from a fork into its upstream, it hands over
the text to paste; cross-repository heads are a non-goal.
How to verify
bash tests/agent-config/real-source.sh: the fold push test, nowrun with a second remote as push default, passes; it fails on main.
bash tests/agent-config/template-state.sh: passes; on main'svalidator it fails on
<MEMBER_SUMMARY>.Run on the tip, all passing:
bash tests/verify-agent-config.sh(257),
bash tests/check-work-folder.sh(46),.agents/hooks/shellcheck.sh repo,prettier --check '**/*.md',scripts/verify-agent-config.sh,git diff --check main. Not run: thebehavioral evals.
06e0031aa5tof8329be671