Commit Graph

222 Commits

Author SHA1 Message Date
iomgaa f4853bf688 feat: add source selectors and cooldown memo 2026-07-20 06:56:14 -04:00
iomgaa 4a176b6220 feat: add in-memory limiter and breaker satisfying backend contracts 2026-07-20 06:54:07 -04:00
iomgaa 454a8b5e0f feat: add openai-compatible transport with sse parsing and error translation 2026-07-20 06:45:55 -04:00
iomgaa 315142ceb1 feat: add explicit provider profile registry 2026-07-20 06:40:55 -04:00
iomgaa 5634216f91 feat: port three-layer stream liveness watchdog 2026-07-20 06:37:35 -04:00
iomgaa b46a62a8ae feat: freeze all port protocols and gate snapshots 2026-07-20 06:35:11 -04:00
iomgaa 9f177d6d64 feat: add frozen core types and error taxonomy 2026-07-20 06:32:14 -04:00
iomgaa fcadd8cd8e chore: scaffold m1 module skeleton 2026-07-20 06:27:34 -04:00
iomgaa b568b61a34 docs: pin register_provider as pure function per plan review
Also note that the seven architecture amendments predate the plan,
tighten T12 to independent implementation layers, and add fallback
guidance for read-only reference protocol imports.
2026-07-20 06:26:46 -04:00
iomgaa f5623166a6 chore: register M1 plan entity in research wiki 2026-07-20 06:19:38 -04:00
iomgaa 8b64274add docs: add M1 implementation plan with fifteen verifiable tasks 2026-07-20 06:18:08 -04:00
iomgaa 2fb968b851 docs: apply seven M1-design feedback amendments to architecture
Correct the section 6.1 reason enum against actual CHS code, make
retry_after_s a non-optional float, add structured_data to LLMResponse
extensions, finalize the structured parameter type, document SSE
missing-done semantics and watchdog thinking-token liveness, add the
StructuredMW layer to the default onion order, and register
middleware/structured.py in the module map.
2026-07-20 06:12:52 -04:00
iomgaa 0e271f2b06 chore: initialize research wiki graph and register M1 design entity 2026-07-20 05:56:27 -04:00
iomgaa 2daeb4ae36 docs: revise M1 design per independent review findings
Fix Decision/Update field freeze (retry_after_s in seconds, source_name
included), freeze the 18 telemetry fields with model_name->model rename,
add thinking-token watchdog liveness semantics (CHS R1), add client
lifecycle/from_settings/gather_bounded/shared-backend injection
signatures, and register two more ARCHITECTURE feedback amendments.
2026-07-20 05:54:12 -04:00
iomgaa 6442461201 docs: add M1 core milestone design with frozen public signatures 2026-07-20 05:41:24 -04:00
iomgaa 034605c2b4 docs: move full multi-source behavior into M1 scope
Per 2026-07-20 human decisions: multi-source switching/cooldown ships
with M1 (retry-loop signatures freeze there), both GovDoc and
Video-Tree must pass the M1 onboarding smoke test, and Redis
integration tests use the lab's remote Redis with isolated namespaces.
2026-07-20 05:26:58 -04:00
iomgaa 48f82404ee docs: add D14 structured-output ladder decision
Define the five-step ladder (native-schema prevention, repair, shape
validation, bounded feedback re-ask, ResultInvalidError) as D14;
rewrite section 7.9 accordingly, give the structured parameter its
three-tier semantics in the chat() signature, and scope the bounded
re-ask outside transport retry and breaker counting.
2026-07-20 04:00:07 -04:00
iomgaa 07e772f522 docs: amend architecture per migration reverse constraints
Resolve 13 gaps flagged by the three migration documents: finalize
chat() signature with per-call cache namespace/salt, fix middleware
onion ordering (per-attempt source-scoped admission inside retry
loop), structured AllSourcesExhausted fields, est_tokens in
SourceConfig, per-scope resilience config keys, probe lease TTL,
settle/release idempotency, shared limiter/breaker backend semantics,
multimodal digest in telemetry, OCR trust_env and health check, API
stability rules, and correct the Q3 embedding claim.
2026-07-20 02:57:32 -04:00
iomgaa 583c012706 docs: add per-project migration documents as design constraints
Add research-wiki/migrations/ (govdoc-saas, video-tree-trm5,
chsanalyzer): deletion lists, component mappings, call-site
inventories, config migration, stepwise rollback plans, legacy
behavior audits, and reverse constraints on the library design
including flagged architecture gaps.
2026-07-20 01:26:23 -04:00
iomgaa 0df4d365a5 fix: hook scripts misread ruff success banner as a lint issue
ruff check prints 'All checks passed!' on success, which the non-empty
output test counted as one problem and blocked every commit. Use
--quiet --output-format concise so success is silent and each
diagnostic is exactly one line.
2026-07-20 01:26:23 -04:00
iomgaa 4f2c149a9d docs: add D13 retry decision and development roadmap
Record tenacity vs self-built evaluation as D13 in ARCHITECTURE.md
(self-built wins: per-attempt orchestration, cancellation guarantees,
supply-chain discipline). Add research-wiki/ROADMAP.md expanding the
milestone table with ordering rationale and exit criteria.
2026-07-20 01:02:35 -04:00
iomgaa 3058f4c744 chore: bootstrap project scaffolding
Add architecture doc (research-wiki/ARCHITECTURE.md), CLAUDE.md with
tiered SOP for Fable 5, adapted .claude skills/hooks/settings, package
skeleton (src/polygateway), pyproject with import-linter contracts,
Makefile, .env.example and smoke test.
2026-07-20 00:49:10 -04:00