<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SITHU NYEIN</title>
    <description>The latest articles on DEV Community by SITHU NYEIN (@sithunyein).</description>
    <link>https://dev.to/sithunyein</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4224220%2F2412ba3a-089a-4996-8a98-57c49a63a508.jpg</url>
      <title>DEV Community: SITHU NYEIN</title>
      <link>https://dev.to/sithunyein</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sithunyein"/>
    <language>en</language>
    <item>
      <title>RuleSync: How I Built a Lived-Budget Engine on Walrus and Tatum</title>
      <dc:creator>SITHU NYEIN</dc:creator>
      <pubDate>Tue, 03 Nov 2026 14:45:39 +0000</pubDate>
      <link>https://dev.to/sithunyein/rulesync-how-i-built-a-lived-budget-engine-on-walrus-and-tatum-53ah</link>
      <guid>https://dev.to/sithunyein/rulesync-how-i-built-a-lived-budget-engine-on-walrus-and-tatum-53ah</guid>
      <description>&lt;p&gt;A household writes down a rule: groceries alone, under $18. Six weeks later groceries are landing at $45, through one person, never discussed. The budget screen still says $18. Nobody lied. The rule on paper just stopped describing the house.&lt;/p&gt;

&lt;p&gt;RuleSync is a spending app for shared money that notices that gap, asks the house to adopt the rule it actually keeps, and then judges the next spend against both. When the adopted rule keeps breaking, the app proposes a revision of its own. You can test the live demo at &lt;a href="https://rulesync.sithunyein.com" rel="noopener noreferrer"&gt;rulesync.sithunyein.com&lt;/a&gt; or check out the code repository at &lt;a href="https://github.com/thesithunyein/rulesync" rel="noopener noreferrer"&gt;github.com/thesithunyein/rulesync&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The loop
&lt;/h2&gt;

&lt;p&gt;Written rule, observed pattern, proposed lived rule, adoption, judgment of the next spend, recorded outcome, and revision when the new rule fails too often.&lt;/p&gt;

&lt;p&gt;Open the sample house (Alex, Sam, and Max, six weeks, 32 spends, $1,472) and the home screen states the disagreement in one line: "You wrote $18 alone. Groceries actually reaches $45." Adopt it and the rule moves onto the books. The card then proposes the next pattern the house keeps showing: "Two names over $100 is not really two people."&lt;/p&gt;

&lt;p&gt;Log a grocery above the adopted cap and the verdict tells you which rule just broke, the written one or the lived one. Every verdict is also written back as an outcome. Two breaks against the same adopted cap and the app offers a raise: "Raise it to $60, or keep it and talk first." Take it, and the house has changed its own rule. None of this needs a wallet signature or a token. The chain stays off the screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it learns
&lt;/h2&gt;

&lt;p&gt;Each pattern needs repetition before it is allowed to speak. Nothing is inferred from a single spend, and confidence is the count divided by four, capped at one, so a rule seen four times is as sure as a rule seen forty. Solo cap requires one category, four or more spends, one approver, never discussed, and a top amount at least 1.5x the written floor. Rhythm detects when one weekday holds at least 75% of a category across three or more weeks with a tight spread. Allowance flags when one person makes at least 65% of a category across four or more purchases. Never discussed marks four or more spends under the floor with none of them discussed. False dual catches four or more spends above the two-name threshold with 75% of second signatures inside three minutes. On the sample house that produces seven lived rules, including "Friday is fast food, $33 on average," "Groceries actually reaches $45," "79% of Max's money goes to games," and "Second signature within 3 minutes in 4 of 5."&lt;/p&gt;

&lt;h2&gt;
  
  
  The verdict writes an outcome
&lt;/h2&gt;

&lt;p&gt;A verdict is not just something shown on screen and forgotten. Every saved spend writes a second record beside it, an outcome with one of three kinds: matched, broke the written rule, or broke the adopted cap. The outcome carries the category, the amount, the member, and the cap that was in force at the time.&lt;/p&gt;

&lt;p&gt;That record is what lets the app learn from its own decisions. The Rules screen counts the breaks against the cap the house actually adopted, not against the recalculated pattern, and tracks the worst amount so far. Two breaks is the threshold for a proposal, and the suggested number is the higher of the next five dollars above the cap or the worst spend rounded up to five. On the demo that turns two grocery runs, $52 and $58, into "Groceries broke the $45 cap 2 times. Highest was $58. Raise it to $60, or keep it and talk first."&lt;/p&gt;

&lt;p&gt;Taking the raise writes a new adopt record and a new house record carrying the updated caps. That second record matters, and the next section explains why.&lt;/p&gt;

&lt;h2&gt;
  
  
  What gets remembered
&lt;/h2&gt;

&lt;p&gt;Four kinds of records go to Walrus, each as one line of text with a JSON payload after a &lt;code&gt;||&lt;/code&gt; marker. House stores name, members, written floor, two-name threshold, the adopted caps, and a timestamp, because without it there is no house to restore into and no current cap. Spend logs member, amount, category, merchant, date, discussed, approvals, and second-sign delay, giving the engine raw decisions rather than today's conclusions. Adopt records which lived rule the house accepted along with the cap or flag it implies, so adoption decisions survive the browser. Outcome records the verdict, the decision it belongs to, the cap in force, and when it happened, so the app can measure whether its own advice is holding.&lt;/p&gt;

&lt;p&gt;The encoding is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;RuleSync ${kind}. ${sentence} ||${JSON.stringify(payload)}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The sentence is for recall and for a human reading the namespace. The payload is what rebuilds the state exactly. A line that cannot be decoded is ignored, so a malformed memory cannot corrupt the house. Rules the house has not adopted are recomputed from the restored spends. That keeps one source of truth: decisions and adoptions are memory, everything else is derived. The Rules screen also lists the rows Walrus returns in a Memory on Walrus panel, so the memory is inspectable rather than implied. The panel is a recall sample, not a full dump, and the count beside the heading is the namespace's live row count. A record that cannot affect the ledger, such as a spend with a non-positive amount, is ignored on restore.&lt;/p&gt;

&lt;h2&gt;
  
  
  Restoring a house into an empty browser
&lt;/h2&gt;

&lt;p&gt;This is the part that matters. Everything above follows the house, not the browser. A new laptop, a cleared cache, or a second phone is where a shared budget normally dies.&lt;/p&gt;

&lt;p&gt;Each house gets its own ten-character id in the link and its own Walrus namespace, &lt;code&gt;rulesync-&amp;lt;id&amp;gt;&lt;/code&gt;. The sample is no exception: every visitor who opens it gets a fresh house and a fresh namespace, seeded once while that namespace is empty. After that, logging a spend writes the spend and its outcome, adopting a rule writes the adoption, raising a cap writes a new adoption and a new house record, and closing a house writes a house record with a timestamp that says it is closed. Writes are batched twenty at a time and carry an idempotency key so a retry does not duplicate a record.&lt;/p&gt;

&lt;p&gt;On a cold load of a house link, the app recovers the namespace before it shows anything to create, then rebuilds the household, the spends, the adoptions, the outcomes, and the current caps. The screen says "Waking the house from Walrus" while it works, which takes a few seconds on a cold browser. localStorage cannot do this because it is per browser, it is a blob the app cannot query, and the second person in the household cannot see it. For shared money the memory has to live somewhere both people can reach, and it has to be readable by the app rather than by whoever remembers the password.&lt;/p&gt;

&lt;p&gt;The first restore implementation asked Walrus one question with a limit of 40:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;mem&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;recall&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;query&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;RuleSync house spend adopted rule groceries&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Against a namespace holding a house record, 32 spends, and an adopted rule, the ranking returned 39 spends and one adoption and no house. Restore requires the house record, so it failed closed and the app quietly showed an empty setup screen in a fresh browser. Everything looked fine on a machine that already had local state.&lt;/p&gt;

&lt;p&gt;The fix was to stop trusting a single similarity query for a structured record:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;house&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;adopt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;outcome&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;broad&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;all&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
  &lt;span class="nx"&gt;mem&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;recall&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;query&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;HOUSE_QUERY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;namespace&lt;/span&gt; &lt;span class="p"&gt;}),&lt;/span&gt;
  &lt;span class="nx"&gt;mem&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;recall&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;query&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;RuleSync adopt adopted rule on the books&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;namespace&lt;/span&gt; &lt;span class="p"&gt;}),&lt;/span&gt;
  &lt;span class="nx"&gt;mem&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;recall&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;query&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;RuleSync outcome broke the cap matched&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;namespace&lt;/span&gt; &lt;span class="p"&gt;}),&lt;/span&gt;
  &lt;span class="nx"&gt;mem&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;recall&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;query&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;RuleSync spend adopted rule groceries&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;namespace&lt;/span&gt; &lt;span class="p"&gt;}),&lt;/span&gt;
&lt;span class="p"&gt;]);&lt;/span&gt;
&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;lines&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;uniqueLines&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
  &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;house&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;results&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;adopt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;results&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;outcome&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;results&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;broad&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;results&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;]);&lt;/span&gt;
&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;some&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;isHouseMemory&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;wide&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;mem&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;recall&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;query&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;RuleSync house&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;namespace&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
  &lt;span class="nx"&gt;lines&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;uniqueLines&lt;/span&gt;&lt;span class="p"&gt;([...&lt;/span&gt;&lt;span class="nx"&gt;wide&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;results&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;hit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;]);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A focused query for the record that must exist, dedicated queries for adoptions and outcomes, a broad query for the history, a de-duplicating merge, and a wide fallback if the house is still missing. Restore now works in a clean browser, and the app shows a restoring state instead of the setup form so nobody can start a second house by accident.&lt;/p&gt;

&lt;p&gt;Then the second bug taught the sharper lesson. After a cap was raised, there were two nearly identical adopt records in the namespace, one at $45 and one at $60. A top-k recall returned one of them, not necessarily the newer one, so a cold restore could put the old cap back on the books. Rank order is not something the app controls. The fix was to put the authoritative caps on the newest house record and let that record win over any adopt row for the same category. The Rules line is also derived from the outcome rows that recorded the old cap, so it reads "On the books at $60, raised from $45 after 2 breaks" rather than comparing against the recalculated $58 pattern.&lt;/p&gt;

&lt;p&gt;The lesson is worth passing on: when a memory is a structured record rather than prose, query for it directly and treat similarity as a bonus, not a guarantee. And if a value must survive a reopen, put it on the record the restore always reads, not on one of several similar rows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tatum: reading Sui, then importing a transfer
&lt;/h2&gt;

&lt;p&gt;The Rules screen reads a Sui address through Tatum's Sui GraphQL gateway at &lt;a href="https://sui-mainnet.gateway.tatum.io/graphql" rel="noopener noreferrer"&gt;sui-mainnet.gateway.tatum.io/graphql&lt;/a&gt;. JSON-RPC is no longer available on that gateway, so the app queries for the SUI balance and the last eight outgoing transactions, and turns negative balance changes into a short transfer list. At the time of writing the demo wallet reads 2.1966 SUI with two recent transfers.&lt;/p&gt;

&lt;p&gt;A transfer is a spend that already happened. Each row has an Import action: it opens the log sheet with the amount, digest and date prefilled, the house picks the member and the category, and saving writes a normal spend and its outcome to Walrus. The spend is keyed by digest, so importing the same transfer twice is a no-op and the row switches to Imported.&lt;/p&gt;

&lt;p&gt;That puts Tatum inside the loop instead of beside it. Read the chain, bring one transfer into the ledger, and the same engine and the same memory handle it like any spend the house logged by hand. All of this happens in server functions. The Tatum key and the Walrus private key stay on the server; the browser only receives the balance, the transfer list, and the public account ID. We checked the built client bundles for the key names before shipping.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is on Mainnet now
&lt;/h2&gt;

&lt;p&gt;The current deployment writes under account &lt;code&gt;0xffc3f0363abb929a71c85181e96771cff3fac17a78936eef4ba2f17c7ce5080f&lt;/code&gt; on the Walrus Memory relayer at &lt;a href="https://relayer.memory.walrus.xyz" rel="noopener noreferrer"&gt;relayer.memory.walrus.xyz&lt;/a&gt;. Each house has its own namespace, &lt;code&gt;rulesync-&amp;lt;house id&amp;gt;&lt;/code&gt;. A sample visit seeds 33 records into its namespace: one house row and 32 spends. Every later action appends more: an adoption, a spend and its outcome, a cap revision with its new house row. The base &lt;code&gt;rulesync&lt;/code&gt; namespace from early tests still holds the older rows and is not read by new houses.&lt;/p&gt;

&lt;p&gt;Walrus Memory is append-only. There is no delete, so the app cannot erase history, and closing a house is a marker that makes the link fail closed rather than a cleanup. Rows are encrypted at rest by the relayer inside a TEE and decrypted on recall. That is encryption at rest, not end to end, because the delegate key lives on the server.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is next
&lt;/h2&gt;

&lt;p&gt;Next is a verdict that cites the exact memory row it used, rather than the rule it came from, so a household can see which decision is speaking. The larger piece is true end to end encryption: client side keys and client side embeddings, which is a spec first change rather than a flag.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it in a minute
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open &lt;a href="https://rulesync.sithunyein.com" rel="noopener noreferrer"&gt;rulesync.sithunyein.com&lt;/a&gt; in a fresh browser window.&lt;/li&gt;
&lt;li&gt;Click "Or open the sample house". Every visit gets a fresh house link and its own namespace.&lt;/li&gt;
&lt;li&gt;Wait for the seed to finish. It starts with "Writing 33 records…" and takes about 90 seconds; the row count can trail the message by a few rows while the relayer catches up.&lt;/li&gt;
&lt;li&gt;Adopt the rule the home screen proposes.&lt;/li&gt;
&lt;li&gt;Log a $52 grocery, then a $58 grocery, both for Alex in Groceries.&lt;/li&gt;
&lt;li&gt;Open Rules to read the two breaks, then go Home and take the raise to $60.&lt;/li&gt;
&lt;li&gt;Open Rules again and read "On the books at $60, raised from $45 after 2 breaks."&lt;/li&gt;
&lt;li&gt;Scroll to the Sui block, read the balance through Tatum, and import one transfer.&lt;/li&gt;
&lt;li&gt;Copy the invite link, open it in a private window, and watch the house wake from Walrus with the $60 cap intact.&lt;/li&gt;
&lt;li&gt;If you want, close the house and watch the same link stop restoring.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Built for the Tatum x Walrus Total Recall hackathon, Consumer Finance track.&lt;/p&gt;

</description>
      <category>web3</category>
      <category>blockchain</category>
      <category>hackathon</category>
    </item>
  </channel>
</rss>
