From 100 Pages of Requirements to a relatively tiny Enterprise App

BK
—Nov 25, 2026

For a deeper analysis of this application please read here.
Jext is a substantial React/TypeScript and Python/FastAPI visual Agile management app - if you are in the know - but is not this we care about: it was build to demonstrate the scale and structure of a software-generation deliverable produced by BK from a lengthy (100 pages ca.)
Artifact | Generated output |
|---|---|
Application source | 275 Python, TypeScript, and TSX files, approximately 105,513 lines (88,003 excluding tests) |
Automated tests | 89 test files |
Requirements decomposition | 283 requirement atoms, organized into 46 use cases |
Requirements with implementation mappings | 275 of 283 requirement atoms (97.2%) |
Architectural components in the reverse traceability report | 106 components |
Implementation documentation | Architecture, interfaces, data models, operations, runtime responsibilities, component contracts, authorization, persistence, and integration details |
Additional artifacts | 5 SQL schemas, dependency manifests and lockfiles, 29.2 MB ReqIF export, 25,195 Requirement-to-method links, JSONC traceability reports, requirements specification, |
Original requirements | |
The security architecture: RBAC + ReBAC + ABAC
One of Kahuna capabilities is to be able to implement complex authorization models.
Jext uses a hybrid of Role-Based Access Control (RBAC), Relationship-Based Access Control (ReBAC) and Attribute-Based Access Control (ABAC) that combines user's workspace role and scoped role bindings, the evaluation of the presence of specific relationships (eg: relevant team membership and project associations) and contextual restrictions involving an operation, resource state, requested fields, and applicable policies.
Enterprise developers know how security is hard, as it lives like a sort of external “parasite” with his own logic overimpressed over the normal flow of the app, with somehow non deterministic consequences throughout the application (some services might be secured, some not, some might be governed by an entirely different logics like : search must not expose restricted resources; reporting must apply disclosure restrictions; The UI must apply different security projections over the same interface depending on the current user access level (read only, full access, partial interaction only with certain operations and so on).
Some of the security concerns that must be meet during implementation.
Concern | Question the application must answer | Is part of BK Logic? (This is not guaranteed, every condition must be tested thoroughly) |
|---|---|---|
Authentication | Can the application reliably establish who is making the request? | Yes |
Authorization | Is the actor permitted to perform this operation on this resource under these conditions? | Yes |
Projection | Are security rules projected over the UI? | Yes |
Server-side security enforcement | Are security rules and validations enforced on the server, independently of the security projection implemented in the UI? | Yes |
Excessive Data Exposure / Broken Object Property Level Authorization | Can an otherwise authorized API call expose properties or information the actor is not authorized to receive? ( also known as BOPLA). | Not yet intentionally enforced but likely. Needs verification. |
Input security | Can malicious input manipulate application execution, queries, or data? | Needs verification. |
Business logic integrity | Can someone perform individually permitted operations in a sequence that violates business rules? | Unlikely but needs verification. |
Data protection | Can sensitive information leak through logs, or unintended queries? | Needs verification. |
Service security | Are externally exposed service interfaces secured | Partially implemented. |
Even though incomplete, it is significatively better compared to current frontier model capabilities: according to DualGauge: Automated Joint Security-Functionality Benchmarking (EMNLP 2026) that examined 307 specification-based programming tasks, even the strongest evaluated model achieved less than 15% joint security-and-functionality success in each tested language.
Consistency across frontend, backend, and persistent state
BK also addresses another difficult problem in generated applications: preserving consistent behavior across runtime boundaries.
The app frontend is implemented in TypeScript and the backend in Python. Their responsibilities differ, but the operations connecting them must remain connected and compatible.
For example, a task transition involves more than changing a value on a card: the interaction must identify the task and intended transition, establish the authorized operation, validate the current state and revision, persist the outcome, and reconcile what the user sees.
These concerns cannot be solved reliably by treating each screen or endpoint as an independent coding task.
According to Constraint Decay: The Fragility of LLM Agents in Backend Code Generation (COLM 2026) coding agents become substantially less reliable as architectural, database, and structural requirements accumulate together.
Documentation and copilot readiness
Alongside the source code, the repository provides an documentation file containing the architectural plan, component responsibilities, file definitions, interface descriptions, transport contracts, data models, validation rules, and deployment instructions.
Its generated `AGENTS.md` gives coding assistants an explicit account of the system's intended structure, dependencies, and responsibilities.
The result is a **copilot-ready codebase**: one in which a human engineer or coding assistant has substantial architectural context available before making changes.
Testing
Although is not a proved complete code coverage, as part of the implementation process we implement extensive unit testing that must be passed before the development proceeds.
To better understand the significance of this proof of concept, please read here.