AletheiaFact / AletheiaFact/aletheia

B2B-1 · Close public leak surfaces (sitemap, search, home, stats)

Open
#2,534 0 comments 0 reactions 0 assignees View on GitHub
backlog server
Dominant language
TypeScript
Stars
55
Forks
20
Avg merge
2d 6h
Merged PRs (30d)
2

Description

Part of the B2B epic (Fase 1 · item 1.1a of `Escopo_B2B_Levantamento_Construcao.md`). **This is the pilot blocker**: without it, the sitemap alone publishes private-namespace content to Google.

## What
Ensure no public surface exposes content from non-`main` namespaces.

- [ ] `server/sitemap/sitemap.service.ts:30-64` — global catalog dump, no namespace filter (**worst offender**)
- [ ] `server/search/search.controller.ts:62-71,183-187` — personality search without namespace scoping
- [ ] `server/home/home.controller.ts:79-90` — global personalities/debates on the public home
- [ ] `server/stats/stats.service.ts:26-29` — global counts (indirect-signal leak)

## Notes
- Reuse the existing pattern: `name-space.guard` + `util.ts:49`.
- Indirect signals count as leaks: public counts/aggregates must not reveal that a private check *exists* (commons model — personalities stay global).

**Effort:** ~1 SP · **Depends on:** — · **Blocks:** design-partner pilots

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.