mirror of
https://github.com/bitbaum/biaslens.git
synced 2026-12-06 07:18:53 +01:00
BiasLens is langkit's first user. The language list and names, the browser guess and the Swiss respelling come from the package; languages.ts keeps only the instruction each language gives the model, and the four copy tables share langkit's spellTree instead of four hand-written walks. Every entry of all four tables in en/de/de-CH/fr says exactly what it said before (compared before and after). The report language a reader picks is kept in localStorage with their other settings and comes back on the next visit (checked in a browser: a Swiss browser starts on de-CH; French chosen, reloaded, stays French). Not a cookie: /privacy promises sign-in cookies only. copy-parity.test.ts checks every table with langkit: same entries and arguments in en/de/fr, no ß or „…“ in de-CH. No hreflang: BiasLens has one address per page. Claude-Session: https://claude.ai/code/session_019MDtmsTRGc34xnG6koVuAY Co-authored-by: Claude <noreply@anthropic.com>
225 lines
6.8 KiB
JSON
225 lines
6.8 KiB
JSON
{
|
|
"blocks": {
|
|
"shell": {
|
|
"package": "@bitbaum/sitekit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/app/_components/Chrome.tsx",
|
|
"symbols": ["SiteMasthead", "SiteTabBar", "SiteIcon"]
|
|
},
|
|
{
|
|
"file": "src/app/_components/Footer.tsx",
|
|
"symbols": ["SharedFooter"]
|
|
},
|
|
{
|
|
"file": "src/app/page.tsx",
|
|
"symbols": ["HeroSection"]
|
|
},
|
|
{
|
|
"file": "src/app/workspace/page.tsx",
|
|
"symbols": ["HeroSection"]
|
|
}
|
|
],
|
|
"notes": "SiteKit owns the grouped menu markup, responsive layout and dismissal. Chrome supplies destinations and descriptions; the mobile tab bar retains frequent task shortcuts. The masthead tabBar shortcut is intentionally not enabled: the grouped menu carries destinations beyond the five phone shortcuts."
|
|
},
|
|
"identity": {
|
|
"package": "@bitbaum/accountkit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/lib/auth.ts",
|
|
"symbols": ["createAuthRuntime"]
|
|
},
|
|
{
|
|
"file": "src/app/account/AccountForms.tsx",
|
|
"symbols": ["SignInForm", "SignUpForm", "AccountPanel"]
|
|
},
|
|
{
|
|
"file": "src/app/_components/AccountControl.tsx",
|
|
"symbols": ["AccountMenu"]
|
|
}
|
|
]
|
|
},
|
|
"publishing": {
|
|
"package": "@bitbaum/bip-kit",
|
|
"surfaces": [
|
|
"src/app/roadmap/page.tsx",
|
|
"src/app/changelog/page.tsx",
|
|
"src/app/blog/page.tsx"
|
|
],
|
|
"bindings": [
|
|
{
|
|
"file": "src/app/_components/DevelopmentRecords.tsx",
|
|
"symbols": ["DevelopmentPage", "loadDevelopmentProfile"]
|
|
},
|
|
{
|
|
"file": "src/app/blog/[slug]/page.tsx",
|
|
"symbols": ["ArticleBody", "ReadingProgress"]
|
|
}
|
|
]
|
|
},
|
|
"design": {
|
|
"package": "@bitbaum/design-tokens",
|
|
"bindings": [
|
|
{
|
|
"file": "src/app/layout.tsx"
|
|
}
|
|
]
|
|
},
|
|
"chat": {
|
|
"package": "@bitbaum/chatkit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/app/layout.tsx"
|
|
},
|
|
{
|
|
"file": "src/app/analyze/ArticleConversation.tsx",
|
|
"symbols": ["ChatThread", "ChatStarters", "Composer"]
|
|
},
|
|
{
|
|
"file": "src/app/explore/NotebookAssistant.tsx",
|
|
"symbols": ["Composer"]
|
|
},
|
|
{
|
|
"file": "src/app/articles/[id]/Comments.tsx",
|
|
"symbols": ["CommentThread"]
|
|
},
|
|
{
|
|
"file": "src/app/_components/replies/ReplyComposer.tsx",
|
|
"symbols": ["DictationField"]
|
|
},
|
|
{
|
|
"file": "src/app/analyze/AnalyzeWorkspace.tsx",
|
|
"symbols": ["DictationField"]
|
|
},
|
|
{
|
|
"file": "src/app/explore/NotebookFields.tsx",
|
|
"symbols": ["DictationField"]
|
|
},
|
|
{
|
|
"file": "src/app/explore/SourceAdder.tsx",
|
|
"symbols": ["DictationField"]
|
|
},
|
|
{
|
|
"file": "src/app/investigations/InvestigationEditor.tsx",
|
|
"symbols": ["DictationField"]
|
|
}
|
|
]
|
|
},
|
|
"ai": {
|
|
"package": "@bitbaum/ai-kit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/app/api/analyze/route.ts",
|
|
"symbols": ["complete", "freeChain", "usableChain"]
|
|
},
|
|
{
|
|
"file": "src/lib/analysis/source.ts",
|
|
"symbols": ["extractReadableText", "validateFetchTarget"]
|
|
},
|
|
{
|
|
"file": "src/app/api/article-chat/route.ts",
|
|
"symbols": ["complete"]
|
|
},
|
|
{
|
|
"file": "src/app/api/transcribe/route.ts",
|
|
"symbols": ["transcribe", "speechChain", "speechConfigured", "looksLikeSilence"]
|
|
},
|
|
{
|
|
"file": "src/app/api/ai/form-assist/route.ts",
|
|
"symbols": ["complete", "freeChain", "usableChain"]
|
|
}
|
|
]
|
|
},
|
|
"mail": {
|
|
"package": "@bitbaum/mail-kit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/lib/auth.ts",
|
|
"symbols": ["createAuthMailer"],
|
|
"via": "@bitbaum/accountkit"
|
|
}
|
|
]
|
|
},
|
|
"limits": {
|
|
"package": "@bitbaum/limitkit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/app/api/analyze/route.ts",
|
|
"symbols": ["slidingWindow", "clientIp"]
|
|
},
|
|
{
|
|
"file": "src/app/api/article-chat/route.ts",
|
|
"symbols": ["slidingWindow", "clientIp"]
|
|
}
|
|
]
|
|
},
|
|
"forms": {
|
|
"package": "@bitbaum/ai-forms",
|
|
"bindings": [
|
|
{
|
|
"file": "src/lib/config/ai-forms.ts",
|
|
"symbols": ["defineFields"]
|
|
},
|
|
{
|
|
"file": "src/app/api/ai/form-assist/route.ts",
|
|
"symbols": ["createFormAssistHandler"]
|
|
},
|
|
{
|
|
"file": "src/app/explore/InquiryDesk.tsx",
|
|
"symbols": ["useAiForm"]
|
|
}
|
|
]
|
|
},
|
|
"charts": {
|
|
"package": "@bitbaum/chartkit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/app/investigations/EvidenceCharts.tsx",
|
|
"symbols": ["BarChart", "LineChart", "ShareBars"]
|
|
}
|
|
]
|
|
},
|
|
"writing": {
|
|
"package": "@bitbaum/writingkit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/app/_components/writing/useWritingOperation.ts",
|
|
"symbols": ["WritingSession"]
|
|
}
|
|
],
|
|
"notes": "WritingKit owns operation reservation, cancellation and identity/revision safety for the existing composer assistance and source rewrite workspace. BiasLens owns editor fields, safe Undo, device/account drafts, transport, publishing and evidence/simulation labels. Versioned investigation writes retain their server capability and optimistic revision checks."
|
|
},
|
|
"languages": {
|
|
"package": "@bitbaum/langkit",
|
|
"bindings": [
|
|
{
|
|
"file": "src/lib/config/languages.ts",
|
|
"symbols": ["defineLanguages", "pickLocale"]
|
|
},
|
|
{
|
|
"file": "src/lib/config/rewrite-copy.ts",
|
|
"symbols": ["spellTree"]
|
|
},
|
|
{
|
|
"file": "src/lib/config/copy-parity.test.ts",
|
|
"symbols": ["checkMessages", "toIcu"]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"productOwned": {
|
|
"investigation": "Article reasoning, evidence/provenance contracts, research notebook and transcript metrics are BiasLens domain behavior; no fleet package implements these domain decisions.",
|
|
"theme": "src/app/theme.css is the single product palette/type/spacing adapter, loaded after package defaults. Shared renderers retain ownership of chrome, controls, auth and publishing. docs/design-contract.md governs acceptance.",
|
|
"entry": "The workspace tools and illustrative question examples configure BiasLens investigation journeys; sitekit continues to own shared chrome and hero rendering."
|
|
},
|
|
"experience": {
|
|
"ceiling": {
|
|
"bareTextareas": 0,
|
|
"localChrome": 0,
|
|
"localComposers": 0,
|
|
"localComments": 0,
|
|
"localArticleEditors": 0
|
|
}
|
|
}
|
|
}
|