Building a13n with a13n
Open development, shared contracts, and the collaboration tools we improve through daily use.
On this page
Development principles#
We follow two principles when developing a13n:
- Build in public and discuss in public.
- Work in a cycle of thinking, discussion, practice, and validation.
Build in public, discuss in public#
We use Issues and PRs to make problems, design discussions, action items, and implementation results public. The community can participate throughout: proposing needs, questioning designs, contributing information, implementing changes, and validating results.
Discussions also happen in offline syncs. We publish their conclusions and reasoning in Issues so developers and community members who were not present can follow progress and continue from the same information. Follow-up actions stay in the Issue, keeping discussion connected to the work.
Think, discuss, practice, validate#
Issues and PRs are the collaboration points in this cycle. Issues hold problem analysis, further discussion, and new action items; PRs hold implementation results and review. Thinking and discussion establish the goals, constraints, and responsibilities for an iteration. Practice and validation test those judgments.
Once a discussion reaches a conclusion, we assign the Issue to a specific person to carry it forward. They choose the tools and agents that suit their work, with uninterrupted time and room for independent judgment to reason, implement, and check within their responsibilities. When questions arise, they can continue the discussion in the Issue or talk in Slack or Lark.
Problems found during the work return to the Issue. If practice shows that an earlier judgment was wrong, we revisit the discussion and adjust the approach using the new facts. Each round of discussion should absorb what the work has taught us and lead to the next action.
Implementations go through PR review. A PR may be merged, with testing and real use continuing afterward, or sent back for further discussion in the Issue. Findings and new action items from validation feed the next round of thinking, discussion, and practice.
Specs and owners#
We maintain code quality through specs and owners. Specs define system behavior, responsibilities, and boundaries. Owners make design judgments and review changes in their areas. People and agents work within these constraints.
The repository keeps accepted product and architecture designs in spec/, proposals and discussion in Issues, and implementation review in PRs. Changes to design contracts update the affected specs, implementation, tests, and documentation together, keeping the design basis aligned with actual behavior. Later contributors can use that foundation to understand, modify, and validate the system.
MAINTAINERS.md records maintainers by area of responsibility. Reviewers are selected by a change's intent and the architectural boundaries it affects, with file paths as supporting evidence. A change spanning several areas needs the relevant maintainers' review. When module boundaries change, ownership changes with them.
DEVELOPMENT.md sets our code quality expectations: use consistent domain concepts and clear responsibilities, give shared rules an explicit home, and keep execution paths direct so state, side effects, resource lifecycles, and failure handling are easy to follow. Introduce abstractions for current needs and reduce how much a maintainer must understand or change at once. Fix a problem where the rule belongs, then check the affected callers.
The same requirements apply to human-written and agent-generated code. A change earns its place by fitting the design, solving a real problem, and justifying its runtime and maintenance costs. AI does not replace those judgments. When assessing technical debt, we first examine the design trade-offs, the clarity of responsibilities, and whether someone continues to own the maintenance.
Build tools for collaboration, improve a13n through use#
To collaborate better, we built our own bot with a13n and connected it to Lark, Slack, and GitHub. We use it in actual development, and that work helps us identify where a13n needs to improve.
We want a unified way to reach our project context. Discussions can happen in different places, but switching platforms should let us continue existing conversations and work without explaining the background again. Our bot connects project context across those discussions, while we keep improving a13n's context sharing and cross-thread communication so information can follow the work.1
We want an excellent user experience: a responsive main entry point, timely replies, and high-quality task results. That goal drives improvements to asynchronous execution and context management, including automatic background execution for long-running tools, receiving additional input during execution, and background context compaction. The main entry point stays available for communication while task agents get space to work and the context they need.2
We also want the system to grow with our projects and tasks and keep running over time. We therefore keep improving memory, environment management, and thread management: accumulating project knowledge, giving tasks explicit execution environments, and making work across threads possible to organize, follow up, and resume. These capabilities support the bot's daily collaboration and become reusable foundations in a13n.3
This is our dogfooding loop. Collaboration needs set the goals; actual use tests the design. Problems return to Issues for discussion, the relevant owners drive improvements, and PR review brings them back into use. The cycle of thinking, discussion, practice, and validation applies to our own tools and development process too.