Inspiration

A handoff often says "checked" without preserving which instructions made that check valid. When the next shift receives revised instructions, it has two clear options that both lose something: trust everything, or repeat everything. HyperCard showed how a path through linked cards can make a decision legible. Stack Relay applies that idea to revision-aware handoffs.

Created by inunanba.

What it does

Stack Relay records a route through a fictional exhibit-kit workflow, including the reason saved at each decision.

When the sorting instruction changes from v1 to v2, Stack Relay compares the recorded route with the new card edition:

  • the inventory match at Card 2 is carried forward;
  • the affected sorting decision reopens at Card 3;
  • the old Card 4 result remains visible as previous history; and
  • the user follows the revised branch and saves a new record without rewriting v1.

An unclassified revision fails closed to Card 2 instead of guessing which checks are reusable. The app is a static, local browser demo with no external requests and no sign-up.

Created by inunanba.

How we built it

The project separates the workflow into four small parts:

  • card editions and a fictional sample record;
  • a revision comparator that returns carried checks and the earliest resume target;
  • a browser UI that appends new records in local storage; and
  • an isolated live adapter used for the Kiro red-to-green exercise.

This separation matters because a link can work and still open the wrong card. The test suite checks both graph validity and semantic resume behavior. The repository includes a root .kiro/ directory, an MIT license, local run instructions, and dependency-free Node checks.

Created by inunanba.

How we used Kiro

We used Kiro IDE 1.4.121 with specs, steering, tasks, and hook definition files stored under .kiro/ at the repository root.

The key exercise began with an intentional defect: the live adapter returned Card 4 after a sorting-rule revision, even though Card 3 was the first affected decision. The normal app tests stayed green, while the isolated live test failed. Guided by the spec, Kiro changed only the adapter to use the comparator's resume target. It did not weaken the expectation or rewrite the main app. The rerun passed 3/3 live tests and 8/8 app tests.

Kiro then added acceptance coverage from the task list for two boundaries: an unknown revision falls back to Card 2, and identical editions report no change.

The repository also contains v1 JSON hook definitions for post-save link checking and post-task tests. Those files are published as definitions only. This submission does not claim that the hooks loaded or ran in a live Kiro IDE session.

Created by inunanba.

Challenges we ran into

The work was to tell "the link opens" apart from "the link opens the correct decision under the new instructions." We made the resume target a testable output rather than a UI assumption, so the suite can catch a link that technically opens but resumes at the wrong card.

Created by inunanba.

Accomplishments that we're proud of

A new record is appended, valid earlier evidence is carried forward, and obsolete reasoning remains visible as history. The demo keeps the previous route intact instead of rewriting it. An unclassified revision fails closed to Card 2 rather than guessing a safe reuse point.

In the Kiro red-to-green exercise, the isolated live test caught a wrong resume target that the normal app tests had not flagged. Kiro then scoped the fix to the adapter; the expectation and the main app stayed unchanged, and the rerun passed 3/3 live tests and 8/8 app tests.

Created by inunanba.

What we learned

A working link can still resume at the wrong card. Keeping the comparator, the UI, and the live adapter separate — and treating the resume target as a testable output — lets the tests catch that case. Specs and steering kept the red-to-green fix scoped to the adapter, so the expectation and the main app stayed unchanged.

Created by inunanba.

What's next

The revision comparator can be exercised against another fictional handoff to test whether a first-time visitor can identify the carried proof, the reopened decision, and the preserved history without coaching.

Created by inunanba.

Built With

Share this project:

Updates

Submission history