Implementation guides
Building with AI still leaves me responsible for the system
A bounded development and release process for reviewed extraction, deterministic calculations, authorisation and honest delivery evidence.
Stefan Rampersad · Principal Strategist, PHNYXPRO · 5 min read ·
- Project:
- PHNYXPRO build portfolio
- Historical period:
- Lessons across the 2025 to 2026 build portfolio
Retrospective written 25 November 2026
AI can make a plausible screen arrive quickly. Responsibility arrives with it. Valuate's deterministic engine and narrative distinction, Dossier's reviewed extraction, the staged HCM prototype and early brand tools give me different reasons to keep that responsibility visible. A calculation, an extracted field and a suggested positioning statement need different kinds of review. My recommended process treats generated work as a proposal to inspect, test and release deliberately, with evidence that is specific to what the system actually does.
Bound the task before asking for code
Write a brief naming the user, problem, allowed data, expected result and exclusions. Break it into a bounded task with a small acceptance surface. For a reviewed extraction workflow, that task might read an authorised document, propose typed fields and show them for confirmation. It should explicitly exclude silent replacement of an existing approved record. For an HCM prototype, mark which pages and workflows remain planned so the interface cannot imply a complete employment or payroll product.
GOV.UK's discovery guidance supports understanding the problem before selecting a solution. Define a data contract before accepting generated screens: field types, required values, ownership, validation, source references and error states. State what an empty or uncertain response means. Ask for one complete vertical slice through input, authorised processing, review, storage and read-back. A polished form disconnected from those responsibilities can obscure the uncertainty rather than reduce it. Keep demonstration data visibly separate from the real records the workflow is meant to manage. [GOV.UK: the discovery phase]
Preserve the difference between calculation and explanation
For a Valuate-inspired teaching example, retain the human-owned methodology in a deterministic calculation path. Record the accepted input set, methodology version and calculation result. The narrative layer can explain that result within a defined scope, while preserving its origin. Check that report inputs equal the accepted calculation inputs and that displayed values equal the engine's outputs. A fluent explanation must never replace a number because it sounds more convincing. This guide provides development governance, not investment advice or a proprietary valuation model.
For Dossier-style extraction, keep each proposed field linked to its document and location where feasible, with uncertainty made visible. Require confirmation before writing it into an approved record. If an extraction changes, show the old and proposed values and let an authorised reviewer decide. Store the decision separately from the suggestion. For early brand tools, treat an AI-generated archetype or tagline as material to examine against the strategy brief; generation itself does not validate the strategic choice or prove a commercial response.
Review boundaries before attractive behaviour
OWASP recommends checking authorisation on every request. Test the server boundary independently of the interface: a hidden button is insufficient protection. Resolve organisation access from the authenticated context and validate the selected record within that scope. Review generated queries and mutations for accidental broad access. Limit the information sent to an AI service to the permitted task, and define handling for logs, attachments and retained responses. A convenient prompt should not become a route around the application's data rules. [OWASP: authorisation guidance]
Row-level security can restrict database rows according to policies. It still needs deliberate policy design and tests. In a multi-tenant prototype, verify that an authorised staff member can read the intended record and cannot retrieve a neighbouring organisation's record by changing an identifier. Exercise server functions as well as browser requests, and review privileged paths separately. Keep secrets server-side and avoid putting private documents into public examples. Do not treat a platform's available security features as evidence that production configuration has been completed correctly. [Database row-level security documentation]
Make acceptance concrete enough to fail
Review the generated code against the brief and data contract before merging. Tests should use concrete expected results. For the calculation example, assert the accepted input and report equality; for extraction, assert that unconfirmed proposals cannot overwrite reviewed values. Add cross-tenant denial tests and duplicate-event handling where processing can retry. Exercise malformed input, unavailable providers, partial responses and permission changes. The value of a test lies in detecting a meaningful violation, rather than agreeing that the page rendered some text.
Design a fallback with the operational owner. A failed extraction may leave a document awaiting manual entry; a narrative failure may leave the verified calculation visible with an explanation unavailable message. Preserve the person's entered data and make retry ownership clear. Avoid claiming that every failure can safely retry: a state-changing action needs a stable operation identity and a defined result. Human review should remain available where the input is ambiguous or the business meaning cannot be settled by validation alone.
Keep a delivery record with honest verbs
Maintain a source and version log, a decision log and a release checklist. Record the model or tool used where relevant, the code change, review outcome, test results, build result and release identifier. Distinguish generated, committed, built, configured, deployed and verified. Those verbs describe different evidence. A payment library in a package list does not prove a working payment account, and an authentication page does not prove every protected operation rejects an unauthorised caller. Mark planned checks as planned until somebody performs them.
Release a bounded slice with monitoring for its important failures and a rollback or disablement path. Agree a maintenance budget in time and responsibilities: dependency review, provider changes, data-policy review, unresolved defects and user feedback all need owners. Revisit assumptions when the slice encounters real work. For me, reflecting on code can explain a design decision and its trade-offs; claiming a business or clinical outcome requires separate evidence. AI assistance does not remove that distinction or the obligation to keep the system maintainable.
References
Stefan Rampersad
Stefan leads PHNYXPRO, writing about brand storytelling, strategy and the business of creative work in the Caribbean and beyond.
Keep reading The Post