Kapitol World

The tools

The model outlives the runtime

Five tools stand behind World: Phoenix prints reports, PRDW designs a report from a sentence, Phoenix Forge generates the sites, SqlWrapper guards every call to the database, and the Oracle, an AI model, proposes designs. All rest on one idea: a report is not the program that prints it, and an application is not the screen framework it was built with. Capture the model - what the thing really is - and the runtime it was bound to (the vendor software it needs in order to run) can be thrown away and rebuilt on current software.

From words to a measured result A person describes what they want in plain words. The Oracle, an AI model, proposes a design. Phoenix builds a report, or Phoenix Forge builds an application. Every number is counted again by an independent SQL query. Only what is equal is shown. Plain words "orders percustomer" The Oracle an AI modelproposes a design Phoenix - PRDW builds the report Forge - Forge Studio builds the application = SQL ? counted again,independently shown only if equal
The same road for a report and for an application: words in, a design proposed, a build, a count by SQL - and only what is equal is kept.

PRDW - a report from a sentence

Phoenix is a report engine and designer rebuilt from scratch on .NET 10, keeping the model of Crystal Reports but none of its runtime: its formula language, grouped bands, charts, drill-down, PDF. PRDW, the Phoenix Report Designer Wizard, adds one step in front: a person describes a report in a sentence, the Oracle designs it, Phoenix builds it - and it is shown only after its totals were computed again by an independent query and found equal.

79pages of "orders per customer", designed from those three words for about ten cents (10 November 2026)
$4,083,665.34its grand total - equal to a query written straight against the base tables
2engines it runs on: SQL Server and PostgreSQL
5reports of the ward, each from one sentence, every total checked against SQL

Phoenix Forge and Forge Studio - an application from a description

Phoenix Forge rebuilds Iron Speed Designer - a tool that generated database applications and died with its runtime - on Blazor. It keeps Iron Speed's model and nothing else:

Forge's model of an application An application is pages; a page has panels; a panel has fields. A panel has one of four roles found from the database's keys: master, parent, child or many-to-many. Page a kind + its master table Panels each with a role Fields by label 1 : n1 : n four roles, from the keys: master - the record itself parent - what it belongs to child - its rows, as a grid many-to-many - through a link

It writes nothing into your database

Forge reads a database's design and writes a model file and an application. No procedure, no view, no object is added to the database it serves. The same application, from the same model, runs on SQL Server, PostgreSQL and Microsoft Access with the same numbers.

Permissions are algebra

Who may do what is not a table of role flags. It is a logic condition over eight base facts - Admin, Owner, Grant, Authed, Public and three more - reduced by two classic methods of logic minimization (Quine-McCluskey and Petrick) into rules a person can read, such as Edit = Owner OR Admin, and enforced on the server.

Forge Studio

"New Project" stands where PRDW has "New Report". The Oracle proposes a whole application from a description - pages, groups, the access policy, command pages, reports - and Forge keeps nothing whose numbers do not equal SQL. World's first seven applications were built from the worlds' own descriptions (1 November 2026); every site of these worlds is generated by Forge.

On 21 October 2026 an application was built from the AI's words alone, nothing edited by hand: 50 of 50 pages equal to SQL. It was then judged against Dimitar's own Iron Speed application on the same data (see Tested).

SqlWrapper - no value ever pasted into SQL

Seven projects of the family - the hospital's servers, the robot monitor, the world engine, the reporting site and its viewer, and Forge itself - talk to SQL Server through their own copy of SqlWrapper, a small class with one rule: stored procedures only. A caller names a procedure and passes values; the wrapper never builds a query from text. That leaves no place in the calling code where a value could become SQL, and keeps the business's contract in the database, not scattered through the code.

Forge's applications are the one deliberate exception, because the database they serve is not theirs to change: there each table's SQL is written by the generator, in that engine's own dialect - but every value is still a typed parameter, and every name is fixed when the application is generated. Even a sort order is picked from a generated list, never taken as text.

The Oracle - one narrow question at a time

The Oracle is an AI model, Claude Fable 5.2, asked for designs: a report, an application, the pictures of the library, the rules of a game, a way to correct a reading - and a review of these very pages. How its answers are judged: see How we work.

The stack

PartWhat it is
DatabaseSQL Server 2025 - the free Express edition for the demo; PostgreSQL 17 and Access where Forge serves them
ApplicationsBlazor on .NET 10, generated by Phoenix Forge; no ORM, no vendor runtime of the thing rebuilt
ReportsPhoenix and PRDW, PDF by QuestPDF
Measuringkits in C#, driving a real browser (Microsoft Edge, through Playwright); every count against SQL
This siteplain HTML, CSS and SVG - no database, no framework