Development record
The memory chapter gives exit 2 for a refusal by the gate (.abcd/development/brief/04-surfaces/37-memory.md:98), its gate section lists a degraded scanner and an unreadable private-names store among the refusals, and commands/memory.md:125 says every refusal exits 2. Both of those refuse the note, write nothing and exit 1, because only memnote.GateError and the named field and record errors map to 2 (internal/surface/cli/memory.go:143-147). A banlist match and a scanner span do exit 2.
issueopenminoriss-2611040555330992
The memory chapter gives exit 2 for a refusal by the gate (.abcd/development/brief/04-surfaces/37-memory.md:98), its gate section lists a degraded scanner and an unreadable private-names store among the refusals, and commands/memory.md:125 says every refusal exits 2. Both of those refuse the note, write nothing and exit 1, because only memnote.GateError and the named field and record errors map to 2 (internal/surface/cli/memory.go:143-147). A banlist match and a scanner span do exit 2.
Frontmatter
| id | iss-2611040555330992 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2611040555330992-the-memory-chapter-gives-exit-2-for-a.md
open on GitHub ↗ · commit history ↗