How Far Can We Cut AI's "Reasonable" Additions from a Design?

This post is Day 3 of the JAPAN AI Advent Calendar 2026.
Hi, I'm Takumi Mogi, an engineer on the STUDIO team at JAPAN AI. I work on the features that let apps built with our product STUDIO be published and distributed to the marketplace on our platform and to other organizations, as well as on governance features for running those apps within an organization. Last year I hosted a STUDIO hackathon and wrote about it. In the year since, what STUDIO can do has grown a lot. What I wrestled with in this year's development was how far I could cut mechanisms I had once thought were necessary.
Spec bloat in spec-driven development
JAPAN AI uses Spec-Driven Development (SDD): we write a specification (spec), implement and debug, then release and observe after release. AI does most of the implementation and debugging, while humans mainly write the initial spec and do the final review and verification. These days, even code review itself is handled by AI.

When I write a spec by bouncing ideas off AI, though, the AI keeps adding plausible considerations and strong guarantees on top of the ideas I already thought were good. Before I knew it, the spec had bloated, and a process meant to speed up development ended up slowing down implementation and the rollout of features. I fell into this myself, and went to my manager to ask whether the problem was how I had designed my harness (the rules and procedures I give AI agents) or simply my lack of experience.
As we talked, it turned out there was no big difference in our development process or the tools we used. The difference lay in our criteria for trade-offs: when a design starts to get complicated, what to protect, and what to accept as a constraint and cut. Looking back on this year's STUDIO work, the points that mattered when deliberately removing mechanisms that had grown too large come down to three questions.
- If we remove this, who is affected, and when? Go back to the actual work of users and operators, and confirm which behavior must be preserved.
- Can existing mechanisms provide that behavior? Check how much of the required behavior our current review and storage mechanisms already cover.
- What work or failures remain after the cut? Decide who takes on that work, and how far a failure can be checked and fixed.
Below, I look back at how these three questions helped, using STUDIO's app publishing features as examples.
JAPAN AI STUDIO and app publishing
JAPAN AI STUDIO is a platform for building AI applications for business. You can combine Agents, Workflows, a task scheduler and UI building with storage and custom objects (tables).
This year, STUDIO started letting you bundle a project into a single distribution package (a Release) and deliver the app beyond your own organization. Besides publishing to the marketplace after review and approval by our internal reviewers, you can distribute apps to other organizations or offer them as official apps.

Of the publishing and review features I worked on, this post covers two: how apps are presented on the marketplace, and how the initial data delivered to installing organizations is selected.
Case 1: Dropping a separate listing review and folding it into the published version
For users considering an app on the marketplace, an icon and a short description made it hard to tell what screens the app has and what it can do. So we decided to let publishers add images, videos and a longer description to marketplace listings.
Before starting, I thought this was a simple feature: just add a description, images and videos. Things got complicated once I started thinking about how it fit with the Release review flow. The first design published the description to the marketplace listing as soon as it was saved, but that would expose content that hadn't passed review, so I switched to an approval model. Then, thinking it would be convenient to update text and media separately from the app itself, I designed a separate review flow just for listings and went as far as implementing it. As a result, on top of the app's own review, the combinations of listing submission, approval, withdrawal and handling of old versions multiplied, and it became hard to manage.
The description field also started out supporting Markdown, and I even implemented validation to restrict the allowed formatting. But talking with a designer, I learned that letting people choose formatting makes descriptions look inconsistent from app to app. In the end, the description became plain text, and images and videos moved into a dedicated gallery. On the other hand, I didn't question the weight of having two review flows until someone pointed it out. I had assumed that folding the listing into the app's review would need a schema change and only add complexity, and I wanted to avoid treating every description-only change as an app update.
In review, though, our engineering manager (EM) pointed out, roughly: "A separate flow multiplies the combinations of submission, withdrawal, rejection and consistency with old versions. On the other hand, publishing description changes immediately makes them diverge from the version actually being installed. Keep the initial scope small and fold this into the Release review." So I switched to integrating it into the Release.
Specifically, the text, tags and media order written in a private per-app draft are now frozen as a snapshot when a Release is created. The listing switches over at the same time as the published version. While v2 is being edited or reviewed, the marketplace keeps showing v1's listing.

- Removed: the listing-only review, direct publishing, Markdown processing.
- Kept: the private per-app draft, validated media reusable across versions, preview, plain-text description.
With this approach, people installing an app read the description of the version they can actually install. In exchange, publishers must create a new Release even to fix only the description, and apps subject to review must go through review again. For the initial version, we accepted that cost. Even while under review or if publishing fails, the draft stays private and doesn't affect the published version or organizations that have already installed the app.
Case 2: Dropping a dedicated API for bulk-selecting initial data
Apps distributed with STUDIO can include initial table data (Seed) in the Release, so it's ready to use right after installation. Previously, the person in charge of distributing apps internally (the publisher) had to select records one by one on the publishing screen, and they asked to be able to include all records in a table as initial data in one go.
While I was writing the spec with AI, a requirement got added: per table, saving the selection state must be all-or-nothing. Since it's a bulk selection, avoiding a state where only part is saved, and keeping the whole selection consistent, felt natural at first.
However, since the existing API saves selections one record at a time, the original spec included not only a dedicated API that saves a whole table atomically, but also a reservation step for the publish operation, retries and expiry management. I simplified it once by dropping things like the reservation mechanism, but the new "dedicated API that saves atomically" stayed in the spec.
Before starting implementation, I checked the scope of changes and noticed something off: the plan added a new API to a service in another repository just to save initial-data selections. If we keep adding a dedicated API for every feature, it becomes unmanageable and the code keeps growing.
When I checked why the new API was needed, the reasons were the per-table all-or-nothing guarantee and preparing for performance we hadn't measured yet. The original request was simply "I want to select all records at once." The selected initial data must all be included in the distributed Release. The selection state saved for next time, on the other hand, can be fixed by the publisher reopening the screen, even if only part of it is saved. So I dropped the guarantee that the whole next-time selection state is saved and removed the dedicated API from the spec. I think it was because of Case 1, where I had been asked whether we needed that much mechanism at this stage, that this time I could ask myself, before implementation, who had actually asked for that guarantee.
From there, I worked out how to build on existing mechanisms. The result of selecting all records goes straight into the existing manual selection draft, and deselecting individual records and editing the keys that identify initial data also work with existing mechanisms. The order is: re-validate before publishing, create the Release first, then write back the information needed to restore the selection state in the next publishing session, one record at a time through the existing API. To check the other reason for a dedicated API, performance, I measured writing back 1,001 records locally. It finished in under a second, which suggested we could proceed with the existing API.
When we tried it in staging, the write-back didn't finish within the 15-second time limit. We extended the limit to 60 seconds, but we still need to handle cases where the write-back stops partway.
The distinction I drew here was between the initial data we distribute and the selection state the publisher uses in their next session. If even one selected record can't be found in the re-validation before publishing, no Release is created. On the other hand, once the Release has been created, the initial data being distributed doesn't change even if writing back the selection state stops partway.
In a local fault test, the responses had confirmed 96 saves by the time of cancellation, but 104 had actually been saved. We can't say for certain that the records with no response failed to save. So the screen shows that the Release was created successfully, with a warning that we couldn't confirm the whole selection state was saved for next time. Canceling doesn't undo saves that already succeeded. We don't retry automatically or roll back; the publisher reopens the publishing screen, checks the actual selection state, and fixes what's needed. This is the cost we accepted in exchange for dropping the dedicated API and the all-or-nothing guarantee.

In the end, we implemented select-all without adding a dedicated save API and without changing the existing DB schema. The three documents covering requirements, design and tasks went from 750 lines in total to 344.
What two projects taught me about cutting a spec, and owning the call
Humans own the decision to cut
Looking back on the two projects, there was a structural reason why the specs tended to bloat. AI is good at covering general best practices and possible failure cases. But unless it's written in the spec, it has no way of knowing the operational weight of things: who uses a feature and how many times a month, or how well people on the ground can recover when part of it fails. So it tends to lean toward the safe, exhaustive side. On top of that, I don't yet have much experience to draw on, so when faced with plausible "reasonable" arguments, the worry "What if something goes wrong after I cut this?" came first, and I ended up pulling just-in-case mechanisms straight into the spec. The three questions at the start are what I put into words so that I wouldn't just write it off as inexperience.
With AI, anyone can now quickly add features and turn ideas into working code. That's exactly why I feel that what humans should take responsibility for is less "building" and more deciding "what not to build, and which constraints to accept."
What you take on when you give up a convenience
What actually helped as I revisited the designs was not listing the benefits of a mechanism, but spelling out the work left after giving up that convenience. People fixing a description would have to create a new Release. When the selection state couldn't be fully saved, the publisher would have to reopen the screen and check it. Once it's broken down into concrete work like that, you can finally weigh it on equal footing against the cost of maintaining a separate review flow or a dedicated API for the long haul, and discuss which to take on.
What's more, we can cut mechanisms from the initial scope because shipping isn't the end. That means following up after release on which users the feature affects, how much it's actually used, and whether the remaining work is really causing trouble on the ground, and adding the mechanism then if it truly becomes a bottleneck. I learned that taking all of that on is the responsibility of developing a feature.
Drawing these lines rests first on traditional technical skill: seeing how far existing APIs and transactions can keep things consistent, and how things break when something fails partway. At the same time, especially in B2B SaaS, developers often don't use those screens in their own daily work. So it's essential to deliberately create points of contact with users and internal operations staff, and go learn how the product is used and what impact it has. Just recently, on another feature, I once again scoped the spec too broadly and had to narrow it in review. Going forward, I want to build both technical understanding and a clear picture of the people who use what we build, and more often draw the line myself, with reasons I can explain.
Closing
I used to think that engineers in the AI era would need to work like product managers. But after a year of struggling with what to add to and remove from designs in STUDIO development, my view has shifted a little.
It's true that we need to step into the context of users and operations, beyond the boundaries of our roles. But that doesn't mean engineers turn into a different role; if anything, it's the opposite. Precisely because AI has lowered the bar for implementation, the core skills of software development, figuring out what the real problem is, what to protect, and what spec and design will solve it, are being tested more directly than ever. Engineers aren't being replaced.
As I wrote at the beginning, when I talked to my manager, I was asking myself, "Why do my designs keep growing?" Now I start by asking, "What needs to be protected for the people who use this?"
Thanks for reading to the end.