Skip to content

feat(export): restacked item details and restacks without a comment - #19

Merged
jiro-by-nori[bot] merged 1 commit into
mainfrom
feat/export-restacked-item
Nov 13, 2026
Merged

jiro-by-nori[bot] merged 1 commit into
mainfrom
feat/export-restacked-item

Conversation

@jiro-by-nori

@jiro-by-nori jiro-by-nori Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Summary

🤖 Generated with Nori

For the growth-ops review feed (nori_agent_dashboard), restack cards need to show what was restacked, and Amol wants restacks without a comment to be ingested too.

  • A Note that restacks a Note or a post now carries restacked: { kind, id, author: { name, handle }, title?, text, url }, and the artifact advertises note-restacked-item. text and restackOf are unchanged, so the legacy daily cycle behaves as before.
  • New note export --include-restacks reads the full profile feed, because the types=note feed omits bare restacks. It exports other authors' Notes and posts restacked without a comment as restack-c-<id> / restack-p-<id> (empty text, publishedAt = restack time) and advertises note-restacks. Restacks of the author's own content are skipped.
  • Without the flag, a restack without a comment is never exported. Before this change, a bump of your own Note could leak in as the original Note.

Test Plan

  • npm test 67 pass, npm run lint clean
  • New fixtures: restack with a comment (note and post), bare restacks with and without the flag
  • Live run against @theahura (--lookback-hours 240 --include-restacks): exports restack-c-358491259 (Eliana Du's Note, 2026-10-11) and restacked on 365425420, 364893805, 362202532 and 362183274

… a comment on request

Notes that restack a Note or post carry restacked {kind,id,author,title?,text,url}
(capability note-restacked-item). --include-restacks reads the full profile feed and
exports other authors' Notes and posts restacked without a comment as restack-c-<id> /
restack-p-<id> (capability note-restacks). Default output is unchanged apart from the
added field.

🤖 Generated with [Nori](https://noriagentic.com/)

Co-Authored-By: Nori <contact@tilework.tech>
@jiro-by-nori
jiro-by-nori Bot merged commit f5bf87f into main Nov 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant