Repository navigation
docs(agents): routing-maintenance guide for promoting/demoting native capabilities - #126
Merged
Merged
Conversation
… capabilities Adds agents/docs/routing-maintenance.md: the contributor procedure that keeps polylinker routing in step with the native engine. Covers where routing lives, the promote-a-capability procedure (prove before promote, flip tests, flip CI route expectations, regenerate claims), the demotion procedure for native bugs, the decision tree for classifying a new flag (never route to an engine whose option table says "ignored for compatibility"), adding an engine behind the capability table, and the stderr policy: rustc's linker_messages lint turns any linker stderr on a successful link into a warning (-W) or build error (-D), so routing is surfaced via RELD_INVOCATION_LOG, the output .comment section, and RELD_LOG_ENGINE only. Cross-links from AGENTS.md and agents/docs/polylinker.md; corrects the polylinker "observable" non-negotiable to say not-on-stderr-by-default. Refs #123. Co-Authored-By: Claude Fable 5.1 <[email protected]>
9 of 31 tasks
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
Adds
agents/docs/routing-maintenance.mdand links it fromAGENTS.mdandagents/docs/polylinker.md. Docs only.It answers, for agents working on the native engine:
Requires(lld)route immediately, never a warning or silent-ignore entry.linker_messageslint is allow-by-default,-Wmakes every linker stderr byte a warning,-Dmakes it a build error. So: never write to stderr on a successful link withoutRELD_LOG_ENGINE; useRELD_INVOCATION_LOG, the output.commentsection, and (per Polylinker no-gaps gate: classify every flag, route by target not host, prove coverage before reld becomes soldr's default #123)RELD_REQUIRE_ENGINEin CI.args,bridge,elf*,layout*, or the-ztable.Refs #123.
🤖 Generated with Claude Code