Dev.to WebDev 🛠 Dev 👁 2 📖 46 min read

One character changed. The approval didn’t survive. Building KIRO OS for Kiroween 2026

A builder’s account of KIRO OS, from a scripted file-write approval to independently verifiable decision receipts, with practical tests and the limits of the prototype. The path on my screen was /src/app.ts. I added one

One character changed. The approval didn’t survive. Building KIRO OS for Kiroween 2026

A builder’s account of KIRO OS, from a scripted file-write approval to independently verifiable decision receipts, with practical tests and the limits of the prototype.

The path on my screen was /src/app.ts. I added one s. The path became /src/apps.ts.

Nothing about that edit looked dramatic. It was the kind of typo I could make while answering a message, sipping coffee, or trying to get a demo recorded before a deadline. The important part was what happened next. The changed request had a different digest, and Kiro Gate rejected the attempted approval when it was presented with that mismatched digest. The original request was still pending. It could be approved with its original binding.

That little distinction became the most useful part of my demo. There is a question behind every approval button. What, exactly, does this click authorize?

I’m writing this as part of the Kiroween 2026 hackathon. My project, KIRO OS, is an open-source browser workspace for developing and supervising AI-assisted workflows. The hackathon demo concentrates on one slice of that larger idea. It starts with a scripted file-write proposal, pauses to show the reviewer its invocation and parameters, and records a decision that can be checked against a hash chain. The demo is reproducible from the public test build.

Read the source and the root .kiro project files on GitHub
If you only have a minute
An agent can say “I’ll update the app” while the system has a much more concrete request in hand. A reviewer needs to see that concrete request. The gate needs something precise to compare when it receives the answer. KIRO OS gives that request an invocation ID and a SHA-256 digest of its canonical parameters. Approval requires the expected values for the pending request. A mismatch is rejected. The recorded decision has its own place in a hash-linked ledger.

There are three independent things you can ask the demo to show. First, it pauses a proposal named file.write. Second, it rejects a changed parameter digest and accepts the exact pending decision. Third, a verifier reads the resulting ledger, accepts the original entries, and flags an edited entry. Each observation has a different meaning. The first tells you the workflow reached the review boundary. The second tells you the decision was bound to the request. The third tells you the supplied data agrees with its recorded chain.

I wanted those claims to fit in ordinary language because a judge, collaborator, or first-time contributor should be able to challenge them without learning the entire application. If a check fails, there should be an observable failure with a recognizable name. A spectacular animation could make the transition memorable, but the terminal output and the change in state have to carry the argument.

The quickstart further down takes you to the same checks with the public archive. Start there if you like to look at a running project before you read an architecture story. The rest of this article is the reasoning I wish I had written down the first time I designed an approval flow.

  1. The uncomfortable part of “it works” A coding agent can give me a clear explanation of its plan. It can generate a convincing summary of a run. When I’m actually about to authorize a change, I want a different sort of information. Which operation is being requested? What data will it receive? Which boundary is meant to contain it? If I come back an hour later, can I see the decision I made and tell it apart from the agent’s description of the outcome?

Think about reviewing a patch in a busy repository. A colleague says they moved one configuration file. The pull request shows an actual path, a diff, and a commit. That is what lets you talk about the work with enough precision to disagree. You can point at a line. You can ask a question about a specific permission. You can compare the reviewed version with a later update. A human approval step for agent tools should have at least some of that directness.

Agent interfaces complicate this because they often put the conversation and the action close together. I might approve a sentence I can understand while a hidden tool argument supplies a default target that I would have questioned. I might assume a button refers to the most recent request while the interface is showing something older. Neither situation needs a malicious actor. Ordinary latency and ordinary ambiguity are enough to make the experience uncomfortable.

The browser workspace gave me room to bring the conversation, the pending action, and the receipt into the same experience. The useful part is the relationship between them. A request becomes a reviewable object. A decision refers to that object. A receipt records what the system accepted. I can still use a human-friendly summary, but I want it connected to concrete parameters that the gate can evaluate.

One thing I kept returning to was how easy it is for the person giving approval to become an obstacle in their own workflow. If a tool interrupts you with vague questions, you learn to click through them. The project should make the occasional serious decision worth reading. A smaller number of well-scoped prompts can tell a reviewer much more than a long series of boxes with the same wording.

  1. What a person should be able to review A useful approval screen gives the reviewer an object they could describe back to someone else. In the KIRO OS example, that object includes the pending invocation ID and the canonical parameters represented by their digest. The file-write fixture supplies a short path and a byte count, which are easy to read without understanding any infrastructure.

Imagine the reviewer sees /src/app.ts, a byte count of 120, and the operation name file.write. They can ask whether that file is in the intended scope. If the operation were a real worktree write, I would also want enough context to distinguish which worktree and whether existing content would be replaced. Those details are part of what a production adapter has to define for its own operation. A file system, a database, and an account permission service need different review cards.

The digest is a reference to the parameters. It is not a user-friendly description. I want the human-readable target and the technical binding on the same screen because they answer different needs. I read the parameter preview to decide whether I’m comfortable. Later, the system compares the binding to tell whether my answer belongs to that request. When the conversation turns into a bug report, the invocation ID gives the team a handle for the one event under discussion.

A good test for such a screen is to cover the button labels and read the rest of the card. Can you still explain what the proposed action will touch? Can you spot which fields could change your decision? If two proposed actions look exactly the same to a human but resolve to different targets, something important is missing from the preview.

There’s also a readability trade-off. A huge object can hide the one field that matters almost as well as a short slogan can. I would rather have an obvious target, an expandable exact parameter view, and a short explanation of the meaningful side effect. That is a design direction that came out of this work. The demonstrated fixture stays small enough that the raw JSON is readable on its own.

  1. A requirement that can fail My favorite part of Kiro for this project was the spec-driven way of thinking. Writing down the invariant forced me to stop describing the experience in terms of screens. “Show an approval dialog” leaves a surprising amount of room for interpretation. “A decision must refer to the pending invocation and its exact parameters” can be translated into a test.

The reviewable question became simple enough to tell a friend. Change one character. Does the previous approval binding still work? I like that test because almost everyone can predict the right answer before seeing the code. It removes vocabulary from the conversation. A reviewer can spend their attention comparing the implementation and the evidence, instead of trying to decipher what I mean by “trust.”

I split the requirement into three observations. There has to be a pending request to review. An answer with a different digest cannot resolve that request. The exact binding can resolve it. If I test only the last case, a gate that accepts any response could look perfect. If I test only rejection, even a gate that rejects everything could pass. The two paths belong together.

There is a second layer to this requirement. An edited request shouldn’t inherit approval from an earlier version of itself. In the little visual example, I changed the path by adding a letter, recomputed the proposed digest, and asked the gate to evaluate the mismatch while using the same invocation identity. The thing I can show is the refusal of the mismatched decision and the continued ability to act on the exact pending request. That wording matters when I describe the demo. It reflects the actual state transition rather than a vague promise about every action an agent could take.

If I were starting the project again, I would write the smallest failing example even earlier. I would sketch it beside the first screen design. A nice interface can quietly conceal a poor contract. A predictable failing case gives both the UI and the underlying rule a direction from day one.

  1. The one-character walkthrough Here is the sequence as I would ask a reviewer to watch it. A scripted proposal enters the workflow with the builder role and the operation file.write. The request pauses at the gate. The pending state shows an invocation identifier and a digest corresponding to the original parameters. The path is /src/app.ts.

For the short demo cut, I used a local fixture to create the original parameter object and another object with /src/apps.ts. I computed the second digest using the same canonicalization and hashing logic. I kept the invocation ID and gave the gate the changed digest. The gate reported a parameter mismatch. The pending state remained unresolved. Then I supplied the original digest for the same pending invocation, and checked the resulting receipt.

That is one successful demonstration of a boundary. The exact operation name and field names belong to this project. The lesson applies anywhere an app asks a person to authorize an action. A refactor task that starts with one file can be revised to target a directory. An automation that begins with one account can be pointed at another. A draft send can shift from an internal recipient to an external one. In each case, a small textual change can carry a large change in meaning.

I show the before and after next to each other so the viewer can see how small the edit is. Then I show the outcome in plain words. The sequence has to be understandable even if you pause the video with the audio muted on a phone. That requirement also made the software demo clearer for someone actually clicking through it.

The error was worth leaving in. A well-designed refusal isn’t an embarrassing moment to cut around. It is the expected result of a policy working. If the audience sees a mismatch and then watches an exact request succeed, they understand much more about the approval mechanism than a row of green checks can tell them by itself.

  1. What the invocation ID contributes The invocation ID answers “which attempt?” Two agents can prepare identical parameter objects. A retry can reproduce the same serialized request. A person can approve one pending action while a different one is discovered or scheduled later. A parameter digest alone can’t tell those attempts apart. Identity and content work together.

I use an invocation ID as the handle for the pending request. The parameters provide the content under review. The digest gives the implementation a stable way to compare that content. When a decision arrives, the matching question is about the pair together. A receipt adds a record you can inspect after the pending view has disappeared.

It helps to picture two copies of a library book. They have the same printed words and can be identified by the same title. The check-out system still tracks a particular copy and a particular loan. In an approval flow, two calls with the same arguments can still have different intent, timing, or consequences. For an action that should be authorized on each attempt, reusing a content hash as the whole identity is too weak a model.

Retries are one reason this matters. A user may see an unresponsive screen and click a button twice. A client may resend a request after a network interruption. A well-designed system needs a clear notion of which message is a repeated delivery of the same decision and which is a new proposal. The KIRO OS fixture is intentionally small, so I treat repeat delivery and durable distributed idempotency as production design concerns with their own tests.

The lesson I would carry to another project is to specify the identity of an action before building the approval screen. Otherwise the UI ends up supplying a reassuring label for something the system cannot reliably distinguish under retry, revision, or concurrency.

  1. Canonical parameters and SHA-256 The digest is calculated from a representation of the parameters. The word “representation” is doing real work there. JSON data can have the same meaning with fields written in a different order or with different whitespace. When a hash is supposed to bind approval to the data under review, serialization rules need to be explicit. Otherwise two implementations can disagree even when people see equivalent input.

The project uses canonical serialization in its receipt logic. In the example, a canonical form allows the same parameter object to yield the same byte sequence for hashing. When the path string itself changes, the canonical representation changes too. The resulting SHA-256 digest identifies a different parameter set. The comparison is a practical way to bind the expected content while keeping the approval message manageable.

Small decisions about parameters matter upstream of the hash. Suppose an application accepts omitted defaults. The reviewer might see a target and a short note, while the runtime supplies an extra flag later. Which version should be approved? A sensible answer is that policy should bind the effective request the person saw. Resolve meaningful defaults before approval, then make sure the adapter consumes that same typed data. If there are substitutions or indirections, the trust model has to state how they are handled.

It is easy to talk loosely about a hash as a signature. A plain digest has no private signing key. Anyone who knows the exact data and serialization rules can compute it. That reproducibility is useful for integrity checks. It also means the digest cannot identify who approved a request. For provenance beyond the fixture, identity and authenticated records need additional mechanisms and separate evidence.

I care about making that distinction early because a demo can accidentally teach the wrong lesson. The engineering value here is a stable, checkable binding between review and decision. That value survives even when the design is described with ordinary, careful language.

  1. A receipt is useful when the input is useful I wanted the evidence view to have a second purpose after the demo ended. When someone says “the request went through,” I want to know which request and which decision they mean. A receipt that records the action’s place in the workflow gives me something to inspect other than the final state of a button.

The simple mental model is an ordered list of events. Each receipt incorporates the previous entry’s hash into its own calculation. A verifier reads the ordered entries and recomputes what those hashes should be. If the recorded content at a step is edited while the original hashes are left in place, the recomputed value differs and the supplied chain fails verification. You can see that result without depending on the panel that displayed the original receipt.

This is why I care which inputs get recorded. A ledger can maintain an immaculate chain of unhelpful messages. If an entry says “done” with no invocation and no account of what “done” means, checking its hash gives me confidence about the bytes and very little information about the event. The fixture earns its usefulness by connecting the decision back to the request under review.

There’s a naming choice in the project that deserves care. “Execution receipt” can sound like every listed effect was observed independently. The path I demonstrate is primarily an approval and decision record for a scripted proposal. Use the fields and verification source to interpret exactly what the entry contains. For a future real runtime integration, add direct adapter evidence and make the outcome state unambiguous. The high-level concept can support that kind of record, but those assertions need their own implementation and evidence.

I would rather show a modest receipt with a clear meaning than a large technical-looking document whose claims are hard to trace. That’s the difference between a useful handoff artifact and a line of marketing text in JSON.

  1. How I read a broken chain I think about a verification failure as the start of an investigation. The verifier detects disagreement between supplied content and its recorded chain. The next questions belong to the operator. Was a file edited by hand? Did it come from a different run? Did a serialization format change? Was the input incomplete? A hash mismatch is an important fact, and the appropriate response depends on where the records came from.

In the golden-path run, the before-and-after example is controlled. The verifier accepts the intact records. The fixture then edits a recorded claim and checks that verification rejects it. Because the change is deliberate and the rest of the experiment is kept small, the reviewer knows which difference explains the failure. A real incident requires more context, and often needs independent evidence from outside the one file being inspected.

A replacement of the complete chain is a different threat. Someone who can rewrite arbitrary entries and recompute every later digest can build a new, internally consistent chain. To distinguish that chain from an earlier trusted copy, an auditor needs a trusted checkpoint, signature, or another durable source of truth. The prototype’s independent verifier provides a useful integrity check against the supplied record. Its output alone cannot establish who produced that record.

The comparison I think of is a receipt from a shop. It gives you a way to identify what a system says was bought and how much was charged. You might check it against a card statement or the items in your bag. Verifying one piece of evidence does not make every other claim about the transaction true. A developer-facing ledger should invite the same sort of careful reading.

For future work, I would prioritize exporting the ledger together with enough context to reproduce the check. Preserve the original file when a check fails. Include the verifier version, specify which fields were covered, and explain where a reviewer can obtain a trusted checkpoint if one is available. Those are directions for operational use, and I don’t claim the local fixture solves them all.

  1. A browser workspace with a smaller proof The broader repository describes a browser harness with several workspace surfaces. There is a shell and a collection of panels for different stages of the workflow. The architectural idea is to let a developer switch between a place to understand a request, a place to review it, and a place to see what was recorded. It made sense as a Frankenstein entry because it combines experiences that usually live in different tools.

The trap was trying to explain every panel at the same level of detail. A person who sees an editor, a terminal, a list of agents, and a ledger in one sweep could reasonably wonder which part of the project is ready to test. A few seconds of each panel can make the workspace feel busy while leaving the most interesting claim unexamined. I found it more compelling to pick one form of evidence and follow it through the system.

The human decision is that thread. A scripted proposal has specific inputs. The gate enforces a binding. A record is produced. The verifier can run separately. If I open another view in the workspace, I want it to clarify where we are in that sequence. The flow creates a reason for the panels to exist together.

A browser prototype also keeps the initial path approachable. I can show someone the workspace and explain the review model without asking them to run a real agent with host permissions. The local test then gives that reviewer a separate way to reproduce the acceptance and rejection. In other words, the UI helps explain the system. The independent command helps check it.

A browser tab is a helpful delivery surface. It does not magically grant all the properties that people associate with the word “sandbox.” A serious review still has to specify which code runs in which context, how messages are handled, what storage is shared, and which capabilities an adapter has available. I keep those points in the architecture conversation alongside the testable demo.

  1. What I learned from the .kiro directory The public repository has a root .kiro/ directory. It contains project materials such as specs, steering, hook notes, and agent configurations. For this write-up, the important detail is the connection between a written requirement and an observable test. The repository can show the project structure. The fixture can show the behavior. Each has a role in the story of how the project was built.

Specs gave me a way to articulate failure before I fell in love with the interface. Steering is a place to hold constraints that should stay visible when several parts of a workflow are changing. Hook notes and agent definitions help a reviewer see where the larger project intends automation to sit. In a public demo I want to be precise about the difference between checking such files into a repository and showing a particular integration running live.

I also think of the directory as a useful starting point for a contributor. A newcomer can read a requirement, locate its test, and decide whether their proposed change preserves it. That is a much better conversation than “make this more secure.” If we disagree about what preserving approval means, we can name the changed input or lifecycle event that exposes the disagreement.

The mistake I would make in a rushed demo is to show a folder tree and assume it explains everything. A reviewer should be able to connect one entry in that tree to a moment in the running system. I like using the changed-parameter case because the requirement, the proposed edit, and the expected outcome are easy to connect without a long speech.

For a team developing a different agent tool, it’s worth trying this as a short exercise. Take one proposed capability. Write down the condition under which its approval becomes invalid. Pick the smallest example you can explain in a sentence. Ask whether someone else could implement and test it based on what you wrote. That exercise taught me more about this project than an extra list of planned features would have.

  1. Friendly on the outside When I say I want the workspace to feel friendly, I mean that a person should know what they can do next without needing to interpret a security ceremony. They should see the action, its target, and an opportunity to approve or reject it. A changed request should produce a clear state that tells them why progress stopped and how to review the current version.

The Kiroween theme helped me imagine a visual language around that pause. I like a calm charcoal interface, a little violet, and a small ghost that can live at the edge of a panel. Those choices are enough to make the build recognizable in a crowded gallery. The text and the exact parameters still need the highest visual priority. The mascot can guide the viewer toward the interaction, while the gate’s wording carries responsibility for it.

A label such as “invalid” needs to be attached to an object. Is the invocation missing? Is the argument digest stale? Did the pending approval expire? In the demonstrated case, the accompanying explanation identifies the parameter mismatch. In a production version I’d want similarly direct descriptions for the other important outcomes. Color helps scanning, but a screen reader user and a viewer watching a low-quality recording both need the meaning in words.

Good motion can reinforce that structure. A short animation between a proposal and its receipt can help a viewer connect those records. It should leave enough time to read the path and recognize the one-character change. If the audience is looking at the wrong corner when the important detail flashes by, the film has traded clarity for movement.

One accessibility idea I would keep in any next iteration is to make the transition visible in both the current state and the event history. A reviewer may be using a keyboard, a large zoom level, or a narrow screen. They should still be able to recover the result they missed. The person at the approval boundary deserves that care.

  1. Keeping the demo reproducible A hackathon video can show a polished route through the software. I also want a judge to have an independent entry point if the screen recording makes them curious or if the public demo is temporarily unavailable. For KIRO OS I tested a public ZIP pinned to a specific commit and ran its golden path after extracting it. The pinned revision keeps the example stable if the default branch changes after publication.

Here are the two public links I would use to start a review:

  • KIRO OS repository
  • Download the pinned test build Extract the archive, open a terminal at the repository root, and use Node.js 22 or newer. The focused checks are: npm run security:check npm run test:golden npm run verify For the shortest experiment, start with npm run test:golden. It starts a local service for the fixture, uses a temporary receipt ledger, and checks the approval and verification sequence. The independent verifier is called from the test for the before-and-after receipt check. npm run verify is a useful separate check of the repository’s checked-in ledger under the default setup.

Read the commands before running a downloaded project. This particular route is useful because the named golden-path script is easy to inspect and its scope is small. It deals with a proposal in a fixture. It does not require production cloud credentials for the workflow being demonstrated. If the project later grows real adapter tests, I would expect their prerequisites and effects to be documented separately.

I like this form of reproducibility because it gives a person room to disagree with my reading. They can inspect the project rather than relying on my narration. They can check the entry points I mention and tell whether I’ve left out a dependency. If the instructions stop working, that is actionable feedback about the release instead of a subjective disagreement about the polish of a trailer.

  1. Reading the six checkpoints in order When the local service answers the authenticated health request, I know the test has reached a live process. That is a useful starting condition, and I try not to attach more significance to it than that. A service being available says very little about whether it will make the right decisions. It just means there is something there for the rest of the test to exercise.

The next check records a reversible fixture operation. This puts an initial entry in the temporary evidence file and establishes that the surrounding flow has a record to work with. It also makes the final verification more interesting than a hash over one isolated object. There is a previous entry to link to, and a later entry can be checked against it.

Then the test sends the proposed write and observes a paused state. The useful assertion is about the state of the workflow as well as the shape of the response. There should be a pending operation, and its identity and parameters should be available for review. If I played only a success sound, I would miss the fact that the pause is the feature I am trying to show.

The fourth checkpoint exercises refusal. A decision without the expected binding is rejected, and an incorrect parameter digest is rejected. The visual one-character example is a separate, concrete way of illustrating the same property. I use both because the command is reproducible and the path change is easy to read on a screen.

At the fifth checkpoint the matching invocation and digest are supplied. I want this part in the test because a reviewer needs a recovery path after a refusal. The system should make it possible to continue with a valid decision. It should be clear whether that means supplying the original binding or reviewing a new proposal.

The final checkpoint calls an independent verifier on the temporary evidence. The original two receipts pass. An edited claim produces a failure. That is the conclusion I want someone to draw from the six-step run. It reached the local service, exercised a particular approval boundary, and validated a particular chain before and after a controlled edit. That makes a credible, narrow result I can reproduce in front of someone else.

  1. The three records I want to see in a review One way to review the design is to lay three sheets of paper side by side. On the first sheet, write the proposal. Put down the intended operation and its parameters. The fixture might say “file write” and supply a path. In a real integration, the same sheet would need inputs such as a worktree identifier or an expected revision, if those change the meaning of the request.

On the second sheet, write the human decision. Include a reference to the first sheet. In the prototype, the invocation ID and parameter digest supply that reference. It should still be meaningful when the sentence the agent wrote has scrolled out of view. A reviewer should be able to inspect the decision without reconstructing the whole conversation.

On the third sheet, write down the evidence you actually have. In this demo that includes the recorded decision and its relationship to the existing chain. For a real adapter, the sheet could also contain a result, exit status, or artifact digest. Decide where each field comes from. The adapter can report a process exit status. A verifier can recompute a digest. An agent can offer an explanation. Each source deserves a name.

A common shortcut is to collapse all three sheets into a single task status. “Completed” then starts to carry an odd number of meanings. It could mean that a proposal was generated, that a person clicked approve, that a runtime accepted a task, or that some independent test passed. Those distinctions matter to a person reading a strange log after the fact. They also matter in the interface where someone is deciding what to do next.

The current build is a good place to start practicing those distinctions because its central flow is small. When I speak about the evidence, I can name where it came from. I can describe the further evidence I would need for real execution. The paper exercise also gives future contributors a way to argue about the design before they have to follow every call in the implementation.

  1. A constrained operation beats a general approval prompt A file write is a surprisingly useful choice for the demo. Most developers know what a path represents, even if they have never used the rest of the interface. They can see the extra letter without reading an explanation of permissions. They can also imagine why two nearby paths matter, especially if one is generated, shared, or checked into a different worktree.

I considered the experience from the reviewer’s side. A broad prompt such as “allow the agent to continue” feels natural in conversation. It also asks the reviewer to imagine all the decisions implied by continuing. By choosing one operation, I can give the prompt an object. The human sees a target and a decision tied to that target. Review becomes easier to explain and easier to test.

The idea scales as a design principle, although a specific implementation has to do more work. In a system that writes only in a designated workspace, the workspace identifier could be part of the approval. An operation that changes a prepared artifact could carry the artifact’s digest. A high-impact operation might require the current state to match a precondition at execution time. Each of those choices narrows the gap between the message the user reads and the effect a tool can produce.

There are situations where a team may want to authorize a class of routine operations. That is a real product decision. The authorization should still have a clear scope, purpose, duration, and revocation behavior. An allowance for repeated reads during one task can be described concretely. An indefinite permission to do whatever the next prompt requests is difficult to evaluate and difficult to audit later.

For this release I keep the story around one reviewed invocation because it establishes the simplest case. A reviewer can understand it in a glance, and a developer can extend it with their own policy. The extension should name what changed in the authority model. The small demo is a way to establish a shared vocabulary before doing that work.

  1. Questions a real file-write adapter would have to answer The scripted proposal is a convenient demonstration of approval semantics. A real write adapter needs more from its environment. Who owns the workspace? Which paths are in scope? What happens if the target changes between review and execution? Can an operation be retried safely? If the adapter reports success, what exactly did it observe?

Consider the difference between approving a relative path and approving where it resolves. Two workspaces can each contain src/app.ts. A reviewed edit might be safe in a temporary workspace and risky in a shared one. An approval model can address this by carrying a workspace identity and requiring the adapter to verify that the request still points into the relevant workspace. How to enforce that belongs to the runtime that actually performs the operation.

There is also a difference between the proposal and the resulting file. A proposal can describe desired content. A runtime can report what it wrote or independently read it back. A receipt can record evidence from that runtime. These steps can fail independently. I would want the status of each step to be visible, particularly when an action partially succeeds or an expected precondition changes after approval.

If an adapter needs to encode default options or resolve a destination, I would ask whether that step can be done before approval. When it cannot, the interface and policy need to explain the remaining uncertainty. A reviewer should be able to tell which effects are already determined and which depend on the state of the environment at execution time. That distinction matters especially for long-running or queued operations.

The result of this exercise is a useful list of questions for future integrations. The demo has room to grow into real write workflows, but the additional responsibility is substantial. Publishing the design early allows people who operate these workflows to point out assumptions I have missed. I find that more valuable than treating the fixed test proposal as if it could speak for every kind of real tool.

  1. A small threat model I can explain in person I start with what the evidence is meant to protect. The approval binding is meant to keep the human decision attached to the pending invocation and the reviewed parameters. The hash chain is meant to make certain edits to the supplied receipt history observable. Once I write those goals down, I can ask who needs to be trusted for each one.

The reviewer trusts the interface to display the action meaningfully. The authority that accepts decisions needs to preserve the association between an invocation and its canonical inputs. The verifier needs the rules for interpreting the receipt format. A later auditor who wants to establish where that history came from needs another source of trust. Those requirements remain even if all the software is packaged into one convenient demo.

A short threat-model exercise I like is to make each component fail in an ordinary way. The display shows an older draft. The request is retried after a timeout. The verifier receives a file from a different session. A receipt is redacted before it is sent to a colleague. Each failure is realistic without imagining an elaborate adversary. Each suggests a requirement that can be written in language a teammate can understand.

One of the strongest results of such a model is deciding what a claim does not establish. A passing hash-chain check has a specific meaning about encoded data. A review action does not tell you that the proposed code is well written. A familiar browser panel does not tell you what authority the runtime had. When I am precise about those boundaries, I can invest in the checks that a real deployment would need next.

For this article I prioritize the changed-parameter case and the changed-record case because both are reproducible. There are other concerns in a mature authority system, including revocation, concurrent reviewers, permission scope, and storage durability. Rather than imply those concerns disappear when a checkmark appears, I want the proposal to make a reviewer comfortable naming them and adding evidence for them later.

  1. The difference between a local run and a hosted demo It is tempting to think of deployment as the last administrative step. In a workspace with multiple surfaces, it affects what the judge can actually exercise. The URL may load an HTML file and still leave part of the experience unavailable. An iframe might behave differently behind a repository subpath. A browser-only deployment cannot execute a local Node command on its server merely because a quickstart in the interface mentions it.

That is why I give reviewers both a browser-oriented story and a reproducible local command. The local route has its own prerequisites. The public archive pins the source. The command starts the fixture in a setting where the receipt verifier can run on disk. That is a clear boundary to draw when someone asks whether a particular runtime or integration is available on a hosted page.

A practical verification routine for a public demo is to open it in a fresh browsing session, use the normal entry point, and run the sequence the article promises. Try the visible controls rather than pasting an internal route. If the published view depends on a backend, check that it is the intended backend and that the UI describes what will happen when it is unavailable. A homepage responding successfully can be the start of deployment verification. The user journey is what I really need.

There is a documentation lesson here too. I would keep a stable local test route beside any hosted link so an access issue does not erase the entire story. A pinned archive and an explicit command are practical fallback evidence. They help a judge or collaborator who wants to examine the build without a particular account or connection. They also give me a repeatable way to review the artifact that was actually published.

If a link has not been verified, I would resist calling it the definitive live demo in the article. The public repository and test build are enough to lead readers to an observable result. Once a hosted release is confirmed, its link can carry a separate claim about the deployment that actually passed a browser check.

  1. Why branch names do not constitute a result A repository can look full of activity. There might be a release tag, a branch named for a security fix, a status badge, or a directory of demos. These are useful navigation cues. I still want the relevant claim in an article to be accompanied by a command or an observed result. A label tells me what someone intended to publish. A pinned test helps me identify what actually ran.

I learned to check revisions before comparing outputs. The project evolved through several cuts of the README and several local builds. A description can be accurate for one artifact and misleading for another. The number of panels, runtime integrations, and deployment behavior are all things that can change. I prefer to tell a reader which revision the golden-path instructions apply to instead of arguing over a number that may have changed since the screenshot.

This is one reason the article treats the source directory as evidence rather than decoration. If a particular integration appears in an architecture note, that note can describe intent. If a deterministic test exercises the implementation in a fixture, it supports a specific behavior. If a live integration has been verified end to end, then its output deserves a more direct claim. It is normal for an ambitious project to contain all three levels at once.

A contributor can use this same discipline in a pull request. State the change, the test that exercises it, and the environment in which the result was observed. Where practical, link to the exact reference. If the behavior is a property of a specific release artifact, say that. Someone else should be able to rerun the relevant check without adopting every assumption in the larger project.

That discipline makes a hackathon entry easier to judge and also makes it easier to resume after the event. A short release history that records what the author could verify is more useful than a cleanup session where anything unfinished gets recast as an aspiration. The prototype is interesting enough when its actual boundaries are visible.

  1. What I would ask a second reviewer to try If you have a few minutes to spare, the most useful review is a critical one. Start with the pinned code or the fixture and see whether my description gets you to the same state. Can you see the pending action? Is the digest check observable? Does the test report a failure clearly if one of its required observations changes? The goal of these questions is to make the demos easier to trust as demonstrations.

Then inspect the parameter preview from the position of a teammate who has never seen the code. Which field would you read first? Is the action name clear? Would you rather see a plain description of the scope and a disclosure control for exact parameters? Is there anything important that the raw data doesn’t make obvious? That kind of feedback is useful even if the approval code is perfectly sound.

Take a look at the receipt too. If you were handed that artifact in a chat message, could you work out what it records? Does it tell you what was reviewed? Does it identify where the result came from? Which claim would you want to compare with another source before treating it as final? An evidence interface has to support that second conversation once the original reviewer has moved on.

One thing I would especially like to hear is where the flow feels unnecessarily slow. “Add more confirmations” is an easy answer to a safety problem. It can also make the system hard to use. A reviewer with too many trivial prompts will look for ways to move past them quickly. The useful question is which prompts earned the attention they asked for.

I would also ask a reviewer whether the refusal leaves them with a good next move. In the local case the changed digest is denied and the original pending request can still be evaluated. A clear interface would give the human enough context to decide whether to continue with the original request or start a new review. A safe stop becomes more helpful when the operator knows where to go afterward.

  1. The part of “evidence-first” I want to keep after the event A hackathon is a chance to build a concrete version of something you have been thinking about vaguely. My idea was a workspace for agent-assisted development that could display what was proposed, who made a decision, and what evidence was available afterward. The time-boxed version forced me to concentrate on which of those ideas I could prove in front of someone else with a short test.

The aspect I want to carry forward is the ordering. Start with the evidence needed to answer a question. Work back to the implementation and interface that can produce it. For the one-character example, the needed evidence was a pending binding, a changed digest, the rejection, and a valid decision on the original request. Once that sequence was clear, I could design the visual around it.

This approach helps a developer avoid a common demo problem. It is possible to build a beautiful screen with statuses that carry little diagnostic meaning. What is difficult is giving each status an implementation-level fact the viewer can follow. The receipt is a good place to ask whether the status would still be useful if the demo host had already closed the tab.

I would use the same thinking for features beyond approval. If the workspace introduces durable memory, I want a reader to see what was recorded and which workspace has access to it. If a connector makes a claim about its runtime, I want the artifact to indicate which system reported it. If an agent proposes a change, I want to distinguish the model’s explanation from the state the harness independently observed.

Those are practical commitments that survive a rewrite of the interface. I may change the colors, move a panel, or choose a different runtime for a later version. If the operator can still answer what was proposed, what was approved, and what can be verified, then I have preserved the design’s most useful property.

  1. Why I kept the example narrow KIRO OS has a larger product direction, including local connectivity, coordination, runtime interfaces, and a richer workspace around the approval path. It is easy to tell that larger story in a roadmap. It is harder to give a busy judge the confidence to assess a particular build if the article moves beyond the part they can recreate.

I chose a narrow example because it made the argument harder to evade. The workflow either pauses and rejects the mismatch or it doesn’t. The ledger verifier either detects the edited entry or it doesn’t. I can explain those assertions with a path and a short terminal run. I don’t need the viewer to believe that a production agent will behave well in every environment to understand why the binding is useful.

A narrow proof also welcomes fair comparisons. Someone might implement parameter binding with a different authorization mechanism. They might already have an approval workflow with a richer reviewer model. I can compare the states those systems expose and ask what their receipts cover. I do not need to compare every feature of every editor to explain my design.

The limits lead to sensible next questions. A production setup would need clearer storage durability and stronger provenance guarantees. A live toolchain integration would need evidence about where it ran and which permissions it used. A richer UX would need study with operators who can tell me which actions deserve review and what information they look for. These questions help set priorities without making the current prototype sound larger than it is.

For a hackathon build, learning which questions remain open is a pretty good outcome. I can hand someone something runnable and ask them to look closely at the part I care about. If it makes them ask better questions about their own approval screens, the article and the demo will both have done something I value.

  1. Handling time, retries, and the moment a decision expires Time changes what authority means. If I approve an operation in a real system, I usually have an expectation about how soon it will run. A decision from the beginning of a review session may be inappropriate much later, especially if the surrounding inputs have changed. A more complete gate design has to explain how long a pending action remains eligible for a decision and what a person sees when time runs out.

A retry introduces a different issue. The client might deliver the same approval twice after a connection hiccup. The runtime might receive a legitimate repeat of a dispatch while still finishing the first attempt. The system needs to preserve the result where that is appropriate and require a new review where the intended effect or identity changed. An invocation identifier is the beginning of that distinction. The storage and adapter behavior determine what happens when several components disagree about whether a request completed.

In a single local process, it is relatively easy to reason about pending state. A distributed implementation needs a shared consistency model. If one participant checks a decision while another is expiring it, who wins? If a person records a denial while an adapter prepares to act, when must the adapter recheck the gate? Those are product requirements in addition to implementation requirements. An operator needs to understand which choice will become authoritative.

I would want a concrete state model for this before building more tools. It could distinguish the proposed action, pending review, a terminal decision, and the eventual runtime result. Timestamps should be associated with the right component. A client time shown in an interface and a server time used to enforce expiry may need different explanations. The receipt should be readable when those details matter.

The prototype’s pending invocation is a useful foundation for reasoning about this. The lesson from the mismatch check can carry over. Before I add a clock and retries, I want one test for an on-time valid decision, another for an expired decision, and a separate test for repeated delivery. Those cases tell a reviewer more than an abstract claim that the workflow is time-aware.

  1. Privacy and redaction belong in the evidence conversation A receipt can be useful and still contain more information than a person should share. File paths can reveal project names. Parameters can contain references to private services or customer data. A test environment may use dummy values, while a production environment can put sensitive material in exactly the same fields. If I add a share button to an evidence view, I need to think about what a person might accidentally give away.

The simple demonstration here uses harmless fixture values. That lets me show the exact parameters and the effects of editing them. In a real system I would decide which fields must be persisted for accountability, which fields can be safely summarized, and who can access the full record. I would also consider whether a sensitive input should appear in a log at all. The oversight goal does not make every piece of data worth keeping forever.

Redaction interacts with verification. If a verifier expects the bytes of an original record, changing part of those bytes will affect the digest. An export that redacts parts of a record should make its relationship to the source explicit. A recipient can verify what is present in the redacted artifact under its declared rules. It is their job to decide whether that meets their need for the review. The system should not replace the original chain behind the scenes to make a sanitized export appear equivalent.

Another useful detail is separating operational retention from promotional material. A screenshot for a blog can use a local fixture and still demonstrate the correct relationship between an action and its digest. It does not need a real customer path, a private repository URL, or a valid credential to feel authentic. The golden-path test is helpful for that reason. It gives the demo a legitimate source of safe evidence.

The broader takeaway for me is that evidence design includes the audience. Decide what a developer inside the workspace can inspect, what an external reviewer should receive, and what a contributor can reproduce locally. Those audiences overlap, but they don’t all need the same data. The prototype gives me a concrete starting point for those choices.

  1. The test I would add before trusting a real integration A helpful next test would show that the runtime only receives a request approved for its exact scope, then records an outcome that can be verified separately from the UI. I would implement it with a temporary workspace and harmless files. There would be an expected initial state, a bounded effect, and a way to observe what happened afterward without trusting a printed success message.

The test would begin by creating an input file with known contents. It would propose a small operation against that file in a named workspace. Then it would exercise the normal route through review. The test could capture the pending binding, refuse a revised request, and accept a fresh decision on a known target. Finally, it would inspect the workspace and record a digest of the result that the adapter actually observed. A failed result should remain visible as a failure.

I would also want to see what happens when the file unexpectedly changes between the two stages. That is a realistic case for collaborative editing. The correct response depends on the operation’s preconditions, but the test can pin that behavior. If a different version of a file now occupies the target, the system should have an explicit rule about whether that effect is still within the scope a person approved.

Another test I would add concerns cancellation. A human who changes their mind should understand whether they are cancelling a pending proposal, interrupting a running task, or just dismissing its interface. Those actions do not always have the same effect. A receipt for a cancelled action should help a reviewer figure out which stage the workflow reached. It should also make partial effects visible if the runtime is capable of producing them.

I would treat these as acceptance tests for a new integration rather than marketing assignments for the current build. They would extend the demo’s useful question into an environment with real effects. That is a manageable way to move from a small proof to a piece of infrastructure someone could use with greater confidence.

  1. Short answers to questions I expect from developers Is KIRO OS an operating system? It is a browser-based workspace and harness for agent workflows. The project name reflects the idea of putting several kinds of developer tooling in one workspace. The reproduced flow is narrower and is documented through the local test.

Does the golden-path example really write the proposed file? The named file-write operation is a scripted proposal in the fixture. The reproducible behavior is the pause, the binding check, the decision receipt, and the verifier’s response to a changed record. That makes it a useful example for testing approval behavior without requiring access to a production file system.

Does a green verifier status mean the agent’s work is correct? It means the supplied records satisfy the verification checks for that format. Assessing the quality of an agent’s contribution still requires relevant tests, review, or other independent evidence about the work itself.

Why SHA-256 when a plain JSON diff could show that something changed? A readable diff helps a reviewer understand the change. A digest helps the system identify the reviewed content consistently and link it to a decision or record. I find both useful. The best interface gives each one a job.

Can I use the exact commands from a clean checkout? The public test build is pinned to the revision I verified. Extract it and run the golden-path script from its root with Node.js 22 or newer. If you take a newer branch, check its README and dependencies, since the project can evolve independently of this article.

Why make rejection so prominent in the demo? I want people to see one moment where the gate has to make an observable choice. A deliberate change supplies a straightforward reason to expect denial. The original request can be reviewed again afterward, which makes the sequence more useful than an unexplained error screen.

What would make the system useful to my team? Try mapping the pattern to one operation your team already reviews manually. Look at the scope, the identity, what can change after review, and what evidence you would want afterward. That exercise can tell you whether a structured approval flow fits your problem before you commit to adapting the tooling.

What should I look at first in the repo? Start with the root .kiro/ materials, the golden-path test, and the receipt verifier. The relationship between those entry points is the shortest route to understanding what I wanted this release to demonstrate.

  1. A review exercise for your own project For a quick exercise, take one operation your team relies on and give it the treatment I gave the proposed write. Choose something familiar enough to explain to somebody outside the team. A local build that writes a generated report is a decent example. List its meaningful inputs, the smallest change that would force you to review it again, and the evidence you would need to know whether it ran within scope.

Next, write a pair of test cases before you describe the user interface. In the first, the system receives the exact reviewed operation. In the second, one meaningful value changes. Give each case an expected outcome and an observable state. A sentence like “the reviewer should be informed” can leave several interpretations open. A sentence that identifies a pending request, a mismatch, and the state that follows gives someone else enough to build the interaction.

Then sketch the receipt with only the fields you would use during a real handoff. If you can start the next morning with that receipt and answer which operation was reviewed, which decision the system accepted, and what evidence exists about the result, the structure is already helping. If it takes a meeting to decode it, simplify the record or improve the context around it.

Finally, ask a colleague to read the original and the changed request side by side without telling them which detail you chose. Can they spot the change? Can they tell whether the interface requires them to act? Can they explain what the resulting evidence covers? This is worth doing even while the implementation is a sketch. Human review needs an understandable representation, and a test of the gate cannot answer every question about that representation.

That is the exercise I would give somebody who asked how to build a similar feature. It takes the conversation away from picking a dashboard and toward deciding what a human is entitled to know before saying yes. If you only have time to model one workflow, pick the change that would surprise the person giving approval. It probably deserves the clearest test.
Closing the loop
I started with a fairly broad ambition for agent-assisted work. I wanted to make the system feel calm enough to use and concrete enough to evaluate. The hackathon condensed that into a tiny moment. One path changed by one letter, the gate declined the mismatched decision, and a later reader could still check what the workflow recorded.

If you just watch one thing, watch the old binding stop applying. Then look at what happens when the exact pending request is reviewed and the resulting receipt is checked independently. That sequence expresses what I want from developer tooling built around agents. The decisions should be understandable while they are happening and inspectable after the screen has moved on.

If you build similar tools, I would love to know what change your reviewers most want an approval to catch. It could be a new path, a broader scope, a different workspace, or something I have not considered. The best outcome of sharing this experiment would be more examples people can actually reproduce.

Explore KIRO OS on GitHub

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.