Skip to content

feat!: drop the app read, now that frostread is retired - #51

Merged
bketelsen merged 2 commits into
mainfrom
irulan/retire-frostread
Nov 15, 2026
Merged

bketelsen merged 2 commits into
mainfrom
irulan/retire-frostread

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

frostread, the feed reader (lodge app read), is retired on 2026-11-15: a general feed reader covers its use. Its service on lodge's host is stopped and lodge no longer lists read. Porter drops the app (ADR-0008, which supersedes ADR-0007):

  • internal/config/config.go: the default apps are notes and mail.
  • internal/tools/classify.go: the read entry of known, the read-only allow-list readOnlyApps and the /read/item/<id> card rule are gone. Every app is now marked by known or by its annotations; the send/post rule (ADR-0004) is unchanged.
  • internal/agent/prompt.go: the system prompt no longer names Read, feeds or /read/item/<id>.
  • Docs: ADR-0008 (new), ADR-0007's status, ADR-0003's back-link, the README, AGENTS.md, SECURITY.md, the design overview, the routines spec's example brief (no Reading section), and the roadmap (Phase 5 retired; a Deployments row for v0.3.0 on lodge's host, 2026-11-15, where read left /etc/porter/porter.json).

Risk tier

Risk tier: 3 — risk:high. Matched paths:

  • internal/tools/classify.go (L1, auth: what each tool may do). Safe: the change removes the special case of 1 app that no longer exists. For notes and mail the classification is unchanged (their known entries and the annotation fallback are the same code). A tool of an app id read that someone still configures is marked like any unknown app's tool: Read only with a read-only annotation, else Change, which routines never get and chat runs only after an approval card. The send/post name rule still makes such tools Never.
  • internal/config/config.go (L1, secrets and credentials). Safe: only the default apps list changes; token reading, format checks and modes are untouched. lodge's host lists its apps explicitly (notes, mail).
  • .github/risk-paths.json (L2, governance). Safe: only the why text of the internal/tools glob drops "frostread read-only"; no glob or level changes.

Docs housekeeping

  • New docs started from their category's TEMPLATE.md (ADR-0008)
  • Every new doc indexed in docs/README.md
  • Cross-links added in both directions (ADR-0008 ↔ ADR-0007, ADR-0003, design, routines spec, roadmap)
  • New significant decision recorded as an ADR first, in this PR

Verification

  • make check green (host)
  • make race green
  • make web-check not run: no file under web/ changes, and no nsl machine on this host. CI runs it.
  • Revert test: in a scratch worktree at the head, git checkout HEAD~1 -- internal/config/config.go internal/tools/classify.go internal/agent/prompt.go, then go test ./internal/config/ ./internal/tools/ ./internal/agent/. Failing: TestDefaultsAndValidation, TestClassifyByAnnotationsOnly (Classify(read, save_url) without read-only = 5, want Change), TestResultURL (resultURL(read, read_item, {"id":7}) = "/read/item/7", want ""), TestTheSystemPromptCoversTheApps (still says "/read/item/", "feeds", "saved articles", "in Read"). The scratch worktree is removed.

frostread, the feed reader (lodge app read), is retired on 2026-11-15:
a general feed reader covers its use. Porter's default apps are notes
and mail; the read entry of known, the read-only allow-list, the
/read/item/<id> card link and the prompt's lines about Read are gone,
so no line of code names the app (ADR-0008, which supersedes ADR-0007).
The roadmap records v0.3.0 on lodge's host.
@github-actions github-actions Bot added level:L1 Read every line risk:high Touches a path in .github/risk-paths.json labels Nov 15, 2026
The cross-review of porter#51 found an edit to an Accepted ADR's
References. AGENTS.md now says that a supersession changes only the old
ADR's Status line, and a correction record keeps the lesson.
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review (core cross-review policy), reviewer openai/gpt-6.1-sol, coder deepseek/deepseek-flash (primary) with small edits by anthropic/claude-opus-5-5.

  • Initial review at b6bfeacb73502b095bf3900451117f44c90d57e9 (base 467a0af58f8acf3a24b687ee1ab961dc4a1ac63d): Not ready.
    1. Medium, blocking: docs/adr/0003-porter-is-a-lodge-app-that-owns-no-data.md:81 edited an Accepted ADR's References. Fixed in dc534cd: ADR-0003 equals the base again. Guard: an AGENTS.md rule that a supersession changes only the old ADR's Status line; record .memory/corrections/2026-11-15-pr-51-accepted-adrs-stay-unchanged.json.
    2. Medium, not blocking, existing behavior for every app: web/src/cards.ts:98-106,116 renders an external HTTPS card URL without showing its host (ADR-0004's "links show their real destination"). Not changed here; a follow-up issue (show the host of an external card link or restrict cards to lodge URLs, with card-rendering tests) is drafted for the maintainer.
    3. Low, not blocking: ADR-0008 reversed the ADR-0003/0007 relation. Fixed in dc534cd.
  • Re-review 1 at dc534cd55bc9c1330f1025f45bc45ec5e34a0ae6: Ready. Blocking: none.

Checks at the head: make check green; make race green at b6bfeac (the delta is docs and a record only). Revert test: see the PR body.

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 15, 2026
@bketelsen
bketelsen merged commit 301c35f into main Nov 15, 2026
7 checks passed
@bketelsen
bketelsen deleted the irulan/retire-frostread branch November 15, 2026 03:20
bketelsen pushed a commit to frostyard/frostyard-org that referenced this pull request Nov 15, 2026
* docs: remove the frostread guides, now that frostread is retired

frostread, the feed reader that ran behind lodge as Read, is retired
(frostyard/lodge#80, frostyard/porter#51). Its saved articles stay as
notes in Frostnotes.

- Remove /docs/apps/frostread/ and /docs/sysexts/readd/, their sidebar
  entries, their inventory rows and the readd catalog label.
- Redirect both routes (301): the frostread guide to lodge's page, which
  states the retirement; the readd guide to the manage page, which has
  the removal steps.
- lodge, Porter, Frostnotes, get-software, the docs landing page and the
  lodge and porterd extension pages drop frostread, Read and readd.
  get-software says that the Flatpak remote still lists frostread.
- check-site drops the frostread and readd checks, and checks the
  redirects, lodge's retirement sentence and that no page links the
  removed guides.

src/data/extensions.json is generated and not changed here: readd stays
in the catalog until the published extension index drops it.

* docs: remove readd with Updex on a Frostyard image; the Flatpak remote has 3 apps

The lodge page told the reader to remove frostread's package. On a
Frostyard image readd is a system extension, so Updex removes it:
sudo updex features disable readd --now --force, then a reboot. A
package removal applies only to a host that installed the .deb by hand.

flatpak-index#20 drops frostread from the Frostyard Flatpak remote, so
get-software names its 3 apps.

check-site guards both, and the correction record
.memory/corrections/2026-11-15-pr-127-readd-removal-with-updex.json
records the lesson.

---------

Co-authored-by: frostyard-machines <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L1 Read every line ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants