feat(semantics): add portable annotation, learning and review contracts
Add portable corpus, annotation provenance, admission, review and bounded agent-cycle contracts. Preserve dataset ownership and explicit research acceptance limits.
This commit is contained in:
@@ -0,0 +1,517 @@
|
||||
# Root-reviewed semantic agent cycle
|
||||
|
||||
Owner scope clarification, 2026-10-26: read
|
||||
[SCENE_SEMANTICS_PRODUCT_CONCEPT.md](SCENE_SEMANTICS_PRODUCT_CONCEPT.md).
|
||||
Each scan is one standalone local scene. Crosswalks are functional semantics;
|
||||
all observed road markings remain a product/interface and hard-task target.
|
||||
No GPS/address/public-map requirement or automatic cross-scan geographic
|
||||
comparison, overlap search, registration or merging. Such work needs a separate
|
||||
explicit owner request. Dataset splits use declared source identity/lineage;
|
||||
uncertainty and held-out target isolation remain required.
|
||||
|
||||
|
||||
|
||||
## Current operating contract — 2026-10-26
|
||||
|
||||
[MISSIONCOR-93](https://ops.nodedc.ru/nodedc/browse/MISSIONCOR-93) and
|
||||
`docs/SEMANTIC_AGENT_OPERATING_CONTRACT.md` govern new urban annotation work.
|
||||
New plans use `missioncore.semantic-agent-cycle/v2` (`SCHEMA_V2`); literal v1
|
||||
remains supported for historical compatibility. Existing v1 plans/results are
|
||||
not migrated or given new acceptance criteria retroactively. The original
|
||||
implementation and dated experiments below retain their historical scope.
|
||||
|
||||
V2 adds a frozen `objective_contract` with `deliverable`, `min_admitted_units`,
|
||||
and unique `required_checks`. At most two executors may be active. The planned
|
||||
admission count must fit the units and require no more than half the dispatch
|
||||
budget (one author plus one review per admitted unit). Scientific feasibility,
|
||||
metric support and time estimates still require root preflight.
|
||||
|
||||
Root records actual delivery with `confirm_dispatch(token, root_actor,
|
||||
executor_ref, evidence)` after sending the packet. An unconfirmed active or
|
||||
interrupted handoff blocks another claim. Missing confirmation never frees a
|
||||
reservation automatically. A fast fenced completion may precede confirmation;
|
||||
the exact done token permits append-only receipt recovery even after closure.
|
||||
This records trusted root evidence; it does not send messages or authenticate
|
||||
an external executor.
|
||||
|
||||
Ready reviews precede new author claims. Each author completion already creates
|
||||
its own ready review; there is no all-authors barrier. Status includes ordered
|
||||
`ready_tasks`, `unconfirmed_handoffs` and `progress` counts.
|
||||
|
||||
V2 root decisions additionally contain `objective_outcome` (`achieved`,
|
||||
`not_achieved`, `inconclusive`), exact boolean `objective_checks`,
|
||||
`outcome_reason`, and `remaining_work` (a bounded list). Achievement requires the
|
||||
frozen admission target and all required checks, with no remaining work. Partial
|
||||
admission remains possible without claiming objective completion. Changing only
|
||||
acceptance does not make unchanged substantive work a new experiment.
|
||||
|
||||
This objective concerns approved annotation evidence, not a published dataset
|
||||
or accepted map. `agent_admission.publish()` follows a closed accepted cycle;
|
||||
root must inspect the published target separately before completing the enclosing
|
||||
work package. The controller cannot certify visual semantics or model utility.
|
||||
|
||||
49 focused local tests and Ruff passed. Coverage includes v1 compatibility,
|
||||
source-bound admission, missed handoff, streamed review, partial outcomes,
|
||||
feasible dispatch budgets and receipt recovery. No Worker rollout, training or
|
||||
live-map mutation was performed. Full process speed/token benefit is still a
|
||||
separate measurement, not inferred from these checks.
|
||||
|
||||
Implemented 2026-10-25 in `simulation/semantic-learning/agent_cycle.py`,
|
||||
`region_coverage.py`, and `agent_admission.py`. This is a bounded annotation
|
||||
workflow around the existing immutable corpus/admission contracts. It does not
|
||||
consume the dataset builder's jobs, change a live map, launch training, or promote
|
||||
a model. The source-only semantic-learning packager includes these modules.
|
||||
|
||||
## Execution boundary
|
||||
|
||||
The active Codex root session is the dispatcher and curator. It delegates bounded
|
||||
annotation packets, then source review to a different actor. The Worker portable
|
||||
store holds durable task state and data; no external model provider, paid API, new
|
||||
daemon, or unattended scheduler has been introduced. Closing Codex preserves the
|
||||
ledger but does not create a background LLM executor. Root can resume from it.
|
||||
|
||||
Use controller-assigned canonical actor IDs. Identity separation prevents
|
||||
accidental self-review; it is not authentication or statistically independent
|
||||
model judgement. A trusted dispatched executor may call `complete` only for its
|
||||
assigned token/actor and immutable result. This records evidence and releases the
|
||||
claim; it does not accept labels. Root retains dispatch, `reconcile`, `cancel_ready`, `decide`, and
|
||||
publication responsibility. Agents cannot approve their own live writes or
|
||||
training admission. Actor strings and a shared filesystem are an orchestration
|
||||
boundary, not authentication or a security sandbox.
|
||||
|
||||
Completion is atomic and safe to retry with the same result after a lost reply or
|
||||
process restart: it returns the original hash without another attempt or review
|
||||
job. A changed result, wrong actor, unknown or superseded token is rejected.
|
||||
Expiry is checked again after source/quota validation, immediately before writes.
|
||||
Root settles and checks task state inside the decision transaction, so a concurrent
|
||||
expiry cannot close a cycle around an unreconciled executor. Executors must report
|
||||
an uncertain outcome and retry the same token/result; they must not claim a new
|
||||
job, change the result, reconcile themselves, or bypass root admission.
|
||||
|
||||
For a validated result, the normal handoff is now direct executor completion in
|
||||
its existing invocation, followed by the returned hash/receipt to root. Root
|
||||
checks terminal evidence instead of copying and resending the same JSON. This
|
||||
uses the same assigned token, actor, immutable result and admission boundaries.
|
||||
|
||||
A matched ready-result transport pilot on 2026-10-25 completed all eight steps
|
||||
(four pairs) inside a frozen 20-minute budget. Median ready-to-ack latency was
|
||||
38.494 seconds via root and 0.270 seconds direct; dispatch-to-ack medians were
|
||||
65.918 and 18.734 seconds. All paired digests, closed ledger and accepted release
|
||||
were unchanged. Each route used an identical already-completed `Cycle.complete`
|
||||
replay plus a new durable benchmark receipt. This accepts the bounded handoff
|
||||
choice only: first-result insertion, full annotation-cycle throughput, quality,
|
||||
cost and model accuracy remain unmeasured by that comparison. One executor and
|
||||
four purposeful payloads do not establish a general statistical speedup. Evidence:
|
||||
`outputs/semantic-executor-completion-20261025/transport-comparison-1/REPORT.md`.
|
||||
|
||||
Send new executors a compact task packet and the specific source-view tools. Do
|
||||
not fork the entire conversation by default. Reuse a bounded executor for a small
|
||||
batch when its role and source isolation permit; do not create curator/researcher
|
||||
agents merely to fill an architecture diagram. Root currently performs curation
|
||||
and research decisions. An optional advisory product/methods scout now follows
|
||||
`SEMANTIC_RESEARCH_SCOUT.md`; it feeds proposals to root and does not gate the
|
||||
annotation critical path. At most two active tasks in the pilot, including any
|
||||
concurrent scout; no GPU fitting.
|
||||
|
||||
## Contract and state
|
||||
|
||||
A frozen plan pins the baseline, objective, recipe, acceptance criteria, physical
|
||||
TRAIN groups, selected native-pixel ROIs, source images/cameras and supervision
|
||||
release. `validate_packet` resolves the actual corpus identity and split; declaring
|
||||
`split: train` cannot make an evaluation source eligible.
|
||||
|
||||
The same Worker `queue.sqlite3` contains separate `agent_cycles`, `agent_tasks`,
|
||||
and `agent_attempts` tables. Builder jobs and receipts remain unchanged. A single
|
||||
`BEGIN IMMEDIATE` protects claims, dispatch counts and concurrent ownership.
|
||||
|
||||
1. `begin(plan)` freezes an iteration and its deadline.
|
||||
2. `claim(identity, unit_id, stage, actor)` reserves one annotate/review job and
|
||||
returns a fencing token. A review includes the exact proposal and its hash.
|
||||
3. `complete(token, actor, result)` stores immutable bounded JSON evidence and
|
||||
makes the next stage ready. Identical repeat completion is idempotent; a
|
||||
different result for the same claim is rejected.
|
||||
4. The iteration reaches `root_pending`. Expired claims remain resource
|
||||
reservations until root verifies their executors have ended and calls
|
||||
`reconcile`; expiry alone never starts a second copy.
|
||||
5. `decide` records root's terminal verdict, inspected units, checks, tuning and
|
||||
explicit `admitted_units`. Flagged tasks plus a deterministic sample must be
|
||||
inspected. Rejected or unreviewed units cannot enter the admitted list.
|
||||
6. Only then may `agent_admission.publish(store, id, destination)` produce a new
|
||||
immutable supervision sidecar. It publishes only admitted units and preserves
|
||||
every accepted old pixel, explicit unknown exclusion and other sample decision.
|
||||
|
||||
To abort a disrupted experiment, root may call `cancel_ready` with a recorded
|
||||
reason. Only undispatched ready tasks become blocked; completed evidence and
|
||||
active/interrupted reservations remain intact. Root must confirm stopped
|
||||
executors, reconcile their claims, then close with a rejected/revise verdict.
|
||||
No deadline, attempt count or frozen plan is rewritten. A clean successor records
|
||||
the interruption and reuses any immutable prepared proposal explicitly; it does
|
||||
not silently pretend the interrupted timing run succeeded.
|
||||
|
||||
A successor requires the previous root decision. Unchanged substantive work
|
||||
(source hashes, region packet, baseline and recipe) is rejected even when the
|
||||
unit IDs or parent change. Replication is a separately stated recipe, not a
|
||||
technical retry. Retry limits do not reset on restart.
|
||||
|
||||
Limits are explicit parallelism, attempts per stage, total dispatches, iteration
|
||||
wall time, lease time, 256 KiB per plan, 48 KiB per result, 32 KiB per root review, a bounded
|
||||
2 MiB status/request envelope and 128 MiB of controller JSON evidence.
|
||||
Quota exhaustion refuses new evidence; it does not delete historical data. This
|
||||
version does not meter or enforce provider tokens/dollars, and a lease does not
|
||||
kill a running LLM. Root must reconcile actual process/task status. The quota
|
||||
error requires deliberate archival; no automatic destructive archival command is
|
||||
provided.
|
||||
|
||||
CLI accepts bounded JSON request files:
|
||||
|
||||
```sh
|
||||
python -B agent_cycle.py --store <worker-store> begin --request <plan-request.json>
|
||||
python -B agent_cycle.py --store <worker-store> status --request <status-request.json>
|
||||
```
|
||||
|
||||
The request contains keyword arguments to the action, for example
|
||||
`{"identity":"<iteration-sha256>"}` for status. Other actions are `claim`,
|
||||
`complete`, `reconcile`, `cancel_ready`, `decide`. The dispatcher controls actor arguments.
|
||||
|
||||
## Annotation and root review
|
||||
|
||||
An author sees raw RGB and bounded context, identifies visible paint polygons,
|
||||
explicitly reviews the remaining ROI as background, and marks uncertain source
|
||||
regions. Native-pixel margins around boundaries remain ignored. A missing polygon
|
||||
outside the reviewed ROI never means background. Rules/context cannot fabricate
|
||||
visible-paint labels. A protected unknown cannot overlap an accepted label.
|
||||
Explicit source-uncertainty polygons are kept separate from automatic boundary
|
||||
ignore margins. If explicit uncertainty intersects an earlier known paint or
|
||||
background label, publication fails closed; preserving that old label would
|
||||
silently contradict the new source review. Resolve it through a separately
|
||||
reviewed, immutable baseline revision, never by silently changing the proposal
|
||||
or relaxing the preservation gate. A final proof must show the published merged
|
||||
target, not only the proposed polygons. Automatic edge margins alone do not
|
||||
revoke existing accepted labels.
|
||||
|
||||
Uncertainty must concern the target class. Explain which visible evidence makes
|
||||
observed road paint versus background undecidable. Unresolved surface material,
|
||||
soft texture, shadow or blur alone does not decide either label. Clear source
|
||||
boundaries and context can support background even when curb/gutter/material
|
||||
identity is uncertain. A genuinely obscured surface, mixed paint boundary or
|
||||
unresolved class ambiguity must remain unknown; absence of visible paint alone
|
||||
is not background evidence. When useful, inspect a hash-bound native source crop
|
||||
through the recorded resampling transform; another resolution of the same scan
|
||||
is not independent evidence.
|
||||
|
||||
A separate 2026-10-25 adjudication retained all 218 disputed MI2-E background
|
||||
pixels after independent and root source inspection. The new unknown region was
|
||||
overbroad for those exact pixels. No baseline revision or wholesale proposal
|
||||
admission followed; the failed 1/2 cycle stays closed. The source-specific verdict
|
||||
must not become a blanket rule for shadows or blurred regions. Evidence:
|
||||
`outputs/semantic-executor-completion-20261025/baseline-adjudication-1/REPORT.md`.
|
||||
|
||||
The deterministic validator checks explicit complete ROI coverage, source pins,
|
||||
old-label conflicts and protected unknown. It cannot prove semantic correctness.
|
||||
A separate reviewer inspects raw RGB and proposed masks, including gaps and
|
||||
possible missed paint. Root reviews every flagged case and a small predetermined
|
||||
sample of other cases; expand inspection only for concrete systematic concerns.
|
||||
For a new workflow's first pilot, root may inspect all four small cases once.
|
||||
|
||||
Root's decision admits a subset rather than weakening quality thresholds for a
|
||||
bad sample or repeating all successful work. Rejected regions keep their evidence
|
||||
and reason. New supervised releases remain assistant-reviewed exposed TRAIN,
|
||||
not independent gold. Training requires a separately frozen hypothesis, bounded
|
||||
run recipe and physically disjoint evaluation policy.
|
||||
|
||||
## Full-cycle growth and baseline disagreements
|
||||
|
||||
The first direct-completion full-cycle pilot (2026-10-25) completed two author
|
||||
and two separate-review tasks with first-result writes and no retries. Root
|
||||
admitted one of two new TRAIN ROIs after exact merged-target inspection. The
|
||||
fixed 2/2 hypothesis failed: one source-accepted proposal put 218 previously
|
||||
accepted background pixels into explicit unknown. Its other numeric gates
|
||||
passed, but it was excluded entirely. The old background is not presumed wrong;
|
||||
the new unknown is not presumed authoritative. The accepted release added 55
|
||||
paint and 9,403 background pixels and preserved all prior targets.
|
||||
|
||||
Treat this as a distinct baseline-adjudication task, not an ordinary growth retry.
|
||||
Bind the old decision, new proposal, exact conflicting pixels and source view.
|
||||
An independent review may affirm the old label, support a separately admitted
|
||||
immutable baseline revision, or leave the disagreement unresolved. Do not clear
|
||||
an uncertainty polygon to pass a preservation check, silently keep an old label
|
||||
inside explicit unknown, or scale annotation merely because both reviewers
|
||||
accepted source appearance. Root decides which evidence is admissible.
|
||||
|
||||
Full begin-to-published-proof time was 675.7 seconds; preparation and archival
|
||||
are excluded. One small two-ROI trial without a control arm measures neither
|
||||
model quality nor full-cycle comparative speedup. Evidence and exact next scope:
|
||||
`outputs/semantic-executor-completion-20261025/full-cycle-1/REPORT.md`.
|
||||
|
||||
## Pilot and tuning
|
||||
|
||||
`outputs/semantic-agent-pilot-20261025` contains bounded local text and final proof
|
||||
images. Raw media, ledger and supervision remain under the Worker portable store.
|
||||
Four native ROIs were frozen across Maroseyka, Mira, Smolensk and Sretenka. Criteria:
|
||||
complete ROI, at least 20 fresh paint and 20 fresh background pixels, at most 35%
|
||||
unknown, unchanged prior labels, independent visual review. These thresholds are
|
||||
pilot criteria, not a claim of universal road-marking ground truth.
|
||||
|
||||
The first integration check found a genuinely ambiguous source region above the
|
||||
unknown limit. The workflow was tuned to explicitly quarantine units and publish
|
||||
only root-admitted results; the numeric limits were not relaxed. Controller source
|
||||
versions before and after this change are recorded in the pilot evidence.
|
||||
|
||||
The pilot measures successful source-reviewed regions, rejected reasons,
|
||||
dispatch/attempt counts, executor wall times and root interventions. It cannot yet
|
||||
claim a measured speedup over a single-agent baseline or a model accuracy gain.
|
||||
Two compact final proof images are sufficient; do not retain unlimited crop
|
||||
exports or media traces. Root's final result and next bounded hypothesis are in
|
||||
the pilot report.
|
||||
|
||||
|
||||
## 2026-10-25 — Cumulative supervision reaches a complete learning evaluation
|
||||
|
||||
`mixed_supervision.py` adds a generic, tested bridge from the last trained
|
||||
supervision release to accepted mixed paint/background growth. It requires
|
||||
source/view/group equality, exact reviewed withdrawal coordinates pinned by hash,
|
||||
zero unknown weight, and conserved mass separately for each physical group and
|
||||
class. Changed classes redistribute mass uniformly across supported frames and
|
||||
pixels; this is not a location-dependent inference rule. Twenty-nine focused
|
||||
tests cover source binding, forbidden class flips/withdrawals and mass handling.
|
||||
|
||||
The root session completed a separately frozen Worker experiment in
|
||||
`outputs/semantic-executor-completion-20261025/roi-learning-1`: +8318 paint,
|
||||
+87449 background and 244 authorized withdrawals; 24 main fits, 2 deterministic
|
||||
repeats, 2 exact old-context replay fits, 585 TRAIN maps and 195 excluded-street
|
||||
maps, with exact inference replay and root visual inspection of all 13 frames.
|
||||
The four-case uncertainty instruction check separately passed 4/4 purposeful
|
||||
exposed TRAIN cases; it is not general accuracy or independent gold.
|
||||
|
||||
TRAIN fitting improved strongly, but excluded-street mean balanced error rose
|
||||
0.008812→0.010892; the new coarse-only control scored 0.008063. Six seed/street
|
||||
pairs improved and six worsened. MI3 dashes separate when that street participates
|
||||
in training but remain joined when it is excluded. The fixed transfer recipe is
|
||||
rejected; annotations remain accepted, with no model promotion or live-map change.
|
||||
|
||||
The predeclared 2-percentage-point absolute median improvement gate was infeasible
|
||||
at the measured baseline (maximum possible 0.773pp). It was not changed after the
|
||||
run and is not used alone as evidence against the method; actual transfer metrics,
|
||||
ablation and visual defects independently support rejection. See REPORT.md,
|
||||
root-metric-audit.json, decision.json and the two final proof images. The model
|
||||
cause is not isolated by this trial. No automatic expansion to 100 scans or
|
||||
unattended model executor is claimed.
|
||||
|
||||
## 2026-10-26 — Exposed-control audit and bounded convex-head experiment
|
||||
|
||||
`transfer-control-1` audited the catalog and historical provenance before fitting.
|
||||
All ten registered Moscow scans are development-exposed, including Mira 68–78;
|
||||
three nature worlds are outside this task. Nine top-level dataset versions are
|
||||
Maroseyka revisions, not nine independent streets. Two historically reserved
|
||||
Novinskiy archives match their prior SHA-256 and remain unopened, one physical
|
||||
candidate group. Footprint overlap/adjacency and complete exposure provenance
|
||||
still need verification before independent testing. Exposure cannot be reset by
|
||||
renaming a world or by a later stage reporting that it opened no images.
|
||||
|
||||
The new offline `linear_refinement.py` implements a 258-parameter residual linear
|
||||
head with normalized full-known-pixel BCE, L2 on all coefficients including bias,
|
||||
bounded L-BFGS and an explicit stationarity/technical-stop contract. Twenty-nine
|
||||
focused Worker tests pass. Root completed 24 fits plus two exact repeats, 351 TRAIN
|
||||
and 195 held predictions, 78 exact prior-MLP replays and 78 repeated linear maps.
|
||||
All fits converged; source features and source labels remain pinned.
|
||||
|
||||
Mean development held BER fell from 0.008812 (old context MLP) and 0.010892
|
||||
(latest ROI MLP) to 0.005854; coarse-only linear control scored 0.007203. However,
|
||||
false paint increased on Maroseyka and Sretenka, and root inspection of all 13
|
||||
frames plus a native MI3 crop confirmed filled dash gaps, symbol holes and a
|
||||
manhole artifact. Existing TRAIN cohorts also regressed. Numeric and visual
|
||||
admission failed; no model, live map or annotation release was promoted.
|
||||
Capacity, optimizer and regularization changed jointly, so this does not isolate
|
||||
a single cause or reject all linear models.
|
||||
|
||||
That report declared native-RGB detail guidance versus low-pass RGB as its next
|
||||
hypothesis, keeping Novinskiy closed. The subsequent completed work is summarized
|
||||
below. Exact source audit, decision and retirement evidence for the convex study
|
||||
remain in `outputs/semantic-executor-completion-20261025/transfer-control-1/REPORT.md`.
|
||||
|
||||
## Current frozen-representation evidence and acceptance boundary
|
||||
|
||||
The source review and learning loop now runs across 26 accepted source windows,
|
||||
with complete-symbol, crossing-gap and background supervision added through
|
||||
separate author, reviewer and root decisions. The accepted composition is frozen
|
||||
in `source-expansion-1/composition-release.json`; accepting these labels did not
|
||||
accept a detector. Ambiguous borders and obscured paint remain unknown. Agent
|
||||
agreement is not an independent gold standard, and repeated seeds or training
|
||||
windows do not increase the number of independent observations.
|
||||
|
||||
Native-RGB guidance, wider source coverage and a lower-capacity head have each
|
||||
received bounded Worker experiments. None has qualified for live-map promotion.
|
||||
The recent comparisons keep all 26 targets, frozen coarse/fine features, native
|
||||
RGB patches, class/family sampling, 1200 AdamW steps and threshold zero fixed.
|
||||
They compare the 25,602-parameter nonlinear head (`complete-object-learning-1`),
|
||||
a 333-parameter linear residual (`capacity-ablation-1`) and one fixed width8
|
||||
nonlinear head with 2,754 parameters (`small-nonlinear-1`).
|
||||
|
||||
| Equal-image, then equal-seed held BER | Nonlinear | Linear | Width8 nonlinear |
|
||||
|---|---:|---:|---:|
|
||||
| Original cohort: 10 images with both known classes | 0.07506204 | 0.02733846 | 0.06178614 |
|
||||
| Nine added source windows | 0.08573101 | 0.02170457 | 0.04761772 |
|
||||
|
||||
The linear head improves both supports in all three seeds. However, its false
|
||||
paint increases in the Mira and Sretenka families and in each cohort aggregate. Actual visual review of
|
||||
all 26 full frames confirms recovery of missing symbols together with narrowed
|
||||
symbol holes and joined crossing gaps. These separate numerical and visual guards
|
||||
reject the candidate despite better balanced error. This result changes both
|
||||
capacity and nonlinear interactions; it does not identify either as the sole cause.
|
||||
|
||||
The smaller nonlinear head also fails the unchanged baseline guards and its
|
||||
additional linear-control guards. Full visual review shows reduced paving
|
||||
activation together with lost weak paint and entire yield triangles, plus a
|
||||
filled manhole interruption. Its fixed width8 hypothesis is closed; no width
|
||||
sweep follows. Known counts and qualitative changes in unknown areas remain
|
||||
separate, with exact inference replay and two root-viewed proof JPEGs.
|
||||
|
||||
A separate CPU-only diagnostic exhaustively examines the saved linear scores.
|
||||
There are 7,053 threshold masks satisfying the 12 monotone recall/FPR constraints,
|
||||
but every one fails the older-control old13 BER guard; outside that interval at
|
||||
least one monotone constraint fails. Exact integer counts and rational macro
|
||||
metrics therefore rule out one common scalar threshold, shared across these
|
||||
26 windows and three seeds, passing all original numerical guards. This is a
|
||||
consumed-label diagnostic, not prospective calibration, topology qualification,
|
||||
or a claim about every possible parent-specific calibrated system. No threshold
|
||||
was applied. See `score-ranking-1/REPORT.md` and
|
||||
`score-feasibility-1/supplemental-REPORT.md` in the same experiment base.
|
||||
|
||||
Any later nested calibration must exclude both the outer and inner physical
|
||||
families from parent training, parent-dependent fine/coarse feature generation
|
||||
and residual fitting. The existing outer fine features are fixed across these
|
||||
arms, but are not label-independent pretrained features: their supervised parent
|
||||
tail and normalization belong to the fold. Eighteen historical inner parents
|
||||
have verified state/meta bytes and matching train/init lineage; that availability
|
||||
alone does not qualify a calibration method or authorize an automatic retry.
|
||||
|
||||
Evaluation support is declared before fitting. BER/recall omit only images whose
|
||||
accepted targets lack the required class denominator; FPR still includes known
|
||||
background-only images. Unknown pixels never become background. For example,
|
||||
old13 BER has 10 supported images while its FPR has all 13. Comparisons require
|
||||
identical source/target identities and support, and retain all family-level
|
||||
recall/FPR guards. Every outer fold excludes its entire physical family, including
|
||||
Maroseyka/Pokrovka and Smolensk/Sadovaya-Karetnaya groupings. These remain repeatedly
|
||||
consumed development folds, not a new independent geographic test.
|
||||
|
||||
Three native windows are 768px/12m; the other 23 are 512px/12m. Consequently a 5x5
|
||||
native RGB patch has a different physical footprint. Frozen semantic features use
|
||||
the same 128 grid over 12m, but grid spacing is not receptive-field size. This
|
||||
recorded scale confound is not proof of the observed transfer failure: old and
|
||||
new Mira, Sretenka and Smolensk windows share the same native scale.
|
||||
|
||||
Decisions are bound to immutable protocols, models, exact replay, byte-verified
|
||||
result transport, source/target/prediction visual receipts and a root verdict.
|
||||
Reports, two final proof images per experiment and content-addressed text archives
|
||||
are retained; inventoried generated render PNGs are retired after all readers
|
||||
finish. Active model/feature/prediction dependencies remain owned by their next
|
||||
experiment. See `complete-object-learning-1/report.md` and
|
||||
`capacity-ablation-1/REPORT.md` under
|
||||
`outputs/semantic-executor-completion-20261025` for exact scopes and limitations.
|
||||
|
||||
## Resumable offline learning execution
|
||||
|
||||
`simulation/semantic-learning/learning_execution.py` supplies the missing bounded
|
||||
execution ledger between an accepted release and a fixed recipe runner. It is
|
||||
included by the existing source-only Worker packager. It does not dispatch LLM
|
||||
agents, select a model, promote a release, or create a durable service.
|
||||
|
||||
The evidence root can be the read-only portable store, while a separate writable
|
||||
state root owns only the experiment ledger. Plans can explicitly pin up to 1024
|
||||
selected files within a 256KiB manifest; source references are never silently
|
||||
substituted for actual payload identities. Worker qualification also proves that
|
||||
changing an external input blocks completed-phase reuse.
|
||||
|
||||
A plan pins its declared inputs and Python runner/verifier sources, phase order,
|
||||
output manifests, and separate run/verification subprocess deadlines. The caller
|
||||
still owns the whole-phase wall deadline, isolated Worker runtime, GPU/CPU/RAM,
|
||||
network and storage bounds. A verifier must validate the recipe's full source,
|
||||
label, model and cache provenance, then return both the declared output roots and
|
||||
all derived files they depend on. A complete manifest alone is insufficient:
|
||||
checkpoint, metadata and prediction-array bytes belong to the recorded artifact
|
||||
closure. Undeclared or external input dependencies remain the pinned recipe
|
||||
validator's responsibility; the ledger does not recursively infer dependencies.
|
||||
|
||||
The SQLite transaction reserves a phase before launching it. A completed phase
|
||||
is reused only while all declared inputs, preceding artifact closures and its own
|
||||
closure remain byte-identical. Interrupted, failed and unacknowledged execution
|
||||
remains reserved; elapsed time never retries training. Trusted root can reconcile
|
||||
confirmed-stopped completed output through the same pinned verifier, or close an
|
||||
archived failed phase while preserving its partial files. The root attestation is
|
||||
an orchestration trust boundary, not an authentication service. Model-quality
|
||||
rejection still produces a valid engineering artifact and never implies approval.
|
||||
|
||||
Thirty focused tests cover restart, two-controller competition, changed
|
||||
source/target/model bytes, invalid verifiers, closure omission, unknown ownership,
|
||||
archived failure and bounded subprocess execution. Worker qualification executes
|
||||
a tiny real subprocess that writes synthetic weights and deliberately exits 19.
|
||||
After controller restart, fit cannot rerun; root reconciliation recovers the
|
||||
complete output, leaving the fit counter at 1. Payload corruption with an unchanged
|
||||
manifest blocks the next phase. The verified original bytes then permit evaluation.
|
||||
No real model is fitted in this qualification. Exact sources, limitations and the
|
||||
root-verified content-addressed archive are recorded in
|
||||
`outputs/semantic-executor-completion-20261025/execution-bridge-1/REPORT.md`
|
||||
and the separate-state-root extension in `execution-bridge-1/state-root-REPORT.md`.
|
||||
The latest canonical executor merges repeated preceding artifact paths within each
|
||||
validation boundary, rejects conflicting pins before hashing, and still rehashes
|
||||
all bytes at later pre/post/resume boundaries. A synthetic cumulative fixture
|
||||
reduces 16 hash calls to 8; this is not a measured latency improvement. Equal hashes
|
||||
at different paths remain separate checks. This refinement is for future cycles;
|
||||
the completed parent-refresh plan retained its earlier qualified bridge bytes.
|
||||
|
||||
|
||||
The parent-refresh experiment updated the supervised FPN on the accepted
|
||||
26-window composition while retaining the original pretrained reset and historical
|
||||
per-fold initializer/normalization, then fitted the unchanged linear residual. It
|
||||
regenerated all parent-dependent features and validated actual parent/child/repeat
|
||||
checkpoint tensors. This jointly changes parent supervision and class/family mass;
|
||||
it does not isolate data quantity or remove historical initializer influence.
|
||||
|
||||
On 2026-10-26 the owner explicitly authorized temporary Worker images, code/tests,
|
||||
and the bounded 27-fit experiment. The 129-test Worker suite passed without skips.
|
||||
An initial no-fit preflight found a relative Torch module-path/cwd conflict; its
|
||||
exact stopped attempt and sources were archived, and root closed the failed ledger
|
||||
entry. The replacement entry restores the historical root cwd without relaxing
|
||||
source checks; four new tests and five actual bridge/import checks cover the fix.
|
||||
The reviewed replacement real preflight then passed all 12 fold contracts.
|
||||
|
||||
All 27 fits completed in 942.16 seconds of combined parent/child phases, below the
|
||||
3600-second cap, with exact original-parent replay and new-parent/child repeats.
|
||||
All models were frozen before scoring. TRAIN and held scoring each have 234 rows
|
||||
(including immutable reference controls), and all 78 candidate held arrays replayed
|
||||
exactly. An independent exact-count audit reproduced 11 failures among the 23
|
||||
frozen comparisons. Against the unchanged linear-head G control, P worsened both
|
||||
old10 and new9 balanced error in all three seeds. Actual visual review covered
|
||||
all 26 full frames and seven overlapping object ROIs; root personally viewed
|
||||
seven full frames and the two final M1/SK2 proofs. The M1 line-gap fill is a
|
||||
visual rejection as well. These are exposed development families, not new
|
||||
independent geography. P is rejected; the narrower 3x3 spatial-context S variant
|
||||
was also rejected after complete numerical and visual review. Neither result
|
||||
claims that all parent adaptation or all spatial context is ineffective.
|
||||
|
||||
Completed-phase reuse was exercised against the real P parent and child outputs:
|
||||
the original receipts and tokens returned, all declared artifact bytes were
|
||||
rechecked, and the raising runner was never called (zero additional fits).
|
||||
No live map, accepted target or production model was changed. Compact evidence
|
||||
and two final images per experiment are retained; exact disposable PNG retirement
|
||||
is recorded separately after archive verification. The next experiment admission
|
||||
is documented in `parent-refresh-1/NEXT_EXPERIMENT_ADMISSION.md`: versioned
|
||||
supervision, confirmed geographic split, whole-object and hard-background
|
||||
coverage, and bounded payload loading before scaling to many scans. More
|
||||
training on the same consumed 26 windows is not an independent transfer test.
|
||||
The original `parent-refresh-1/IMPLEMENTATION-CHECKPOINT.md` is historical; current
|
||||
execution evidence is in its versioned controller receipts and
|
||||
`autonomous-session-20261026.json` under the experiment base.
|
||||
|
||||
|
||||
## Завершённый полный RGB-пилот · 26.10.2026
|
||||
|
||||
Владелец прямо поручил реализовать v4-план. Выполнен один полный RGB SegFormer MiT-B0 fit на current26:5000 шагов/seed11/558.378s; checkpoint закреплён. G12 восстановлен с побайтовым M4 replay tail/fine/coarse/logits. На четырёх заранее перечисленных окнах двух сканов без географического процесса получены native predictions, метрики только known support и точная локальная геометрия всех восьми масок.
|
||||
|
||||
Терминальное решение root и отдельного визуального критика — rejected_in_tested_recipe_and_support. FP5866→516 и gap-FP4719→121 улучшились, но FN724→1363; на source-1 FN50→1226 нарушает неизменный gate. Native review подтверждает исправление слияния полос N52-01 и новый разрыв полосы N51-07. Полные кадры показывают обширные срабатывания B0 на плитке/артефактах вне узких эталонов; это qualitative risk, не численная разметка unknown. Модель изолирована; live map не меняется. Архитектура целиком не отвергнута; повтор без новой проверяемой причины не запускается.
|
||||
|
||||
Реализован paint_comparison.py и19 целевых tests RGB/scorer; Ruff passed. Один root+один повторно используемый критик; broad research/sweep отсутствовали. Старый протокол и неудачные технические probes сохранены, включая исправление двух разных TF32-режимов historical extractor/decoder. Владелец разрешил этот ограниченный run; старые27 fit не использовались. Worker power/raw/live map/packages не изменялись.
|
||||
|
||||
Актуальные артефакты: outputs/semantic-rgb-comparison-20261026/{REPORT.md,root-decision.json,critic-review.json,comparison.json,resource-summary.json,next-step.json,closeout-receipt.json}. Тяжёлые файлы на одноимённом Worker experiment. Один checkpoint и два фиксированных probability массива N51-07 сохранены для следующей оценки; остальной явно перечисленный derived scratch удаляется после verified текстового архива, два итоговых листа остаются на Mac.
|
||||
|
||||
Следующий bounded-пакет: полная source-bound development-разметка одного N51-07, независимый review и оценка уже сохранённых predictions, без нового обучения/порогов. Проверить слепую зону узкого ROI и цену исправления полного окна. Эти четыре просмотренные окна использованы для выбора следующего направления; при дальнейшем тюне они development. Новое качество принимается на отдельно замороженных source IDs, без адресного/географического поиска. Этот результат заменяет прежний статус «сравнение не выполнено», но не закрывает всю автоматическую разметку.
|
||||
Reference in New Issue
Block a user