Review Directed Diffusion Gradients
Review Directed Diffusion Gradients
Follow the local gradient ledger through reinforcement, fallback and expiry.
Directed diffusionMap key → Outbound control ⇠ Stored gradient toward the sender▣ Inbound data toward the sink Orange dashed gradient · avoid under this policy
Interest I → relays The relays receive I from the sink and store directions back to it.
Relay A ledger
- Interest I · neighbor Sink
- Exploratory
Relay B ledger
- Interest I · neighbor Sink
- Exploratory
Matching source ledger
- Interest I · neighbor Relay A
- No live entry
- Interest I · neighbor Relay B
- No live entry
Interest I → source The source receives I via each relay and stores each neighbor as a separate return direction.
Relay A ledger
- Interest I · neighbor Sink
- Exploratory
Relay B ledger
- Interest I · neighbor Sink
- Exploratory
Matching source ledger
- Interest I · neighbor Relay A
- Exploratory
- Interest I · neighbor Relay B
- Exploratory
Sink review record · Interest I
- Decision
- Exploratory
- Branch A evidence
- Await matching reports
- Branch B evidence
- Await matching reports
Propagate Interest I and record local gradients
Interest I travels outward. Each receiver stores a local return direction to the neighbor that sent it.
Exploratory data · B Matching data follows the B gradient inward.
Relay A ledger
- Interest I · neighbor Sink
- Exploratory
Relay B ledger
- Interest I · neighbor Sink
- Exploratory
Matching source ledger
- Interest I · neighbor Relay A
- Exploratory
- Interest I · neighbor Relay B
- Exploratory
Sink review record · Interest I
- Decision
- Await B arrival
- Branch A evidence
- Await qualifying evidence
- Branch B evidence
- Exploratory report in flight
B arrival recorded The sink still needs comparative delivery and freshness evidence.
Relay A ledger
- Interest I · neighbor Sink
- Exploratory
Relay B ledger
- Interest I · neighbor Sink
- Exploratory
Matching source ledger
- Interest I · neighbor Relay A
- Exploratory
- Interest I · neighbor Relay B
- Exploratory
Sink review record · Interest I
- Decision
- Comparison pending
- Branch A evidence
- Await qualifying evidence
- Branch B evidence
- B arrival recorded · delivery and freshness comparison pending
Return exploratory data to the sink
A report on branch B starts the comparison. The sink still needs delivery and freshness evidence.
Reinforce I → Relay A Relay A receives the control and prefers its gradient toward the sink.
Relay A ledger
- Interest I · neighbor Sink
- Reinforced · preferred
Relay B ledger
- Interest I · neighbor Sink
- Exploratory
Matching source ledger
- Interest I · neighbor Relay A
- Exploratory
- Interest I · neighbor Relay B
- Exploratory
Reinforce I → source The matching source receives the control and prefers its Relay A entry. Branch B remains exploratory.
Relay A ledger
- Interest I · neighbor Sink
- Reinforced · preferred
Relay B ledger
- Interest I · neighbor Sink
- Exploratory
Matching source ledger
- Interest I · neighbor Relay A
- Reinforced · preferred
- Interest I · neighbor Relay B
- Exploratory
Sink review record · Interest I
- Decision
- Prefer A
- Branch A evidence
- Qualifying delivery and current data
- Branch B evidence
- Delivery evidence still insufficient
Supporting reports and route evidence
- Reports compared
- A’s current reports from the matching source met delivery and freshness for I. B’s exploratory arrival matched the source but did not yet establish qualifying delivery.
- Duplicate behavior
- A repeated a report already credited. The sink logged the duplicate and counted the original delivery once.
- Link warnings and relay pressure
- Relay A reported no link warning and its queue kept up with new reports.
- Trigger to reconsider
- Reopen the decision if delivery degrades or reports fall outside the freshness requirement.
Reinforce branch A hop by hop
The sink chooses A from the evidence. Each hop changes its own gradient when reinforcement reaches it.
Negative reinforcement → Relay A On receipt, Relay A stops forwarding I over its affected hop toward the sink.
Relay A ledger
- Interest I · neighbor Sink
- Downgraded · avoid under this policy
Relay B ledger
- Interest I · neighbor Sink
- Exploratory
Matching source ledger
- Interest I · neighbor Relay A
- Reinforced · preferred
- Interest I · neighbor Relay B
- Exploratory
Negative reinforcement → source On receipt, the source stops selecting A. The B entries stay exploratory while evidence accumulates.
Relay A ledger
- Interest I · neighbor Sink
- Downgraded · avoid under this policy
Relay B ledger
- Interest I · neighbor Sink
- Exploratory
Matching source ledger
- Interest I · neighbor Relay A
- Downgraded · avoid under this policy
- Interest I · neighbor Relay B
- Exploratory
Sink review record · Interest I
- Decision
- Avoid A under this policy
- Branch A evidence
- Degraded delivery and stale reports
- Branch B evidence
- Collect fallback delivery and freshness evidence
Supporting reports and route evidence
- Reports compared
- Reports from the matching source arrived late on A. Some expected reports were missing, so A failed delivery and freshness. B’s fallback review was still open.
- Duplicate behavior
- A delivered a repeat of an already credited report. It did not fill the missing delivery.
- Link warnings and relay pressure
- Relay A reported retry warnings. The queue was backing up as reports waited to forward.
- Decision evidence
- The sink downgraded A after the missed deliveries and stale data.
Downgrade A as the evidence degrades
The downgrade moves through A hop by hop. Each receiving node stops using its affected A gradient under this policy while B remains exploratory.
Reinforce I → Relay B Relay B receives the control and prefers its gradient toward the sink.
Relay A ledger
- Interest I · neighbor Sink
- Downgraded · avoid under this policy
Relay B ledger
- Interest I · neighbor Sink
- Reinforced · preferred
Matching source ledger
- Interest I · neighbor Relay A
- Downgraded · avoid under this policy
- Interest I · neighbor Relay B
- Exploratory
Reinforce I → source The source prefers its Relay B entry on receipt. A remains downgraded while its entries are live.
Relay A ledger
- Interest I · neighbor Sink
- Downgraded · avoid under this policy
Relay B ledger
- Interest I · neighbor Sink
- Reinforced · preferred
Matching source ledger
- Interest I · neighbor Relay A
- Downgraded · avoid under this policy
- Interest I · neighbor Relay B
- Reinforced · preferred
Sink review record · Interest I
- Decision
- Selected continuation · prefer B
- Branch A evidence
- Downgraded and still live
- Branch B evidence
- Current fallback reports meet delivery and freshness conditions and the remaining checks stay within accepted conditions.
Supporting reports and route evidence
- Reports compared
- B’s fallback reports came from the matching source, arrived within the freshness window and met the delivery requirement for I.
- Duplicate behavior
- The sink found no repeated identities in the fallback reports and credited each qualifying report once.
- Link warnings and relay pressure
- Relay B reported no link warning and no queue buildup while forwarding the fallback reports.
- Decision evidence
- B met the contract with those checks in range. Reopen the decision if delivery or freshness degrades.
Alternative · Interest unresolved
If no remaining path meets the contract, keep B exploratory and record the unmet interest.
Review the fallback against the interest contract
Reinforce B hop by hop if its fallback evidence meets the interest. If no remaining path meets the contract, record the interest as unresolved.
Relay A expires Remove the unrefreshed I entry at Relay A and its stored arrow. Other entries stay live.
Relay A ledger
- Interest I · neighbor Sink
- No live entry
Relay B ledger
- Interest I · neighbor Sink
- Reinforced · preferred
Matching source ledger
- Interest I · neighbor Relay A
- Downgraded · avoid under this policy
- Interest I · neighbor Relay B
- Reinforced · preferred
Relay B expires Remove the unrefreshed I entry at Relay B. The source still has its local entries.
Relay A ledger
- Interest I · neighbor Sink
- No live entry
Relay B ledger
- Interest I · neighbor Sink
- No live entry
Matching source ledger
- Interest I · neighbor Relay A
- Downgraded · avoid under this policy
- Interest I · neighbor Relay B
- Reinforced · preferred
Matching source expires Remove its unrefreshed I entries and return arrows. The sink keeps its review record.
Relay A ledger
- Interest I · neighbor Sink
- No live entry
Relay B ledger
- Interest I · neighbor Sink
- No live entry
Matching source ledger
- Interest I · neighbor Relay A
- No live entry
- Interest I · neighbor Relay B
- No live entry
Sink review record · Interest I
- Decision
- Review need and reissue if still needed
- Branch A evidence
- A was downgraded after delivery degraded and reports grew stale.
- Branch B evidence
- B met the fallback evidence requirements.
- Expiry trigger
- Interest I remained unrefreshed.
- Interest owner
- Sink application owner reviews continued need.
- Local expiry record
- Relay A has expired. Relay B and the matching source still hold live state.
Supporting reports and route evidence
- Reports retained
- The sink kept the matching source’s current fallback reports delivered by B, alongside A’s late reports and missing deliveries.
- Duplicate behavior
- The record keeps A’s repeated report and B’s check for repeated identities. Credit was given once per qualifying report.
- Link warnings and relay pressure
- The record keeps A’s retry warnings and growing queue, and B’s report of no link warning or queue buildup.
- Decision evidence
- B had met the contract before expiry. The owner checks whether I is still needed before reissuing it.
Expire unrefreshed state independently
Unrefreshed state ages out locally. The sink keeps the review record and the owner decides whether the interest should be reissued.
Technical boundaries. The diagram follows a sink, a matching source and two relay branches for Interest I. The fallback is reviewed against the same interest contract, with an unresolved interest shown as an alternative outcome. Expiry is local to each node.