agentbbs/internal/files
Anthony Ettinger d19c5c4c3e files: seed a default README.txt into every member's public area
ensureUserPub only ran os.MkdirAll, so a freshly-provisioned /public
(and thus ~<name>/public on the web) came up empty — only ~chovy had a
README because it was uploaded by hand. Embed that help text as a
default and write it whenever the area has no README.txt.

ensureUserPub is hit on SFTP connect (fs.go) and when the web host
materializes ~<name>/public (AnonRoot), so this self-heals every
existing empty member the next time they connect or their page is
viewed — no manual backfill. A member's own README is never clobbered.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 02:47:27 +00:00
..
admin.go feat(files): SFTP member storage — private workspaces + shared public area + mgmt TUI 2026-06-23 09:35:04 +00:00
backend.go files: seed a default README.txt into every member's public area 2026-07-01 02:47:27 +00:00
default_readme.txt files: seed a default README.txt into every member's public area 2026-07-01 02:47:27 +00:00
e2e_test.go files: per-user public at ~name/public; home = member directory 2026-06-26 01:21:00 +00:00
files_test.go files: seed a default README.txt into every member's public area 2026-07-01 02:47:27 +00:00
fs.go files: /me and /public are two separate per-user areas 2026-06-26 01:36:43 +00:00
server.go feat(files): SFTP member storage — private workspaces + shared public area + mgmt TUI 2026-06-23 09:35:04 +00:00
tui.go feat(files): SFTP member storage — private workspaces + shared public area + mgmt TUI 2026-06-23 09:35:04 +00:00
web.go files: /me and /public are two separate per-user areas 2026-06-26 01:36:43 +00:00
web_test.go files: seed a default README.txt into every member's public area 2026-07-01 02:47:27 +00:00