docs: AGENT-01 rebased onto v0.6.5 and checked against FLY_TRACE; FLYSIM01 import seeds learning.updates
This commit is contained in:
parent
563afb18f0
commit
dc403e8cdf
2 changed files with 24 additions and 0 deletions
|
|
@ -187,6 +187,24 @@ turned out to be the identity: the legacy names are already `Id`s. It is recorde
|
||||||
[legacy-gameboy-v1](legacy-gameboy-v1.md) section 13, with the other agent-adapter choices. The
|
[legacy-gameboy-v1](legacy-gameboy-v1.md) section 13, with the other agent-adapter choices. The
|
||||||
harness's `ReferenceSource` is the seam for FND-01's `FLY_TRACE`.
|
harness's `ReferenceSource` is the seam for FND-01's `FLY_TRACE`.
|
||||||
|
|
||||||
|
**2026-09-29 (AGENT-01 rebased onto v0.6.5 and checked against FND-01's trace).** The rebase onto
|
||||||
|
main had no conflicts. Main changed nothing the worker reads except the adapter id in the
|
||||||
|
fixtures (v7). The toy goldens and the FAFB reference digest are unchanged. `FLY_TRACE` carries
|
||||||
|
the frames only as digests and not the `{boot, bound, location}` context, so it checks a worker
|
||||||
|
and cannot drive one. `legacy_parity::read_frame_trace` and `check_against_trace` hold a run's
|
||||||
|
records to it: ticks, clock, exact remainder, rates digest, spike-set digest and decision. The
|
||||||
|
script is checked too: the same sugar, frames, reward events and rollback.
|
||||||
|
`flysim/tests/agent_trace_parity.rs` is the host. It runs `LegacyFrame` on the ROM with the trace
|
||||||
|
on, records the missing inputs and checks the worker (in-process, thread and process) and the
|
||||||
|
direct reference against the trace:
|
||||||
|
|
||||||
|
- the toy connectome in raw mode from power-on, for every ROM run;
|
||||||
|
- `gameboy-legacy-fafb-v783-v1` in macros mode from stream checkpoints (`FLY_AGENT01_FAFB=1`),
|
||||||
|
with sugar and a ratchet rollback, the worker seeded from the checkpoint's agent state.
|
||||||
|
|
||||||
|
Both are identical. Found on the way: a `FLYSIM01` import must start `learning.updates` at the
|
||||||
|
legacy `plasticity.updates` (legacy-gameboy-v1 section 13, amendment of 2026-09-29).
|
||||||
|
|
||||||
**Implement:** adapter over existing LIF, plasticity, retina and fixed readout primitives;
|
**Implement:** adapter over existing LIF, plasticity, retina and fixed readout primitives;
|
||||||
reference-first composition/goldens; independently seeded agent state and shared immutable data.
|
reference-first composition/goldens; independently seeded agent state and shared immutable data.
|
||||||
Avoid using the old whole-frame `tick` wrapper if it changes the specified phase ordering.
|
Avoid using the old whole-frame `tick` wrapper if it changes the specified phase ordering.
|
||||||
|
|
|
||||||
|
|
@ -389,6 +389,12 @@ agent-adapter choices that the sections above leave open. `LegacyAgentWorker`
|
||||||
`signal` is `plasticity.signal`. The legacy per-synapse count (`LearningStats.changed`, the
|
`signal` is `plasticity.signal`. The legacy per-synapse count (`LearningStats.changed`, the
|
||||||
gains away from 1.0) is not carried. It can still be read from a captured state.
|
gains away from 1.0) is not carried. It can still be read from a captured state.
|
||||||
`stimulusRemainingMs` is the network's `reward_remaining` after the operation.
|
`stimulusRemainingMs` is the network's `reward_remaining` after the operation.
|
||||||
|
*Amended 2026-09-29 (AGENT-01 rebase):* `FLYSIM01` records `plasticity.updates` but not the
|
||||||
|
reinforcement calls. An agent imported from a `FLYSIM01` agent state therefore starts
|
||||||
|
`updates` at that state's `plasticity.updates`, which is a lower bound on the calls made. Starting
|
||||||
|
it at zero makes the first telemetry violate `changed <= updates`: on the live fly `changed` is
|
||||||
|
in the thousands. `legacy_parity::legacy_reinforcements` is the rule. The import that ENV-01
|
||||||
|
or STATE-01 ships must apply it.
|
||||||
- *Spikes.* Each `Agent.Commit` reply carries the attachment `telemetry.spikes`, with content type
|
- *Spikes.* Each `Agent.Commit` reply carries the attachment `telemetry.spikes`, with content type
|
||||||
`application/x-fly-spike-bitset`. It uses the legacy feed's layout: bit *i* is neuron *i*,
|
`application/x-fly-spike-bitset`. It uses the legacy feed's layout: bit *i* is neuron *i*,
|
||||||
`ceil(neurons/8)` bytes. It covers the transition's ticks: a neuron is set when its last spike
|
`ceil(neurons/8)` bytes. It covers the transition's ticks: a neuron is set when its last spike
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue