r/synapcores • u/Alternative_Pin9598 • 1h ago
Ask the maintainers #6: when two sources disagree, which value does your agent keep — and can you see why it dropped the other? A memory object kept the system-of-record over a newer guess, broke a tie by event time, and logged the reason (real output)
Sixth "Ask the maintainers" thread: ask anything about SynapCores (install, a query that misbehaves, "can it do X") or show what you built. We answer here; good questions get a longer answer in the Wednesday build log.
(This sub is run by the SynapCores team. Everything below ran today on 2.5.1 on a Mac mini (Apple M4), real output.)
This week's starter question: "If two sources tell my agent different things, which value does it keep — and can I see why it dropped the other?"
A memory object stores every claim as an episode with a source_type and an event_time, and keeps one current value per attribute. Two rules decide that value. Higher source authority wins. On equal authority the later event_time wins, where "later" means a later event_time, not the order the claim arrived. A claim that loses is still written; it just stays an episode and never becomes a fact, and the REMEMBER response says it was not accepted and why. One service, "checkout", two attributes.
1. One memory object, deterministic
CREATE MEMORY am6_conflict IDENTITY svc WITH (llm_extraction = false)llm_extraction = false means we pass attribute, value, source_type and event_time ourselves, so nothing here rides on a model guess.
2. Authority: the record beats the guess, even a newer guess
Three writes about which database checkout uses, in arrival order:
REMEMBER am6_conflict FOR svc = 'checkout'
'Metrics guess: checkout mostly talks to db-07.'
WITH (attribute = 'db_host', value = 'db-07', source_type = 'agent_inference', event_time = '2026-11-22T12:00:00Z')
REMEMBER am6_conflict FOR svc = 'checkout'
'Service catalog of record: checkout is pinned to db-12.'
WITH (attribute = 'db_host', value = 'db-12', source_type = 'system_of_record', event_time = '2026-11-21T08:00:00Z')
REMEMBER am6_conflict FOR svc = 'checkout'
'Newer metrics guess: checkout now talks to db-99.'
WITH (attribute = 'db_host', value = 'db-99', source_type = 'agent_inference', event_time = '2026-11-30T12:00:00Z')The catalog (db-12) is dated a day before the first guess, and the third write (db-99) is the newest of the three. The write that lost says so in its own response:
'db_host' = 'db-99' was not accepted as current: lower source authority than the accepted value3. The current value, with the rank that decided it
The region attribute gets the same treatment from three catalog readings; its full writes and the event_time tie-break are in a reply below. Here is the resulting state for both:
SELECT attribute, value, authority, authority_rank, valid_from, previous_value
FROM _mem_am6_conflict_state
WHERE identity = 'checkout'
ORDER BY attribute
attribute | value | authority | authority_rank | valid_from | previous_value
db_host | db-12 | system_of_record | 70 | 2026-11-21 08:00:00 | db-07
region | us-west | system_of_record | 70 | 2026-11-25 09:00:00 | us-eastdb_host: system_of_record outranks agent_inference (70 vs 10), so the record won on authority. region: a tie at 70, so the later event_time won (us-west dated Nov 25 over us-east dated Nov 15). previous_value shows what each one replaced.
The payoff — one join that shows every dropped claim kept as a readable episode, plus the TRACE that explains why it kept db-12 — is in the first comment.
Free Community Edition: https://synapcores.com/download?utm_source=reddit&utm_medium=owned&utm_campaign=synapcores-ask-1204
Ask us anything below. Our question for you: when two of your systems disagree about the same fact, which one should win?