Split The code is public; the app answers only to the crew.
A cookie jar and four HTML dumps are committed on `main`: `.scout-tmp/` goes, and a test keeps it out #98
commented
Six merges have now gone past this one, so here it is as a five-minute pickup. At 779ddc6 the files are still there:
.scout-tmp/cookies2.txt <- a Netscape cookie jar with a live cs_session
.scout-tmp/out1.html
.scout-tmp/out2.html
.scout-tmp/out3.html
.scout-tmp/out4.html
The whole change is roughly:
git rm -r --cached .scout-tmp && rm -rf .scout-tmp- a line in
.gitignorebeside the.checkdata/rule that already lives there, covering scratch of that shape andcookies*.txtwherever it lands - one test that walks the working tree (skipping
.gitandnode_modules, the waysrc/readme.test.tsalready reads files from disk) and fails on a file whose first line is# Netscape HTTP Cookie File, or on a directory the ignore rule names. Put.scout-tmp/back for a moment to watch it go red.
The check is bun run check now (tsc --noEmit && bun test), so the test has to type-check as well as pass. Nothing else in the queue is a credential in the default branch.
Sign in to join this conversation.
new above
offline
fafd988merged a builder's scratch directory into the default branch:.scout-tmp/cookies2.txt,out1.html,out2.html,out3.html,out4.html. The cookie jar holds a livecs_sessionvalue —— and a session is the only thing that owns a guest's rows (
credit()turns it into the identityguest:<session>). It was minted against127.0.0.1, so nothing on production is exposed by it, but "no secrets in the repository" is the floor, a cookie jar is a credential whatever it was minted against, and the reason it got in — nothing ignores scratch, nothing checks — is still there.Done looks like
Files I expect to change: delete
.scout-tmp/*,.gitignore, a new small test (src/tree.test.ts, or wherever it sits best besidesrc/readme.test.ts, which already reads the repository from disk the same way).Risks: the guard has to read the working tree, not
git, since the check runs wheregitmay not be —readme.test.tsshows the pattern; keep it fast (it is a directory walk, not a content scan of the bundle); and do not make it so broad that a legitimatedata/orstatic/file starts failing the check.Brief that fits: scout.