text
stringlengths
3
8.33k
repo
stringclasses
52 values
path
stringlengths
6
141
language
stringclasses
35 values
sha
stringlengths
64
64
chunk_index
int32
0
273
n_tokens
int32
1
896
Category | Component | Disposition | Mitigation Plan | |-----------|----------|-----------|-------------|-----------------| | T-14-04-01 | Spoofing | Evidence gate | mitigate | Check concrete files, exports, requirement tokens, script wiring, docs, and UI source tokens. | | T-14-04-02 | Tampering | Root check command |...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-04-PLAN.md
Markdown
ccd40ab09272b0093f78cafaefb94cde346bb7d28f898f18a430a084f752889a
2
449
--- phase: 14-first-walking-slice-workspace plan: 04 status: completed completed_at: 2026-06-26T21:10:36+02:00 commit: committed requirements: - SLICE-01 - SLICE-02 - SLICE-03 --- # Plan 14-04 Summary ## Completed - Added `check:walking-slice:evidence` and wired it into the root `check` chain after browser evi...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-04-SUMMARY.md
Markdown
c72d6957f7331e4ca7bd3621b40e89b43c8cfcc0b136953c342609fe64b52e5f
0
533
--- phase: 14-first-walking-slice-workspace plan: 05 type: execute wave: 5 depends_on: - 14-04 files_modified: - .planning/phases/14-first-walking-slice-workspace/14-05-SUMMARY.md autonomous: true requirements: - SLICE-01 - SLICE-02 - SLICE-03 user_setup: [] must_haves: truths: - "All focused walking-sl...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-05-PLAN.md
Markdown
a4d28feb404c6ceb1405f3ecfa047edc97c0ac4dfebb91f240971c7113e739b9
0
896
run --config ../../vitest.unit.config.ts src/domain/walking-slice src/workspace-shell.test.ts</automated> <automated>bun run format:check</automated> <automated>bun run lint</automated> <automated>bun run check:walking-slice:evidence</automated> <automated>bun run check:browser-evidence:evidence</automa...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-05-PLAN.md
Markdown
b1cf5f3c650e52ba0b071340e10ac1c684883088d1da6259aa1edbb31a2d9c94
1
864
--- phase: 14-first-walking-slice-workspace plan: 05 status: completed completed_at: 2026-06-26T21:17:45+02:00 commit: committed requirements: - SLICE-01 - SLICE-02 - SLICE-03 --- # Plan 14-05 Summary ## Completed - Ran the focused Phase 14 closure sequence. - Fixed Phase 14 closure defects found by older gate...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-05-SUMMARY.md
Markdown
7e191fc14342efad07279f1a7a7f52adcfbfc6fdff1630ed4a0f1d00c19999c0
0
896
` These are Playwright development artifacts under ignored `test-results/`; they are not product Evidence records. ## Remaining Product Limitations - Phase 14 remains deterministic and narrow. - Repair routing, stale-evidence reruns, full corpus operation, academic artifact generation, multi-worker expansion, provid...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-05-SUMMARY.md
Markdown
4d838c3e0d5b100b9ffd3623a8b82b22d7ba5c8ed75ac72a1e66dbf50d7a9af5
1
115
# Phase 14: First Walking Slice Workspace - Context **Gathered:** 2026-06-26 **Status:** Ready for planning **Smart Discuss Note:** Captured through autonomous smart-discuss with conservative defaults selected. Phase 14 has user-facing and integration-heavy choices, but the user invoked `$gsd-autonomous` and did not r...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-CONTEXT.md
Markdown
ca320e48dde61f81938e83fa5cceb832d2e1d2ab4b925cb0052a2f23fd9b9e0b
0
896
compose a compact read-only run narrative that lets a reviewer inspect what was requested, built, checked, evidenced, and still uncertain. - The workspace should connect sections through stable product vocabulary: ProjectSpec, Retrieval, Task graph, Worker, Generated repository, Sandbox, Verification, Browser evidence,...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-CONTEXT.md
Markdown
84f74cd3e8ed7d2bd416dca6deabb0f0c50f11efbfc566d60e8f4b8663df77ec
1
896
planning/phases/13-browser-smoke-verification-and-visual-evidence/13-VERIFICATION.md` - verified browser evidence surfaces and commands. - `docs/product-runtime-boundary.md`, `docs/durable-state.md`, `docs/task-orchestration.md`, `docs/generated-repository-contract.md`, `docs/software-worker.md`, `docs/sandbox-provider...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-CONTEXT.md
Markdown
0d03bedbf4f67635fae0073646f79e287677f2d2221326c7f0d669a0f6ecd48a
2
896
GSD, host paths, raw internals, forms, buttons, or forbidden operational controls on read-only workspace views. ### Integration Points - Compose a slice-specific run state rather than extending the durable-state fixture with unrelated sample data. - Build a read model or fixture that passes generated repository and br...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-CONTEXT.md
Markdown
67078450f96a658f463c1e2a4510739fc83b4011c3962979c65027c9b1014b80
3
652
--- phase: 14-first-walking-slice-workspace created: 2026-06-26 status: complete research_scope: local integration only broad_external_research: false --- # Phase 14 Research: First Walking Slice Workspace ## Research Boundary The roadmap states: "No broad research; use decisions made in earlier phases and focus on ...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-RESEARCH.md
Markdown
da0988c722a623db0761b21fd69d8eb1e86e70bb1f169d536ef6ea28183634ba
0
896
reviewer expectations concrete. Planning implication: use a tiny timetable or milestone workspace generated-app scenario with browser-visible heading, landmark, and schedule/milestone signals. Do not add broad scheduling features. ### F-06 Verification Should Be Deterministic First Root scripts already include subsy...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-RESEARCH.md
Markdown
55f0a2f82326516f9de2669aa0cf698bed93e4941d94a3b70b069433f6d5edd4
1
749
--- phase: 14-first-walking-slice-workspace verified: 2026-06-28T16:00:00+02:00 status: passed score: 3/3 requirements satisfied verification_type: retrospective-milestone-close --- # Phase 14: First Walking Slice Workspace Verification ## Result Phase 14 passes retrospective milestone-close verification. The phase ...
diplomarbeit-os
.planning/phases/14-first-walking-slice-workspace/14-VERIFICATION.md
Markdown
c934d02ecbe6ed5b34d4baf7091d798ef9c94cf6ee3286917f76a4cbadb01ac9
0
328
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 01 type: execute wave: 1 depends_on: [] files_modified: - apps/studio/src/domain/repair-loop/types.ts - apps/studio/src/domain/repair-loop/fixtures.ts - apps/studio/src/domain/repair-loop/finding-factory.ts - apps/studio/src/domain/repair-loop/routing.t...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-01-PLAN.md
Markdown
21eeb805086e334ce6f264e57a7b2ab5741bde8bfa16caac9dc941710c02a2eb
0
896
verification/types.ts @apps/studio/src/domain/browser-evidence/types.ts @apps/studio/src/domain/walking-slice/fixtures.ts </context> ## Artifacts this plan produces - `apps/studio/src/domain/repair-loop/types.ts` - `apps/studio/src/domain/repair-loop/fixtures.ts` - `apps/studio/src/domain/repair-loop/finding-factory....
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-01-PLAN.md
Markdown
7d36b9cc6966deb7bdbe67cfa54f7798860dd90a4b86f33b02f4ed2cc55f8905
1
896
src/domain/repair-loop/index.ts</files> <behavior> - The module is deterministic, side-effect free, and exports explicit union values for source kinds, owners, severity, route status, attempt status, and escalation reasons. - Route outputs include owner key, task type or subsystem key, affected evidence keys, aff...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-01-PLAN.md
Markdown
d6bee323b34de31717eba960ca68ba3cbc26459d7e3ef7bf44fb49064e00ecab
2
820
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 01 subsystem: repair-loop tags: [repair-loop, findings, routing, escalation, vitest] requires: - phase: 14-first-walking-slice-workspace provides: first walking-slice scenario and workspace evidence baseline provides: - typed repair-loop finding source ...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-01-SUMMARY.md
Markdown
2d3f2775b1d549c4b9c8fac678fb6a570ab21d275df55ca475f954b2f0452800
0
896
15-01 schema-free. Existing durable `findings` and `repairs` records are enough for the first typed repair-loop contract. - Sanitized unsafe diagnostic summaries at finding creation so raw `.env.local`, `.planning`, host paths, and raw artifact references cannot become Finding descriptions. - Used a default two-attempt...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-01-SUMMARY.md
Markdown
6e57c75ff585d497b5b2db23003151150d6900d79e9d26f57b071a0b213cbe9a
1
444
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 02 type: execute wave: 2 depends_on: - 15-01 files_modified: - apps/studio/src/domain/repair-loop/rerun.ts - apps/studio/src/domain/repair-loop/staleness.ts - apps/studio/src/domain/repair-loop/read-model.ts - apps/studio/src/domain/repair-loop/fixtur...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-02-PLAN.md
Markdown
c88dd9a334311ba96ab36a0cfa0555750facc32bdb28974d8d99d09d34e48df4
0
896
src/domain/verification/completion.ts @apps/studio/src/domain/verification/read-model.ts @apps/studio/src/domain/browser-evidence/read-model.ts @apps/studio/src/domain/walking-slice/types.ts @apps/studio/src/domain/walking-slice/fixtures.ts </context> ## Artifacts this plan produces - `apps/studio/src/domain/repair-l...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-02-PLAN.md
Markdown
c8401f7fcabecaedc42c819e2600724067333a2b8f8a5f414f3b7faaebafaf96
1
896
> <behavior> - The rerun planner returns deterministic affected check keys, evidence keys, artifact keys, source dependency keys, and owner keys. - The stale evaluator returns precise stale records with reason codes and affected dependencies instead of a single global stale flag. - The summary projection is saf...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-02-PLAN.md
Markdown
67fc0d7d6516a94ebad086ac833affed7eb005467e9281a612d188470493bfc9
2
710
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 02 subsystem: repair-loop tags: [repair-loop, rerun, stale-evidence, read-model, escalation] requires: - phase: 15-finding-repair-and-stale-evidence-loop provides: Plan 15-01 typed findings and route policy provides: - repair rerun scope planner - rep...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-02-SUMMARY.md
Markdown
41dd840c8cebc63cf453a08936aa625ba3dfea6dd3afcfc1eb5c60d0c96f428a
0
896
/repair-loop/read-model.test.ts` - Failed-to-repaired and stale/escalated summary coverage. ## Decisions Made - Stale invalidation is a pure evaluator in this plan. Repository updates can consume its proposed stale records in later implementation without hiding dependency reasons. - Repair attempts keep historical fa...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-02-SUMMARY.md
Markdown
d769db51d3e4956cc8c8f10d012ba41f28d53edcf002c9fe06c703527659eaf7
1
503
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 03 type: execute wave: 3 depends_on: - 15-02 files_modified: - apps/studio/src/domain/repair-loop/workspace.ts - apps/studio/src/domain/repair-loop/workspace.test.ts - apps/studio/src/domain/repair-loop/index.ts - apps/studio/src/domain/walking-slice/...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-03-PLAN.md
Markdown
6dafdde9e723ea39963b3a714e17332261b09490e6336bb43647d524f8129600
0
896
src/workspace-shell.ts @apps/studio/src/workspace-shell-view.ts @apps/studio/src/workspace-shell.test.ts </context> ## Artifacts this plan produces - `apps/studio/src/domain/repair-loop/workspace.ts` - Repair-loop workspace tests. - Workspace shell model/view updates for read-only repair history. <tasks> <task type...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-03-PLAN.md
Markdown
6a9a1d491c69d0490343c75e2d997afde3bf437958f96c44961f2b84bcf0c643
1
896
model contains non-empty findings, repairs, repair-loop summary items, stale records, current evidence, and escalation. - Historical failed evidence and current repaired evidence are both visible through separate keys. - Current walking-slice completeness remains intact unless a test deliberately mutates repair-loo...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-03-PLAN.md
Markdown
27c6f97d41a83b0ab6e1c86eb4ee2dfe7a02e41507e8440721ec3108c33c13de
2
896
src/domain/repair-loop src/domain/walking-slice src/workspace-shell.test.ts` - `bun run typecheck` </verification> <success_criteria> - The workspace visibly satisfies REPAIR-01 through REPAIR-05. - Repair-loop UI remains read-only and product-record driven. - No raw internals or operational controls leak into the wor...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-03-PLAN.md
Markdown
6de716d750b3e1c2c2c7e0853142a0b69eac902d781fbbe6daa5d3e68e66eecc
3
120
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 03 subsystem: repair-loop tags: [repair-loop, workspace, walking-slice, stale-evidence, ui] requires: - phase: 15-finding-repair-and-stale-evidence-loop provides: Plan 15-02 repair-loop read model and stale evidence evaluator provides: - composed repair...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-03-SUMMARY.md
Markdown
a146c95d701864f0fc9851a3375de4eddb41a831c2c7e1acce21480d6684d2a7
0
896
view.ts` - Read-only repair-loop history panel. - `apps/studio/src/workspace-shell.test.ts` - Shell model and UI assertions for repair-loop history and forbidden controls. - `apps/studio/app/page.tsx` - Default workspace uses the repair-loop-composed model. ## Decisions Made - Repair-loop records are deterministic pr...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-03-SUMMARY.md
Markdown
e9a52237eb5f97cebcf773c408b9d60a424953a7ae6ae48d128df5944697df96
1
896
biome lint apps/studio/app/page.tsx apps/studio/src/domain/repair-loop/index.ts apps/studio/src/domain/repair-loop/workspace.ts apps/studio/src/domain/repair-loop/workspace.test.ts apps/studio/src/workspace-shell.ts apps/studio/src/workspace-shell-view.ts apps/studio/src/workspace-shell.test.ts` - passed. - Browser ren...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-03-SUMMARY.md
Markdown
b1215fe94d7572ebe6eb7e19a3299111f1132c417b57ac466ab8adf0556cb54f
2
217
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 04 type: execute wave: 4 depends_on: - 15-03 files_modified: - docs/repair-loop.md - docs/walking-slice-workspace.md - scripts/check-repair-loop-evidence.mjs - scripts/check-docs.mjs - package.json - tests/e2e/baseline.spec.ts - apps/studio/src/...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-04-PLAN.md
Markdown
ed68535d6199bbc6c5d003574440ae0029d9f10f87d27b8dad284cba7c4d4e31
0
896
Task 1: Document the repair-loop product contract</name> <read_first> - docs/deterministic-verification.md - docs/browser-evidence.md - docs/walking-slice-workspace.md - docs/product-runtime-boundary.md </read_first> <files>docs/repair-loop.md, docs/walking-slice-workspace.md, scripts/check-docs.mjs</file...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-04-PLAN.md
Markdown
c1eac177da597cba8ebf35dcbfb709dda806ecd212eaff63abb8287fe6278d3d
1
896
reason are visible. - Desktop and mobile screenshots are written under `apps/studio/test-results/` as development evidence only. - Browser test rejects raw internals, forbidden operational controls, and unsafe product-boundary markers. </behavior> <action>Extend the existing workspace baseline E2E test rather t...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-04-PLAN.md
Markdown
b4f13c8ddbfa8034768026c6eaaac29c7c4a341ebb4f068d5884cb74e485d2a9
2
657
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 04 subsystem: repair-loop tags: [repair-loop, docs, evidence-gate, e2e, workspace] requires: - phase: 15-finding-repair-and-stale-evidence-loop provides: Plan 15-03 read-only repair-loop workspace state provides: - repair-loop maintainer contract - de...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-04-SUMMARY.md
Markdown
247cc062b55f54c1de4916b1bf7ffee2d7e0b00cfa6ca30feeeb6f192a9ba83a
0
896
.mjs` - Phase 15-composed default route check. - `tests/e2e/baseline.spec.ts` - Desktop/mobile repair-loop assertions and screenshots. - `README.md`, `apps/studio/README.md` - Phase 15 docs and command references. - `docs/walking-slice-workspace.md`, `docs/product-runtime-boundary.md` - Repair-loop handoff and product ...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-04-SUMMARY.md
Markdown
9979cd8f1008a9ee492ae4f6697b5d9bdd463a4d8c4314d61e03f04aa0fc0c8a
1
872
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 05 type: execute wave: 5 depends_on: - 15-04 files_modified: - .planning/phases/15-finding-repair-and-stale-evidence-loop/15-05-SUMMARY.md autonomous: true requirements: - REPAIR-01 - REPAIR-02 - REPAIR-03 - REPAIR-04 - REPAIR-05 user_setup: [] mu...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-05-PLAN.md
Markdown
fd1a8b7d635a274f71fa5616b650c2d1ec173ac24c42ed47755bef23fe8c6272
0
896
If an unrelated pre-existing dirty file causes a failure, document the command, failure summary, and unrelated file path without reverting or modifying unrelated work. Do not weaken tests, validators, evidence gates, docs checks, type checks, browser assertions, or secret checks.</action> <verify> <automated>bun ...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-05-PLAN.md
Markdown
2a4e944157a0b7d49fbe9885dd49466ee52df32acdb254ae4a6303c3656f09fe
1
877
--- phase: 15-finding-repair-and-stale-evidence-loop plan: 05 subsystem: repair-loop tags: [closure, repair-loop, verification, e2e, evidence-gates] requires: - phase: 15-finding-repair-and-stale-evidence-loop provides: Plans 15-01 through 15-04 implementation, docs, gates, and browser review provides: - final ...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-05-SUMMARY.md
Markdown
883a81f0b5ad376449119db8b62415ac2a92cc62bbe4698a5afba0450a39d17e
0
896
test.ts`, `workspace.test.ts` | focused repair-loop unit suite, `bun run check:repair-loop:evidence`, E2E `retry-budget-exhausted` assertions | ## Command Evidence - `bun --cwd apps/studio vitest run --config ../../vitest.unit.config.ts src/domain/repair-loop src/domain/walking-slice src/workspace-shell.test.ts` - pa...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-05-SUMMARY.md
Markdown
b923050b1ddeae43657610cdf69b62fb1d1bca25876e5c09ab711def6d12d493
1
896
biome.json`; `bun run lint` exits 0. ## User Setup Required None - no external service configuration required. ## Phase Status Phase 15 is ready for code review, verifier review, and phase-level audit. --- *Phase: 15-finding-repair-and-stale-evidence-loop* *Completed: 2026-06-26*
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-05-SUMMARY.md
Markdown
daecced6f84d2add475831b2adc068b2230db702a88441296ef517071c229ec7
2
76
# Phase 15: Finding, Repair, and Stale Evidence Loop - Context **Gathered:** 2026-06-26 **Status:** Ready for planning **Smart Discuss Note:** Captured through autonomous smart-discuss with conservative defaults selected. Phase 15 has user-visible and orchestration-sensitive choices, but the user invoked `$gsd-autonom...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-CONTEXT.md
Markdown
fc6f8e371cb47c15c41af8967096aa97b6384730a378d2cc62cb27f282fc9632
0
896
for the current walking slice. It should not attempt full cross-artifact coherence before Phase 20. - Stale marking must be explicit and reversible only by new current evidence, accepted limitation, or user/reviewer acceptance. Silent fallback is a product defect. - Product UI should show stale records as stale, not as...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-CONTEXT.md
Markdown
2c24eade8bfc1b69ceefed8f026997c7ab1d71875fb2cc2a8f76e4dd41173b61
1
896
. - `apps/studio/src/domain/state/types.ts` already defines validity states, finding statuses, repair statuses, evidence statuses, terminal task states, and retry-relevant task statuses. - `apps/studio/src/domain/state/reconstruct.ts` already reconstructs findings, repairs, validity summaries, event targets, and curren...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-CONTEXT.md
Markdown
48da53bdb6eb0d929d9e119dc7de100eb95043ba51fe87c986ed759b8b9fbb48
2
896
Phase 16. - Academic artifact regeneration and document rendering belong to Phases 17 and 18. - Multi-worker ownership, parallel orchestration, and broader repair dispatch belong to Phase 22. - Sandbox and generated-project provider breadth belongs to Phase 23. - Final showcase packaging and handoff bundles belong to P...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-CONTEXT.md
Markdown
ea8259c6ab28fd690be3ee19b3b811b0dfb8dad604fdd55079d8b9fb25902c57
3
94
--- phase: 15-finding-repair-and-stale-evidence-loop created: 2026-06-26 status: complete research_scope: local architecture first broad_external_research: false --- # Phase 15 Research: Finding, Repair, and Stale Evidence Loop ## Research Boundary The roadmap states: "Prefer local architecture first; research exter...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-RESEARCH.md
Markdown
30d5aa2cedb7b50845225bd9dbb53f29fdf9d7f4e111ad8ca2e114cd58d675a1
0
896
05 Walking Slice Is The Right Deterministic Repair Fixture Phase 14 provides a deterministic integrated workspace model for one timetable-themed run. That run already ties ProjectSpec, retrieval, task graph, worker, generated repository, sandbox, verification, browser evidence, citations, limitations, and workspace di...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-RESEARCH.md
Markdown
f879e25a06be0539fbf8227b8696e732bc07a344d4c6eab156f81b154795bc94
1
896
repair attempts be stored only in existing `repairs` metadata for Phase 15, or should the phase add a typed in-memory/read-model attempt contract first and defer a schema expansion? - Should stale invalidation return proposed record updates or directly apply state changes through repository helpers? - Should the first ...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-RESEARCH.md
Markdown
ca952dbb80c0fdf52c45f66c7c0b7b6f789ed1f3b7105569a7c9734ff2978338
2
170
--- phase: 15-finding-repair-and-stale-evidence-loop verified: 2026-06-28T16:00:00+02:00 status: passed score: 5/5 requirements satisfied verification_type: retrospective-milestone-close --- # Phase 15: Finding, Repair, and Stale Evidence Loop Verification ## Result Phase 15 passes retrospective milestone-close veri...
diplomarbeit-os
.planning/phases/15-finding-repair-and-stale-evidence-loop/15-VERIFICATION.md
Markdown
0431ab61719464452b936fba64acb094652e61e01d9e38f9352188c9c7592c21
0
390
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 01 type: execute wave: 1 depends_on: [] files_modified: - apps/studio/src/domain/knowledge/retrieval-types.ts - apps/studio/src/domain/knowledge/chunking.ts - apps/studio/src/domain/knowledge/scale-types.ts - apps/studio/src/domain/knowledge/scal...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-01-PLAN.md
Markdown
7ad7634116553ac2ad9ad333c92cf1609cbc40a63dcb9fcc9d95443ce3be5873
0
896
# Artifacts this plan produces - `apps/studio/src/domain/knowledge/scale-types.ts` - `apps/studio/src/domain/knowledge/chunking.ts` - `apps/studio/src/domain/knowledge/scale-fixture.ts` - `apps/studio/src/domain/knowledge/chunking.test.ts` - `apps/studio/src/domain/knowledge/scale-fixture.test.ts` - Updated retrieval ...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-01-PLAN.md
Markdown
997235c7743088b940658e8415a16da5c7aa0b88a6553c1cb699f7e172907774
1
896
/domain/knowledge/retrieval-types.ts - apps/studio/src/domain/knowledge/retrieval-fixture.ts - apps/studio/src/domain/knowledge/fixtures.ts - apps/studio/src/domain/knowledge/chunking.ts - apps/studio/src/domain/knowledge/corpus-reader.ts </read_first> <files>apps/studio/src/domain/knowledge/scale-fixture.t...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-01-PLAN.md
Markdown
d76afa2088b06964d2b36559f89df453b85c16d0aae6905541c6a86a52c6907d
2
896
staged fixture | Source-derived metadata must not mutate or expose protected corpus prose. | | Staged chunk to retrieval | Chunk metadata must remain citeable and hashable without claiming full-corpus proof. | ## STRIDE Threat Register | Threat ID | Category | Component | Disposition | Mitigation Plan | | --- | --- |...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-01-PLAN.md
Markdown
e99b5ae0083267aecf19125a446c31dcffe2e489db9a46dfab79bc813a4b457a
3
425
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 01 subsystem: knowledge-retrieval tags: [retrieval, german-chunking, corpus-scale, vitest] requires: - phase: 05-protected-corpus-guard-and-derived-knowledge-store provides: Protected corpus boundary and derived knowledge fixture records - phase:...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-01-SUMMARY.md
Markdown
7fe3de7821fc4dff297b27e571ebdd4fc3e8d27faf9575ac4e3c292e84a6d542
0
896
/chunking.ts` - Pure section-aware German chunker that emits `RetrievalChunk` objects. - `apps/studio/src/domain/knowledge/scale-types.ts` - Typed staged corpus manifest, chunking policy, source event, chunk event, and ingestion log contracts. - `apps/studio/src/domain/knowledge/scale-fixture.ts` - Staged scale fixture...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-01-SUMMARY.md
Markdown
312f41b787ab2e318810e2fc303dfd281a92df5bd69611cc3011ae02d54d0f24
1
727
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 02 type: execute wave: 2 depends_on: - 16-01 files_modified: - apps/studio/src/domain/knowledge/concept-resolution.ts - apps/studio/src/domain/knowledge/concept-resolution.test.ts - apps/studio/src/domain/knowledge/retrieval-quality.ts - apps/s...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-02-PLAN.md
Markdown
5a6783dc9dcaf3c2cc209b99814a588ef5453caa4e3c4baaceed75581b4919f1
0
896
normalized keys, source-link IDs, and bridge IDs only. </behavior> <action>Create failing tests for resolved, bridge, ambiguous, and unresolved concept resolution cases.</action> <verify> <automated>bun --cwd apps/studio vitest run --config ../../vitest.unit.config.ts src/domain/knowledge/concept-resolution.t...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-02-PLAN.md
Markdown
d7375eaa02550c39ffcc744664f50a1725df3786115bf13ec4810da3375c6c1a
1
896
concept links influence quality assertions. | ## STRIDE Threat Register | Threat ID | Category | Component | Disposition | Mitigation Plan | | --- | --- | --- | --- | --- | | T-16-02-01 | Spoofing | Concept IDs | mitigate | Return IDs only from existing derived knowledge records. | | T-16-02-02 | Tampering | Link evi...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-02-PLAN.md
Markdown
75d659f884503caa1c87e38d2d7135474957744293b9422160b1fa00eee3e5be
2
381
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 02 subsystem: knowledge-retrieval tags: [retrieval, concept-resolution, german-quality-fixtures, vitest] requires: - phase: 16-knowledge-base-scale-up-and-retrieval-quality provides: Plan 16-01 staged retained-corpus scale chunks and German chunkin...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-02-SUMMARY.md
Markdown
78752770ec4d4f9875d37cb7c0cb62c49bf0eb08afdc071c3d050417c5e1cebc
0
896
and unresolved outcomes. - `apps/studio/src/domain/knowledge/concept-resolution.test.ts` - Tests for exact `pflichtenheft` matching, German display preservation, bridge evidence, ambiguity, and unresolved terms. - `apps/studio/src/domain/knowledge/retrieval-quality.ts` - German retrieval quality evaluator over staged c...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-02-SUMMARY.md
Markdown
186feb785fcdfb20800944954868203b05fe11e43952da6973ef3f1fe52e5fc8
1
896
filesystem access, database access, schema changes, or provider calls were introduced. The new code is pure domain logic over caller-provided records and retrieval chunks. ## User Setup Required None - no external service configuration required. ## Next Phase Readiness Plan 16-02 provides deterministic concept and ...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-02-SUMMARY.md
Markdown
895bcda9c57448444dd835e0d14d0907b0f8a398fc07e2da9d40a2306d8bf4ab
2
177
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 03 type: execute wave: 3 depends_on: - 16-02 files_modified: - docs/knowledge-scale-up.md - docs/technology-decisions.md - apps/studio/src/domain/knowledge/embedding-migration-policy.ts - apps/studio/src/domain/knowledge/embedding-migration-pol...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-03-PLAN.md
Markdown
bf7aed27fd3ce32fe9f837b01ae07902875148c5eb60dab2b61e5c96664dd9ea
0
896
schema, or network APIs. </behavior> <action>Create failing tests for `buildKnowledgeEmbeddingMigrationPolicy`.</action> <verify> <automated>bun --cwd apps/studio vitest run --config ../../vitest.unit.config.ts src/domain/knowledge/embedding-migration-policy.test.ts</automated> </verify> <acceptance_crite...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-03-PLAN.md
Markdown
5949664e680b299b6443134b4f07151734722a00d9b3e007bb39fcf1bedfcf16
1
896
/date and keep status policy-only. | | T-16-03-02 | Tampering | Vector commitment | mitigate | Block durable vectors until rebuild and rollback are approved. | | T-16-03-03 | Repudiation | Migration decision | mitigate | Add technology decision ledger entry. | | T-16-03-04 | Information Disclosure | Provider secrets | ...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-03-PLAN.md
Markdown
cc56d7a4f0d3f26f4291d236b10d2baefdc2811d8852e8f9c21bc1f1b25f5771
2
306
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 03 subsystem: knowledge-retrieval tags: [retrieval, embedding-migration-policy, hybrid-retrieval, docs, vitest] requires: - phase: 16-knowledge-base-scale-up-and-retrieval-quality provides: Plans 16-01 and 16-02 staged German chunking, source-backe...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-03-SUMMARY.md
Markdown
26cc8547bc49d2a48ba8dc5b17bd59d5f56adb8bcec72a1118567737fc7263a4
0
896
, required approvals, no live provider dependency, and credential-safe serialization. - `apps/studio/src/domain/knowledge/index.ts` - Exports the migration policy API and public types through the knowledge barrel. - `docs/knowledge-scale-up.md` - Documents Phase 16 staged scale-up, deterministic retrieval quality, anti...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-03-SUMMARY.md
Markdown
a19861b5537c94b95126f26d83a22ae06ca79bd8e477fd7ee1311ff32be506de
1
648
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 04 type: execute wave: 4 depends_on: - 16-03 files_modified: - scripts/check-knowledge-scale-evidence.mjs - package.json - README.md - apps/studio/README.md - scripts/check-docs.mjs - docs/knowledge-scale-up.md - apps/studio/src/domain/kn...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-04-PLAN.md
Markdown
9ad922f7b5894d095f17a2bc1a76a5ed1e04ec7e6c2b8ab6c9d0e9b5c52cc975
0
896
`checkAntiRegurgitation` with `buildScaledRetrievalFixtureChunks`. - Tests cover pass, review, and block outcomes against protected-corpus-derived scaled chunks. - Tests assert findings report IDs, source boundaries, hash status, metrics, and thresholds only. - Tests assert serialized findings omit `chunkText`, `...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-04-PLAN.md
Markdown
1e4d250b5c38c6dbe9bb4c862dffe565236be9248317a35d2d18ddf506d10e49
1
896
.md, docs/knowledge-scale-up.md</files> <behavior> - `package.json` exposes `check:knowledge-scale:evidence`. - Root `check` runs Phase 16 after retrieval evidence and before later dependent evidence where possible. - Docs checker requires the new document and command references. - READMEs link the new docs a...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-04-PLAN.md
Markdown
a7f18931612dc0d90e9030b7ebdf43611d6c34f30e7e8a95cc7f4d813f53156a
2
638
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 04 subsystem: knowledge-retrieval tags: [retrieval, evidence-gate, anti-regurgitation, docs, bun] requires: - phase: 16-knowledge-base-scale-up-and-retrieval-quality provides: Plans 16-01 through 16-03 staged German chunking, concept resolution, re...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-04-SUMMARY.md
Markdown
5f532161b3710db915c1deeeaa7a14e07b1b3c0d2f921d3e6781708cfc0d6d7b
0
896
docs checks** - `f156c60` (chore) **Plan metadata:** pending final docs commit. ## Files Created/Modified - `apps/studio/src/domain/knowledge/anti-regurgitation-scale.test.ts` - Tests scaled anti-regurgitation pass, review, block, and serialization-safety behavior. - `scripts/check-knowledge-scale-evidence.mjs` - De...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-04-SUMMARY.md
Markdown
2920e7596727718b8ea5df3462f0b216097c129a763ab87a0830d44cfbd7a26c
1
896
** `bun run lint` failed on `apps/studio/src/domain/knowledge/chunking.ts` because the heading regex loop assigned inside the `while` condition. - **Fix:** Moved the regex assignment into separate statements before and inside the loop, preserving behavior while satisfying Biome. - **Files modified:** `apps/studio/src/d...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-04-SUMMARY.md
Markdown
7c80033ad839e0c24600429b7078f3f0ebc73477192426e5f133d87be23c11b2
2
691
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 05 type: execute wave: 5 depends_on: - 16-04 files_modified: - .planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-05-SUMMARY.md autonomous: true requirements: - RET-05 user_setup: [] must_haves: truths: - "Focused knowledge ...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-05-PLAN.md
Markdown
2264242e5709f5d8f7c3caa848a51f6d581b37e092a3f7c8c141a0d0154576e0
0
896
the final summary. Do not edit product code, tests, docs, package scripts, or evidence scripts in this closure plan; those fixes belong to Plans 16-01 through 16-04. If a command fails, document the command, failure summary, suspected owning Phase 16 artifact, and any unrelated dirty file path without reverting or modi...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-05-PLAN.md
Markdown
22f9022aab934bf56f4de36b626d8973de41f76d2e284d6420c0e8daf4814a13
1
807
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality plan: 05 subsystem: knowledge-retrieval tags: [retrieval, phase-closure, evidence, docs, bun] requires: - phase: 16-knowledge-base-scale-up-and-retrieval-quality provides: Plans 16-01 through 16-04 German chunking, staged scale fixtures, concept resoluti...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-05-SUMMARY.md
Markdown
8cbc8e1a9561779166e395f33b79cef62dd847822b4953b20a04d1aae5f48562
0
896
`, and `/intake` built successfully. | ## Acceptance Mapping | Phase 16 criterion | Artifacts | Command evidence | | --- | --- | --- | | Staged retained-corpus scale-up readiness with German chunking | `apps/studio/src/domain/knowledge/chunking.ts`, `scale-fixture.ts`, `scale-types.ts`, `docs/knowledge-scale-up.md` |...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-05-SUMMARY.md
Markdown
ceab3562db37c1ec6a73f0f6465162b55ec9fbf113ffc64d26e603d8f8447983
1
896
unchanged. ## Issues Encountered None. All closure commands passed. ## Deferred Issues - `bun run lint` exits successfully but reports existing warning-level findings in Phase 13 browser-evidence files and `biome.json`. They are outside Phase 16 Plan 16-05 scope and did not block closure. ## Authentication Gates ...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-05-SUMMARY.md
Markdown
95182afa36c5bba5364000f68cf6417a576b91c70ed90ca9464a26c065033d2d
2
357
# Phase 16 Context: Knowledge Base Scale-Up and Retrieval Quality ## Smart Discuss Note User invoked `$gsd-autonomous` and did not request interactive preference gathering. Following the autonomous workflow, this context records conservative defaults instead of pausing for discussion. ## Phase Goal Scale the Phase ...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-CONTEXT.md
Markdown
1541fda84ef7ce681d7d5d8ab4825ced18e1bdbc4acbedc85fb988cb7929c394
0
896
are introduced. Phase 16 may define adapter boundaries and migration policy, but should keep lexical and deterministic hybrid fixtures as the executable baseline unless a later phase explicitly adopts a provider. ### Anti-Regurgitation Extend the Phase 6 threshold gate to scaled chunk fixtures and protected-corpus-de...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-CONTEXT.md
Markdown
14d4c9a5dee72107412fa62fba85fe18d7440c7b8ab35d25715ae39565b2ab5a
1
224
# Phase 16: Knowledge Base Scale-Up and Retrieval Quality - Research **Researched:** 2026-06-26 **Domain:** Knowledge retrieval scale-up, German chunking, concept resolution, embedding migration policy [VERIFIED: .planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-CONTEXT.md; apps/studio/package.json]...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
b7e87ec87f01185ab6e0b8ac2e62fcc1b95bc2b9feec8ffcffc5dfa3dfd8c2e0
0
896
focused deterministic fixtures, and evidence checks over broad corpus automation. Avoid schema churn unless the plan proves it is necessary for Phase 16 acceptance criteria. </user_constraints> <phase_requirements> ## Phase Requirements | ID | Description | Research Support | |----|-------------|------------------| |...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
00626deacefa2c630ff5003fb3f06e57a552b4a081d67b23f8da932d9b44ea45
1
896
, and `prior_project_concept_links` owns `verwendeteKonzepte` bridge records. [VERIFIED: apps/studio/src/db/schema.ts:522; apps/studio/src/db/schema.ts:571; apps/studio/src/db/schema.ts:598] | | Retrieval ranking | API / Backend domain | Database / Storage | Existing retrieval ranks chunks in domain code and returns ci...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
ce01c97bca8f4bb47bf8f09ff412909a0f80d9a2736ddb6be2ed15097168c4a2
2
896
`knowledge_recovery_decisions`. [VERIFIED: apps/studio/src/db/schema.ts:473; apps/studio/src/db/schema.ts:522; apps/studio/src/db/schema.ts:571; apps/studio/src/db/schema.ts:598; apps/studio/src/db/schema.ts:639; apps/studio/src/db/schema.ts:677] | Extend these contracts before adding new tables; schema churn needs pro...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
387d3b66d4f0ebbab67142a23c6f570bc13fdf8b3047c4f4a53c51e946f3dff2
3
896
, HNSW/IVFFlat indexes, AI SDK embed calls, provider secrets, and broad corpus traversal in Phase 6 retrieval implementation paths. [VERIFIED: scripts/check-retrieval-evidence.mjs] | Phase 16 should keep the Phase 6 checker strict and add a separate scale-up evidence gate for new contracts. [VERIFIED: 16-CONTEXT.md] | ...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
d87b69885ce2d74e6f6c345cf8681ed0232fca5abd05e83930fe9aa3ee62edac
4
896
VERIFIED: package.json; AGENTS.md] | | `pgvector` PostgreSQL extension | Not installed as a dependency and not present in current schema or migrations. [VERIFIED: apps/studio/package.json; rg audit 2026-06-26] | Future vector storage and approximate search, only after migration decision. [CITED: Context7 /pgvector/pgve...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
864f1292a3a6ae39b73908dc6b7a3b1a4035702baa85674dcc4722be838c199d
5
896
27. [VERIFIED: npm registry] | 11,684,630 weekly downloads. [VERIFIED: package-legitimacy gate 2026-06-26] | `github.com/drizzle-team/drizzle-orm`. [VERIFIED: npm registry] | OK. [VERIFIED: package-legitimacy gate 2026-06-26] | Approved as existing dependency. [VERIFIED: apps/studio/package.json] | | `postgres` | npm |...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
581d8d4e34b8f6cabcac7a4a17b59e15a5fe22f070a2709973110dd7f2cf5e7d
6
896
pgvector operator classes differ by metric. [CITED: Context7 /pgvector/pgvector, 2026-06-26] | **Why Phase 16 should not persist vectors yet:** the repository has no vector extension, no vector column, no embedding table, no provider-specific dependency, and no durable provider/dimension/index decision. [VERIFIED: app...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
e07c921852ec74e98f4bf08549c7cbff2e953ae299f7df3c2b653b9b4ba1a81c
7
896
/retrieval.ts; apps/studio/src/domain/knowledge/retrieval.test.ts] 2. Lexical chunk score: score normalized query tokens against chunk display title, matching keys, source-derived safe tokens, project attributes, and concept fields. [VERIFIED: apps/studio/src/domain/knowledge/retrieval.ts] 3. Concept bridge score: boos...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
909a44072fe9782cd48eb8beee88d96037e4847e45513b63f990e51fafde972f
8
896
concept ID with source evidence. [VERIFIED: apps/studio/src/db/schema.ts:677] | No match. [VERIFIED: 16-CONTEXT.md] | | Alias and terminology match | German display term, known aliases, artifact names, project concepts, and SYP categories. [VERIFIED: apps/studio/src/domain/knowledge/fixtures.ts; 16-CONTEXT.md] | Candid...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
4a12aeafa5a8d41e60f3cddff31cb64e62ad60c4395f11a95e2cc5d45aee4a69
9
896
retrieveCitedKnowledge` and `checkAntiRegurgitation` contracts rather than replacing them. [VERIFIED: apps/studio/src/domain/knowledge/retrieval.ts; apps/studio/src/domain/knowledge/anti-regurgitation.ts; 16-CONTEXT.md] ### Recommended Project Structure ```text apps/studio/src/domain/knowledge/ chunking-types.ts ...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
1d4e0da8898e3d1bbf47ff23e344184ed1f406757919c7aef359f035fd61f728
10
896
dimensions: number | null; readonly distanceMetric: "cosine" | "l2" | "inner-product" | null; readonly indexType: "none" | "hnsw" | "ivfflat"; readonly rebuildPolicy: string; readonly rollbackPolicy: string; }; ``` ### Anti-Patterns to Avoid - **Persisting vectors before policy:** This creates implicit provid...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
6e910691fb059cbb70dbbd0ed4bd41324cb7a9555c3e0c38277519f781717afc
11
896
| Tests already enforce omission of chunk text and `matchedSnippet`. [VERIFIED: apps/studio/src/domain/knowledge/anti-regurgitation.test.ts] | **Key insight:** Phase 16's hard part is not calling an embedding API; it is preserving source boundaries, German terminology, concept-link truth, and migration reversibility w...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
326a467ee3411ed6646235d9209a66897724793e7ebeb47b7d49054b65214d7f
12
896
/IVFFlat `vector` index limits. [VERIFIED: official OpenAI embeddings docs scraped 2026-06-26; CITED: Context7 /pgvector/pgvector] **Why it happens:** pgvector storage supports up to 16,000 dimensions, but standard HNSW/IVFFlat `vector` indexes are limited to 2,000 dimensions. [CITED: Context7 /pgvector/pgvector] **How...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
3972a2120566d131634a14c0689635503496a0b19f51714381a46f9919a17a94
13
896
" | "spanStart" | "spanEnd" | "chunkHash" | "hashStatus" | "sourceBoundary" >; ``` ### Anti-Regurgitation Finding Without Source Text ```typescript // Source: apps/studio/src/domain/knowledge/anti-regurgitation.ts. type SafeRegurgitationEvidence = Pick< AntiRegurgitationFinding, "status" | "sourceChunkI...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
1f22752475adc76017b7c1fcbaadf850e1fd193f1651c07cba9e40a1583eaccc
14
896
.md; AGENTS.md] | | 3. Concept resolver | Add deterministic exact, alias, source-backed, ambiguous, and unresolved result paths. [VERIFIED: 16-CONTEXT.md] | Fixtures prove prior-project, SYP concept, and `verwendeteKonzepte` bridge resolution. [VERIFIED: 16-CONTEXT.md; apps/studio/src/db/schema.ts] | Similarity signals...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
1ddef91cdba2e6225491e249435ff29341c8ae8b0573eb4acf7b27ac6ea912ac
15
896
; 16-CONTEXT.md] - Execution rule: add schema only in a later phase or explicit decision if manifest/test contracts cannot satisfy acceptance evidence. [VERIFIED: 16-CONTEXT.md; apps/studio/src/domain/knowledge/retrieval-types.ts] ## Environment Availability | Dependency | Required By | Available | Version | Fallb...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
ce4d72601b3f5b6a5c4bdbe63367e157024e8131f3ff2a6981ac4773586f1b45
16
896
16-CONTEXT.md] | | V4 Access Control | yes | Keep protected corpus access behind `corpus-guard` and `readProtectedCorpusText`; reject outside-root paths and mutating operations. [VERIFIED: apps/studio/src/domain/knowledge/corpus-guard.ts; apps/studio/src/domain/knowledge/corpus-reader.ts] | | V5 Input Validation | yes ...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
b6b3e84dc48a720245411d6ec92aaa99c32ae891b0e979c876badb6f0f1dbd61
17
896
- `apps/studio/src/domain/knowledge/*.ts` and tests - current fixtures, retrieval, anti-regurgitation, corpus guard, corpus reader, and repository contracts. [VERIFIED: local file reads 2026-06-26] - `apps/studio/src/db/schema.ts` - derived knowledge schema and link constraints. [VERIFIED: local file read 2026-06-26] -...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
9b7ef68d7e05b54f25317a18c1957304a896e9a7ddd4ff2c809263fc47a3cd9e
18
896
26 for local architecture constraints unless Phase 16 code changes first. [VERIFIED: current date 2026-06-26; npm registry checks; Context7 docs fetched 2026-06-26] **Validation Architecture:** omitted because `workflow.nyquist_validation` is explicitly `false` in `.planning/config.json`. [VERIFIED: .planning/config.j...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-RESEARCH.md
Markdown
7ebc62a64420974295ee504542feff576d06c0cd53f69ba31e5c8c4dcc905ea5
19
75
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality reviewed: 2026-06-27T13:43:29Z depth: standard files_reviewed: 21 files_reviewed_list: - README.md - apps/studio/README.md - apps/studio/src/domain/knowledge/anti-regurgitation-scale.test.ts - apps/studio/src/domain/knowledge/chunking.test.ts - apps/...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-REVIEW.md
Markdown
0fecfe1bb160a4b459704cfca1dd54fd8f37cc2798b930a9563279d19bafe80d
0
869
--- phase: 16-knowledge-base-scale-up-and-retrieval-quality verified: 2026-06-27T13:51:29Z status: passed score: "20/20 must-haves verified" behavior_unverified: 0 overrides_applied: 0 --- # Phase 16: Knowledge Base Scale-Up and Retrieval Quality Verification Report **Phase Goal:** System can scale retrieval to the r...
diplomarbeit-os
.planning/phases/16-knowledge-base-scale-up-and-retrieval-quality/16-VERIFICATION.md
Markdown
5133f68595e514524117ff278d85deb2ec70b9ddbe0f0b4790a8d839f8703e13
0
896