Some checks are pending
CI / lint-and-test (push) Waiting to run
- Add broad Cory-style outcome scenarios to the open-ended benchmark so regular-use ambiguity is tested, not only exact ID canaries. - Add a clone-proven cross-surface strategy anchor packet that updates the mapped rich proposal anchor only after Claim D exists. - Retain VPS Docker DB, claim/body metadata, and cross-surface proof reports with ruff plus 37 focused tests passing. `docs/reports/leo-working-state-20260709/cory-expected-working-leo-outcomes-20260709.md` `docs/reports/leo-working-state-20260709/cross-surface-apply-authorized-commit.sql` `docs/reports/leo-working-state-20260709/cross-surface-clone-rehearsal-current.log` `docs/reports/leo-working-state-20260709/cross-surface-clone-rehearsal-failed-source-id-constraint.log` `docs/reports/leo-working-state-20260709/cross-surface-delete-rollback.sql` `docs/reports/leo-working-state-20260709/cross-surface-packet.json` `docs/reports/leo-working-state-20260709/cross-surface-postflight.sql` `docs/reports/leo-working-state-20260709/cross-surface-preflight.sql` `docs/reports/leo-working-state-20260709/cross-surface-resolution-current.md` `docs/reports/leo-working-state-20260709/current-truth-index.md` `docs/reports/leo-working-state-20260709/leo-db-state-17-cory-outcome-benchmark.svg` `docs/reports/leo-working-state-20260709/leo-db-state-18-db-vs-workspace.svg` `docs/reports/leo-working-state-20260709/leo-db-state-19-claims-body-metadata.svg` `docs/reports/leo-working-state-20260709/leo-db-state-20-cross-surface-anchor.svg` `docs/reports/leo-working-state-20260709/working-leo-current-state-20260709.md` `docs/reports/leo-working-state-20260709/working-leo-definition-20260709.md` `docs/reports/leo-working-state-20260709/working-leo-execution-plan-current.md` `docs/reports/leo-working-state-20260709/working-leo-open-ended-benchmark-spec.json` `scripts/kb_cross_surface_resolution_packet.py` `scripts/working_leo_open_ended_benchmark.py` `tests/test_kb_cross_surface_resolution_packet.py` `tests/test_working_leo_open_ended_benchmark.py`
36 lines
3.7 KiB
XML
36 lines
3.7 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="720" viewBox="0 0 1280 720" role="img" aria-labelledby="title desc">
|
|
<title id="title">Leoclean database versus workspace</title>
|
|
<desc id="desc">Diagram of the live leoclean Postgres database in Docker on the VPS, separate from Forgejo and the local workspace artifacts.</desc>
|
|
<rect width="1280" height="720" fill="#f8fafc"/>
|
|
<text x="64" y="74" font-family="Arial, sans-serif" font-size="34" font-weight="700" fill="#111827">Leoclean DB right now: live Docker DB, not the workspace</text>
|
|
<text x="64" y="114" font-family="Arial, sans-serif" font-size="18" fill="#374151">Fresh readback: VPS has a postgres container named teleo-pg with database teleo. Forgejo is separate repo hosting.</text>
|
|
|
|
<rect x="70" y="165" width="520" height="410" rx="8" fill="#ffffff" stroke="#2563eb" stroke-width="3"/>
|
|
<text x="105" y="215" font-family="Arial, sans-serif" font-size="25" font-weight="700" fill="#1d4ed8">Live VPS runtime</text>
|
|
<rect x="105" y="250" width="450" height="92" rx="8" fill="#eff6ff" stroke="#93c5fd"/>
|
|
<text x="130" y="287" font-family="Arial, sans-serif" font-size="20" font-weight="700" fill="#1e3a8a">Docker container: teleo-pg</text>
|
|
<text x="130" y="318" font-family="Arial, sans-serif" font-size="17" fill="#1e3a8a">Image: postgres:16, database: teleo</text>
|
|
<rect x="105" y="370" width="450" height="150" rx="8" fill="#ffffff" stroke="#cbd5e1"/>
|
|
<text x="130" y="405" font-family="Arial, sans-serif" font-size="18" font-weight="700" fill="#111827">Canonical KB surfaces</text>
|
|
<text x="130" y="438" font-family="Arial, sans-serif" font-size="16" fill="#111827">public.claims, public.sources</text>
|
|
<text x="130" y="468" font-family="Arial, sans-serif" font-size="16" fill="#111827">public.claim_edges, public.claim_evidence</text>
|
|
<text x="130" y="498" font-family="Arial, sans-serif" font-size="16" fill="#111827">kb_stage.kb_proposals and staged rows</text>
|
|
|
|
<rect x="690" y="165" width="520" height="410" rx="8" fill="#ffffff" stroke="#059669" stroke-width="3"/>
|
|
<text x="725" y="215" font-family="Arial, sans-serif" font-size="25" font-weight="700" fill="#047857">Workspace and repo layer</text>
|
|
<rect x="725" y="250" width="450" height="92" rx="8" fill="#ecfdf5" stroke="#86efac"/>
|
|
<text x="750" y="287" font-family="Arial, sans-serif" font-size="20" font-weight="700" fill="#064e3b">Local teleo-infra-main</text>
|
|
<text x="750" y="318" font-family="Arial, sans-serif" font-size="17" fill="#064e3b">Scripts, tests, SQL packets, reports</text>
|
|
<rect x="725" y="370" width="450" height="150" rx="8" fill="#ffffff" stroke="#cbd5e1"/>
|
|
<text x="750" y="405" font-family="Arial, sans-serif" font-size="18" font-weight="700" fill="#111827">Forgejo is separate</text>
|
|
<text x="750" y="438" font-family="Arial, sans-serif" font-size="16" fill="#111827">Container: forgejo</text>
|
|
<text x="750" y="468" font-family="Arial, sans-serif" font-size="16" fill="#111827">Mounts: /opt/forgejo/data and config</text>
|
|
<text x="750" y="498" font-family="Arial, sans-serif" font-size="16" fill="#111827">Not observed as source DB for teleo</text>
|
|
|
|
<path d="M590 365 C625 365 655 365 690 365" stroke="#6b7280" stroke-width="3" stroke-dasharray="8 8"/>
|
|
<text x="604" y="348" font-family="Arial, sans-serif" font-size="15" fill="#4b5563">SQL packets / deploy flow</text>
|
|
|
|
<rect x="155" y="620" width="970" height="56" rx="8" fill="#111827"/>
|
|
<text x="190" y="655" font-family="Arial, sans-serif" font-size="19" font-weight="700" fill="#ffffff">Working Leo uses both:</text>
|
|
<text x="380" y="655" font-family="Arial, sans-serif" font-size="18" fill="#ffffff">query live teleo DB, use workspace code/packets to safely stage, test, and apply approved changes.</text>
|
|
</svg>
|