Building a Notion-Style Note-Taking App with AI Agents and Automated Software Development
software_factory · Tech · 2026 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.4 (schema v2)
Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.
Problem
Domain: Agentic software development workflow automation
Software Factory wanted to build a Notion-style note-taking app with agents handling much of the development lifecycle, while preserving specification quality, code review, bug fixing, and escalation controls.
Constraints:
- a vague initial product request was not detailed enough for high-quality autonomous implementation
- agents need work decomposed into single-concern issues before implementation
- quality can fall if automation accelerates weak engineering foundations
- some changes are too risky for automatic approval and must escalate to humans
- early zero-to-one product work requires sequential foundations before high parallelism
Architecture
The workflow starts with Ona plan mode to turn a rough app idea into a detailed product spec, including scope, technical decisions, and out-of-scope boundaries. A feature-planning automation turns the spec into GitHub issues with labels and conventions that downstream agents understand. Implementation agents work through those issues, while PR review and bug-fixer automations inspect changes, identify bugs, and escalate risky or stuck work to humans.
Diagram confidence: reconstructed (reconstructed from prose).
flowchart LR human-product-owner[Human product owner] --> ona-plan-mode[Ona plan mode] ona-plan-mode --> research-step[Research step] ona-plan-mode --> product-spec[Product spec] research-step --> product-spec product-spec --> feature-planner[Feature planner] feature-planner --> github-issues[GitHub issues] github-issues --> implementation-agents[Implementation agents] implementation-agents --> pr-review-automation[PR review automation] pr-review-automation --> bug-fixer[Bug fixer] bug-fixer --> github-issues pr-review-automation --> progressive-escalation[Progressive escalation] progressive-escalation --> human-product-owner
Components
| Component | Role | Interacts with |
|---|---|---|
Human product owner |
Seeds the product goal, answers scope questions, and reviews escalated work. | Ona plan mode, Progressive escalation |
Ona plan mode |
Thinking-first mode that reviews requirements, repository docs, and missing scope before execution. | Human product owner, Product spec, Research step |
Research step |
Agent research used to validate technical choices such as Lexical before they enter the spec. | Ona plan mode, Product spec |
Product spec |
Detailed scope, technical decisions, out-of-scope boundaries, and product requirements used as the automation source of truth. | Ona plan mode, Feature planner, Implementation agents |
Feature planner |
Automation that decomposes the spec into labeled, single-concern GitHub issues. | Product spec, GitHub issues, Implementation agents |
GitHub issues |
Work queue with labels/conventions that tell automations what is in progress, stuck, or ready for review. | Feature planner, Implementation agents, Bug fixer |
Implementation agents |
Agents that implement issues, open pull requests, and work through sequential product foundations. | Product spec, GitHub issues, PR review automation, Bug fixer |
PR review automation |
Automated reviewer that checks pull requests, leaves comments, and applies risk-based approval/escalation. | Implementation agents, Bug fixer, Progressive escalation |
Bug fixer |
Automation loop that addresses bugs attached to issues before dependent work continues. | GitHub issues, Implementation agents, PR review automation |
Progressive escalation |
Risk/confidence ladder that routes low-risk work to agents and high-risk or stuck work to humans. | PR review automation, Human product owner |
Data flow
A human seeds an initial product spec, then Ona plan mode reviews repository documentation, asks clarifying questions, researches technical choices such as Lexical, and emits a more detailed product spec. The feature planner reads that spec, architecture guidelines, and agent documentation, then decomposes it into labeled GitHub issues. Agents implement issues sequentially while review and bug-fix loops comment on pull requests, label issues, fix discovered bugs, and escalate high-risk or stuck work to humans.
4 supporting quotes
Why this architecture
The architecture deliberately starts with planning because autonomous implementation depends on strong foundations. A detailed spec gives agents product and technical boundaries; issue decomposition makes work small enough to implement; review and bug-fixer loops keep quality from decaying; and progressive escalation prevents high-risk changes from being blindly approved.
4 supporting quotes
Models used: Ona agents · planning agent · feature-planning agent · review automation · bug-fixer automation
Scale
- The demo had 52 closed pull requests at the time of the walkthrough.“fast. And if we compare that to our pull requests, so you can see, we already have 52 closed. Again, quality is always something that you uh can't measure necessarily with with quantity, but we see that the agent is working uh fairly autonomously. So, ultimately, where we”transcript, stated
- The team framed successful agentic development as potentially making an organization two to five times faster.“acceleration, and you're going two, three, four, five times faster than you ever have, or you come undone in midair. And so, this is really a question of how good are your foundations? And so, really the thing to take from this as”transcript, stated
- The demo app was deployed publicly at memo.software-factory.dev.“as I see it in the comments the the URL of the demo app is memo.software-factory.dev. You can find everything on the software-factory.dev website as well. And I think we've covered a lot around the automation loops today.”transcript, stated
Alternatives considered (roads not taken)
Go directly from prompt to execution
Rejected because: Plan mode first reviews what the user wants, identifies missing detail, and asks questions before implementation.
Let agents work from a long spec without decomposition
Rejected because: The team needed single-concern issues so agents could implement digestible chunks step by step.
Drive to 100% automation from day one
Rejected because: The system needs confidence assessment, labels, other loops, and human escalation when agents cannot safely proceed.
Use one orchestrator automation for everything
Rejected because: They favored chunked lifecycle loops such as PR review and bug fixer automations, especially while foundations were still sequential.
Patterns
multi-agent-orchestration (agent-workflow)
The development process is composed of planning, feature planning, implementation, review, bug fixing, and escalation loops that interact through GitHub issues and labels.
human-in-the-loop-gate (risk-control)
The review loop uses a risk ladder: low-risk changes can be approved by agents, while high-risk authentication or database changes escalate to humans.
workflow-decomposition (planning)
The feature planner decomposes a long product spec into single-concern GitHub issues so agents can work sequentially on foundations before more complex features.
eval-driven-development (quality)
The workflow treats tests, standards, review automation, and quality metrics such as MTTR and change-failure rate as controls around agentic speed.
3 supporting quotes
Tradeoffs
Plan before execution
Chose Ona plan mode and a detailed product spec over Immediate agent implementation from a rough prompt.
Rationale: The team needed the agent to discover missing requirements, research technical decisions, and encode scope boundaries before coding.
Build sequential foundations first
Chose Database, authentication, app shell, and workspace groundwork before later features over Turning on full parallel implementation immediately.
Rationale: The zero-to-one phase required stable foundations before agents could safely work more broadly.
Use multiple lifecycle loops
Chose Separate PR review and bug-fixer loops over One orchestration automation reviewing and delegating everything.
Rationale: Chunked automations fit the development lifecycle and make failures, labels, and escalation easier to manage.
Optimize for velocity, not raw speed
Chose Speed plus quality controls and tests over Maximizing code volume alone.
Rationale: The team explicitly distinguishes faster output from moving in the right direction with sustained quality.
Gotchas (what bit them)
Agentic implementation fails when the initial prompt omits scope and technical detail.
Root cause: Execution-first agents would act on underspecified requirements.
Resolution: Use plan mode to review repo documentation, ask clarifying questions, and produce a detailed spec before implementation.
Speed without foundations can make quality worse rather than better.
Root cause: Agents amplify the organization's existing engineering process and controls.
Resolution: Invest in specs, tests, standards, review automations, and process controls before relying on high automation.
3 supporting quotes
Agents need a way to stop when confidence or risk is wrong for automation.
Root cause: Some judgments are too high-risk or unclear for autonomous execution.
Resolution: Use progressive escalation, confidence self-assessment, labels, handoffs to other agents, and human escalation.
3 supporting quotes
Full parallel automation too early can build on unstable foundations.
Root cause: Zero-to-one product work depends on groundwork such as database and authentication before later features.
Resolution: Keep early issues sequential and do not continue PR fixes until attached bugs are resolved.
Evaluation
The team evaluates the software-factory workflow through production practice, closed issues and pull requests, PR review comments, bug-fix loops, tests, MTTR, change-failure rate, and whether agent output preserves quality while increasing velocity.
Metrics: 52 closed pull requests · mean time to recovery · change failover rate · test quality across the test pyramid · PR review comments and escalations
3 supporting quotes
Outcomes
- The workflow produced a deployed Memo app and 52 closed pull requests during the demonstration period.
- The agents created and worked through GitHub issues, identified bugs, and participated in PR review and bug-fix loops.
- The team concluded that agentic development requires strong foundations, not only automation speed.
- Progressive escalation became a key design principle for risky or stuck work.
The case reports 52 closed pull requests, a deployed demo app, and an expected two-to-five-times acceleration if foundations withstand the added agentic speed.