Skip to content

fix(http): exclude author-private entries from the shared timeline - #205

Merged
itscheems merged 2 commits into
mainfrom
codex/public-home-timeline
Nov 4, 2026
Merged

itscheems merged 2 commits into
mainfrom
codex/public-home-timeline

Conversation

@itscheems

@itscheems itscheems commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Unscoped timeline reads now apply public visibility before pagination, excluding private originals and repost projections even when their author is signed in. Client-side post-change reconciliation follows the same boundary. Author-scoped feeds, personal archives and direct author access retain private visibility. Direct CLI listings use the same public default; --author-id retains authorized access to the author's private publications.

Validation:

  • mise exec -- node scripts/dev/test-go-group.mjs lifecycle passed the complete lifecycle race group.
  • mise exec -- go test ./internal/transport/http/gin -count=1, mise exec -- go vet ./internal/transport/cli ./internal/transport/http/gin, and mise exec -- golangci-lint run ./internal/transport/cli/... passed.
  • mise exec -- pnpm --dir web test src/features/timeline/TimelinePage.test.tsx src/features/timeline/timelineItems.test.ts src/features/profile/profileTimeline.test.ts passed all 30 tests.
  • mise exec -- pnpm --dir web build, focused ESLint, Prettier and diff checks passed.
  • A real-browser check confirmed that the shared timeline omits private entries while author-scoped and personal archive reads retain them.

Visibility coverage compares direct and API data for public and author-scoped listings and verifies visitor filtering. The help snapshot is updated only for the revised listing description.

Full local CI and release checks were omitted because the lifecycle, transport and timeline suites cover this visibility boundary. There are no storage, schema or API query-shape changes.

Closes #202

@itscheems itscheems added kind/bug Bug fixes moment Moment project codex Created by Codex labels Nov 3, 2026
@itscheems itscheems self-assigned this Nov 3, 2026
Use public visibility for unscoped direct listings and preserve authorized
private access for author-scoped reads. Extend transport parity and visitor
coverage, and document the listing scopes in help and client guidance.

Refs #202
@itscheems
itscheems merged commit 2c34d23 into main Nov 4, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex Created by Codex kind/bug Bug fixes moment Moment project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(http): authenticated timeline reads include author-private entries

1 participant