Development record
scribe ingest lists a run's reading items through a directory whose own link status it never judges: runItems in internal/core/scribe/ingest.go refuses a symlinked .abcd, .abcd/work, issues root or status directory through capture.RefuseRedirectedLedger, but a symlinked .abcd/work/issues/readings or run directory is followed by os.ReadDir, so the listing is drawn from outside the ledger (probed by review2-scribe: nil) where scribe assemble refuses the same link. The readings directory and the run directory are to be Lstat-refused by the primitive capture's own ledger walk uses.
scribe ingest lists a run's reading items through a directory whose own link status it never judges: runItems in internal/core/scribe/ingest.go refuses a symlinked .abcd, .abcd/work, issues root or status directory through capture.RefuseRedirectedLedger, but a symlinked .abcd/work/issues/readings or run directory is followed by os.ReadDir, so the listing is drawn from outside the ledger (probed by review2-scribe: nil) where scribe assemble refuses the same link. The readings directory and the run directory are to be Lstat-refused by the primitive capture's own ledger walk uses.
Grounds
- pursued: TestScribeIngestRefusesASymlinkedReadingsOrRunDir plants a resolving link at each directory after assembly and expects ErrSymlink; an ingest that lists through either link would show it wrong
Frontmatter
| id | iss-2609261205185463 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609261205185463-scribe-ingest-lists-a-run-s-reading.md
open on GitHub ↗ · commit history ↗