Repository navigation
docs(errors): lead every code with what happened and what to do - #407
Merged
Merged
Conversation
…ocol detail last Each entry now says what happened in plain words, then 'What to do' (was 'Fix:'). Consensus codes, gate names and document types move from the lead sentences of E307, E308, E309, E510, E601, E604 and E702 to a closing 'Protocol detail' line. E103, E104 and E803 gain a 'What to do'. The retired E602/E605 and E504 drop internal ids, E502/E606/E703 drop field and fold jargon, and the intro says how an entry reads. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 41 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…04 and E601 protocol details, and plainer key and storage entries Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
PastaPastaPasta
added a commit
that referenced
this pull request
Oct 7, 2026
Resolve docs/errors.md and docs/guides/collaborating.md in master's new structure (#407 "What to do" entries, #404 "say who enforces a rule"): E306, E311, E312 and E313 keep this PR's content under "What to do", E311 leads with "You're a member, but no key has been shared with you yet" and points at Repair or `dg repo keys repair`. #397 is merged, so the PENDING #397 markers go; PENDING #400 and 1D notes stay. audiences.md's error entries use "What to do" and name Forge apps rather than clients. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.
What
docs/errors.mdis the "more:" link on everydgandgit-remote-dasherror. Every entry now starts the same way:Specific changes:
ownerRefersTo), document types (repoKey,packManifest) and the late-content rule's 240 blocks move to Protocol detail.E6xx"write refused: permissions, conflicts or Platform rules", since some of those codes (E606, E607, E608) are Forge's own refusals.Codes, headings and anchors are unchanged, so every
more:link still lands on its entry.Why
The roadmap's voice epic calls for this restructure (agent-isms R13). The first sentence of an entry is what someone lands on from an error, and for E601, the most common one, it read "40120 on path
$ownerId, theownerRefersTogate". It now reads "Your identity doesn't have the role this write needs: you aren't a member with write access, or your role can't make this kind of change."How tested
cargo test -p forge-core catalogue_codes_are_unique_and_documentedpasses: every catalogued code still has its## Exxxsection, and nothing else is documented.E6xxtable row; which part of E604's message names what; and E601/E604 protocol details missingasMember,asMaintainer, 40127 and 10422. All are fixed in the second commit, along with its jargon and wording points.Limits
dg pr revertand the branch-delete warning) will be written in this format when they merge.🤖 Generated with Claude Code