feat(fase2a): thread bundle_dir/verdict_dir i run_portfolio — kryssprosjekt-læring load-bearing (S2.0)
This commit is contained in:
parent
9659045fee
commit
8ec71c9814
4 changed files with 200 additions and 2 deletions
|
|
@ -443,8 +443,12 @@ async def run_portfolio(
|
|||
"""Fan out over a portfolio of independent projects SEQUENTIALLY, composing ``run_project``
|
||||
as-is (every project's execution state — meter, debate, retrieval context — is built fresh
|
||||
per call, so sequential reuse is inherently isolated). ONE ``VerdictStore`` is threaded
|
||||
across every run, so a verdict on project k informs the ExpeL retrieval of project k+1 (the
|
||||
cross-project learning loop). ``project_ids`` defaults to every loaded project; an unknown id
|
||||
across every run, AND each project's ``bundle_dir``/``verdict_dir`` are threaded into
|
||||
``run_project`` (Fase 2a S2.0): a bundle-backed project's ``bundle_dir``-gated Step-1 ExpeL fold
|
||||
then folds the store's prior verdicts into its hypothesis prompt, so a verdict captured on
|
||||
project k materially reaches project k+1's hypothesis — the cross-project learning loop is
|
||||
delivered, not merely asserted. ``verdict_dir`` also lets each project merge its async file inbox
|
||||
(Steg 7) on the portfolio path. ``project_ids`` defaults to every loaded project; an unknown id
|
||||
raises ``ValueError``. ``meter_factory`` (test seam) supplies a per-project meter — inject a
|
||||
shared meter to make the isolation guard go red (SC3).
|
||||
|
||||
|
|
@ -498,6 +502,8 @@ async def run_portfolio(
|
|||
profile,
|
||||
docs_dir=project.docs_dir,
|
||||
verdict_input=project.verdict_input,
|
||||
bundle_dir=project.bundle_dir,
|
||||
verdict_dir=project.verdict_dir,
|
||||
dimension=dimension,
|
||||
store=store,
|
||||
client_factory=client_factory,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue