A haunted clock, a golden ledger, two collaborating agents, and the property test that proved my specification wrong.

One task gets postponed.

One subscription quietly renews.

One costs time. The other costs money. They seem like different problems, but both reveal the same pattern: commitments don't disappear just because attention moves somewhere else.

I wanted to turn that idea into something people could actually experience.

Something that felt less like another productivity dashboard and more like entering a world with its own inhabitants, rules, history, and consequences.

That became ENTROPY: The Myth of the Last Hour.

This post is being written as part of the Kiroween 2026 hackathon, where I am submitting ENTROPY in the Skeleton Crew category. It is also a story about how I used Kiro IDE and Kiro Crew to build two distinct applications on one reusable foundation, and about one particularly useful failure that changed how I thought about testing.

The idea: time and money have more in common than they appear to

People have ambitions, deadlines, subscriptions, financial commitments, and plans competing for their attention.

A task gets pushed to tomorrow. A recurring payment goes unnoticed. A responsibility becomes overdue. Individually, these events may appear insignificant. Over time, they accumulate.

ENTROPY makes those consequences visible through two connected worlds.

Clockspire is the realm of time, attention, tasks, priorities, deadlines, and unfinished intentions.

When a task is postponed, it can become a Drifter: a little ghost representing an intention that is still waiting to be addressed.

Gilded Abyss is the realm of money, income, expenses, budgets, subscriptions, and recurring financial commitments.

Here, subscriptions that meet the application's leak conditions become golden contracts. Users can examine recurring expenses and preview what might happen if they cancel a contract.

The world also has its own inhabitants: Tick, the crow; Nyxara, the Last Archivist; Morvex, keeper of the ledger; the Drifters; and the mysterious Null.

The visual language is deliberately fantastical. The underlying system, however, is deterministic software.

That distinction matters.

ENTROPY is not simply a productivity application wearing a dark-fantasy skin. Its world-building is connected to the state of the actual application.

Why Skeleton Crew: two applications, one foundation

The Skeleton Crew category asks for a reusable foundation that demonstrates its flexibility through two distinct applications.

I designed ENTROPY around exactly that idea.

The repository keeps the two applications separate while sharing the systems that should not be duplicated.

apps/ clockspire/ time, tasks, focus gilded-abyss/ income, expenses, contracts entropy-host/ serves both applications packages/ entropy-contracts/ entropy-core/ entropy-world/ entropy-persistence/ entropy-ui/ 

The shared packages have distinct responsibilities:

  • entropy-contracts defines validated commands and events using Zod.
  • entropy-core contains the deterministic temporal engine.
  • entropy-world contains characters and story selectors.
  • entropy-persistence handles IndexedDB, generations, and idempotency.
  • entropy-ui provides reusable interface components.

The two application folders do not import each other.

I also added a boundary check:

pnpm check:boundaries 

It checks the architectural separation so that the applications can evolve independently without accidentally becoming one coupled application.

But the most important part is what they share: the event history.

The one rule beneath both worlds

The central state model is:

State = f(events up to asOf, policy, asOf) 

Every action enters the engine as a validated command.

Every accepted command produces exactly one event. Events are appended to the history rather than edited.

The interface rebuilds state from the event history at the requested point in time.

The core does not read the system clock or introduce randomness. Time is passed into it explicitly.

That decision makes historical reconstruction and future projection possible without mixing them together.

The Observatory of Turning provides a timeline extending seven days into the past and fourteen days into the future.

The past is reconstructed from recorded events.

The future is a labelled projection. It does not write hypothetical events into the actual history.

The Engine Lens lets a user inspect an event and understand what it changed.

There is also a useful consequence of the shared architecture:

Postpone a bill-linked task in Clockspire, and the projected late fee in Gilded Abyss changes.

No application-to-application import is needed. Both applications use the shared contracts, engine, persistence, and event history.

Two worlds. One history.

Kiro IDE: building the structure before building the world

I did not want to begin with a collection of disconnected prompts and generated screens. The project needed architectural rules that would still make sense after many implementation decisions.

1. Specs before implementation

I used Kiro Specs to establish requirements, design, and implementation tasks.

The specifications live in .kiro/specs/ and cover areas including:

  • Application foundation
  • Temporal engine
  • Correctness
  • Enhancement pack
  • Kiro capabilities

This gave the project a traceable path from the original requirements to later architectural choices.

2. Steering as persistent project context

I created six steering documents under .kiro/steering/, covering:

  • Architecture and package boundaries
  • Privacy and input handling
  • Accessibility and motion
  • Shell commands
  • Kiro-first engineering
  • Agent coordination

The purpose was simple: important project constraints should not have to be rediscovered in every session.

3. Hooks and the workspace-root lesson

I configured Kiro hooks around the project's validation workflow, including core tests, invariants, and boundary checks.

I also encountered a practical problem: for a while, the hooks appeared silent.

The cause was not in the test code. I had opened the parent folder as the workspace instead of the actual project folder. Kiro therefore could not discover the project's .kiro/ configuration as intended.

Opening the correct project root resolved the workspace discovery issue.

One discipline I kept throughout development was distinguishing a configured check from a check with a recorded successful run. The core test-on-save hook has recorded execution evidence; invariants and boundary checks are also run explicitly as part of validation.

That distinction is important. A configuration file alone is not proof that automation worked.

4. Skills, custom agents, and Powers

I created reusable skills for recurring engineering procedures:

  • temporal-invariant-check
  • add-policy-scenario
  • record-device-trial
  • write-adr

I also used two custom agents:

  • Sentinel, a read-only reviewer.
  • Tick, used for documentation and testing work.

Two Powers supported the workflow:

  • entropy-experience-qa
  • ticks-workshop

The intent was to make recurring work repeatable rather than relying on the agent to rediscover the same instructions.

5. MCP and Context7

I configured Context7 through the workspace MCP configuration.

One practical example was a TypeScript configuration issue that had broken the scripts' type check. The documentation lookup helped resolve the configuration question.

It was a small intervention, but a useful example of MCP bringing relevant external documentation into the engineering workflow.

The most important discovery: 380 passed, one failed

This was the most valuable testing moment in the project.

I wanted to test temporal behaviour beyond a collection of hand-picked examples.

Using Kiro, I developed a specification with EARS-style requirements and numbered properties, with a fast-check property test for each property. The tests exercised the real engine.

The first result:

380 passed. One failed.

The failing property was Property 5.

Its original assumption was:

Restoring a postponed task fixes the Decay.

The property test produced a counterexample:

  1. A billed task was due at T+2 hours.
  2. The task was postponed at T+1 hour.
  3. It was restored at T+3 hours.

But T+3 hours is already past the original due time.

Restoring the task returns it to its original due date. That means the task is now overdue, and the financial consequence is visible too.

The result was:

Measure Before After restore
Clockspire Decay 1 2
Gilded Abyss Decay 0 1

The engine was behaving correctly.

My specification was wrong.

The original property had assumed that restoring a postponement must always improve the Decay state. That is not necessarily true when the original deadline has already passed.

So I changed the specification, not the application.

The requirement was split into two clearer properties:

  • Property 5a: Completing, cancelling, or voiding an eligible commitment really does reduce Decay.
  • Property 5b: Restoring a postponement performs an exact undo of that postponement.

I also added coverage guards after noticing that the first Property 5 run could pass without actually reaching the important case. The generator now fails validation if required event types stop appearing in the generated scenarios.

The final run:

382 tests. All green.

The full investigation is documented in docs/PROPERTY_TESTING_CASE_STUDY.md.

This changed something important in how I approached the project: tests should challenge the assumptions in the specification, not merely confirm that the implementation follows them.

Kiro Crew: giving the world its atmosphere

While Kiro IDE focused on the core architecture, contracts, gestures, and Decay, Kiro Crew worked on the visual experience: characters, stages, and ambient effects.

The two workflows operated alongside each other in the same repository.

Characters and animation

Tick, the crow, uses 40 animation frames and moves through a sequence of flying, landing, blinking, grooming, and leaving. His appearances are scheduled at intervals of roughly 45–90 seconds.

Nyxara uses five registered frames. Morvex uses eight frames to turn when a financial leak is detected.

The Null

The null used six images, crossfades, and a delayed entrance designed to avoid colliding with Tick's flight.

That was an important part of the creative workflow: generated output was not automatically accepted. It was reviewed, challenged, and refined.

Drifters

The first Drifters were restricted to a narrow strip of sky.

I wanted them to feel like wandering intentions, not decorative particles.

They were rebuilt to move across the screen, appear larger, and glow when caught.

The Hand of Time

I also experimented with camera-based hand interaction using MediaPipe in a web worker.

The intended interaction allows a user to pinch and catch a Drifter, and hold a finger over a choice to activate it. Dust gathers towards the hand.

Camera frames are processed locally in the page rather than sent to a remote service. The application also provides button alternatives for gesture interactions.

The candle

The candle responds to microphone input calibrated for breath, allowing users to blow it out. A button is available as an alternative.

Performance refinement

During visual refinement, I moved parallax variables away from the root HTML element and onto individual stages. This reduced unnecessary restyling work.

These were not just cosmetic changes. They helped make the environment feel more responsive without making every element move constantly.

Two Kiro workflows, one repository

Having two agent workflows operate on the same codebase introduced a new problem: file ownership.

I did not want to solve collaboration by hoping that two agents would never edit the same file.

So, created:

.kiro/steering/agent-coordination.md 

It contains a file-claim table, a shared log, and practical rules:

  1. Check existing claims before editing.
  2. Prefer creating new files over modifying shared files.
  3. Keep shared-file changes small.
  4. Do not commit unless I explicitly ask.

There were a few collisions, and they were recorded.

The coordination file was more useful than simply hoping parallel work would stay out of each other's way.

The agents did not need to share a single conversation or one model context. They needed a shared understanding of file ownership, architecture, and the project's rules.

The remote development surprise

The project also uses a Dev Container configuration:

.devcontainer/devcontainer.json 

It establishes Node 24, pnpm 12.23, and a frozen dependency installation.

The intended workflow is to reopen the project in the container, then build and start the site.

This exposed another real issue.

The first configuration wrote the dist output into a shared Windows folder. The build failed with an EPERM error.

The fix was to give dist its own Docker volume.

It was a reminder that a development environment is part of the engineering system. It should be tested, not assumed to work because its configuration looks correct.

Try exploring ENTROPY

The best way to understand the project is to experience the connection between the two applications.

The main demo journey is:

  1. Open Clockspire and load the demo.
  2. Postpone a task and watch it become a Drifter.
  3. Catch the Drifter and restore the task.
  4. Explore the Observatory and inspect an event in the Engine Lens.
  5. Open Gilded Abyss under the same host origin and inspect the shared history.
  6. Change a work-hour value and run a policy replay to see how the projections change without recording a new event.
  7. Load the Decay Demo, move the timeline forward, then resolve a commitment and observe the recovery.

Use 127.0.0.1 consistently rather than switching to localhost. They are different browser origins and therefore use separate browser storage.

For installation and the exact commands, follow the repository README.

What I learned

A few lessons stayed with me beyond the code.

A specification can be wrong even when the implementation is correct. Property-based testing helped expose an assumption that ordinary examples had not challenged.

Parallel agents need explicit boundaries. A coordination file, ownership table, and shared log were more effective than relying on informal instructions.

Visual generation still needs direction. The first version of an animation is not necessarily the right one. Review and iteration are part of the work.

Configured does not mean verified. I learned to distinguish a feature in the repository from a feature that has a successful recorded test.

A reusable foundation is only useful when the applications remain genuinely distinct. Clockspire and Gilded Abyss share an engine and history, but they solve different parts of the same human problem.

ENTROPY began as an idea about the invisible cost of postponed decisions. Building it became an exploration of deterministic systems, event history, architecture boundaries, agent collaboration, testing, and creative iteration.

I wanted to build a world where actions leave traces.

In the process, the project left a few traces of its own: in the specifications, the decision records, the test counterexamples, and the iterations that finally made the world feel alive.

One temporal engine. Two worlds. One history. Every choice has a consequence.

Explore the project

This project is submitted to Kiroween 2026 in the Skeleton Crew category. This article is being written as part of the Kiroween 2026 hackathon.

Writing note: This article was prepared with AI writing assistance using the project's development notes and documentation. The technical experiences and implementation described are from my project work.