PaymentsChange
Capture the failure class
Agents
See how specialized AI roles can turn business questions into documented findings, recommendations and reviewable work. Each role has a clear output and a human approval boundary. These are parts of the developing ROQIVA design and our methods—not six independently purchasable agents.
Agent 01 · Analyst
Turn detector hits and questions into finding cards a PM can decide on.
ModesTriageCardAsked questionRegression
Finding card, to founder review, then an agreed client decision checkpoint.
Approves its own finding, reports an unseen area as healthy, or computes counts. Code computes.
Every agent also preloads three shared skills: citing evidence, reading brand context and handing off artifacts.
F-001Failed payments get one retryPayments → CRM retry rule9F-002Zero-result searches never reviewedSearch log → range planning3F-004Courier delay events unusedOrders → customer messages3F-003Notify-me sign-ups never readStorefront → restock messages2F-006City stock shown as one national totalInventory → product page1.5F-005COD rule with no refusal historyOrders → COD eligibility1Score = value × confidence ÷ effort. Sample values, not measurements.
Agent 02 · Research
Bring outside evidence on how others solve the problem.
ModesInternal recallExternal scanBenchmark briefRefresh
Dated brief, to Product (and to Design when a designer asked).
Presents a benchmark as a measured result for this brand. It works from outside sources only and sees no customer data or credentials.
Internal recall reads the Brain and has no network tools. External scan searches the web and sees only a sanitised question. A brief combines both, with every claim labelled, dated and sourced.
Every agent also preloads three shared skills: citing evidence, reading brand context and handing off artifacts.
Every claim is labelled internal or external, dated and sourced. Conflicting evidence stays visible. This is a layout, not a brief.
Agent 03 · Architect
Design how the fix fits your existing tools, rules and data. Engineers then specify the APIs and code.
ModesReuse and clashSystem designPreflightRevise
Reuse note and clash list, to Product. System design and build brief, to Product, QA and the engineers who detail it.
Writes API contracts, payloads, schemas or code.
Every agent also preloads three shared skills: citing evidence, reading brand context and handing off artifacts.
PaymentsChange
Capture the failure class
CRMChange
Branch the retry rule
AnalyticsNew
Add retry events
Win-back journeyClash
Also messages on failed orders.
Clash check: the win-back journey also messages on failed orders.
Agent 04 · Product
Own the problem framing, the product solutions and the PRD.
ModesSolutionsRequirementsPRD revisionPatchTracking check
Solutions, to Gate 2. Requirements, to Design. PRD and tracking gap list, to Gate 3.
Overwrites text a person saved.
Product proposes a north star, input metrics and guardrails, each tied to a definition and the data that would verify it. The PM confirms. A metric the data can’t compute becomes an open question.
Every agent also preloads three shared skills: citing evidence, reading brand context and handing off artifacts.
The CRM retry rule treats hard, transient and bank-side failures the same. Gateway failure codes are captured and never read.
Retry each failure type the way it should be retried, and leave unrecoverable failures alone.
R1Capture the failure class on every failed payment attempt.R2Retry transient failures once, after a short delay. Never retry a hard decline.R3Show an error state with a next action for hard and transient failures.Show an error state with a next action for hard, transient and bank-side failures. ChangedYour PMCommentResolved
Bank-side failures have no error state. Add one.
Comment
R4Send retry_attempted and retry_result with the failure class.retry_attemptedA retry startsretry_resultA retry endsfailure_classOn the order eventOpen Card-network decline reasons were not in the export. Who owns them?
Agent 05 · Design
Turn requirements into a reviewable HTML prototype in the brand’s design system.
ModesFrom ProductFrom a designerRevise
Prototype and requirement-to-screen map, to Product (for the PRD) and Gate 3.
Sees customer personal data, or shows behaviour that does not exist yet without labelling it simulated.
Every agent also preloads three shared skills: citing evidence, reading brand context and handing off artifacts.
01DefaultR1
Review order
Pay ₹ ——
Pay now02ErrorR3
Payment didn’t go through
Your bank declined it. Try another method.
Try another methodKeep my cartYour designerCommentResolved
Offer “Keep my cart” as a second action.
Comment
03PendingR2
Retrying…
We’ll confirm in a moment.
04SuccessR4
Order placed
We’ve sent the details.
View orderAgent 06 · QA
Define and report the checks that decide whether a release is safe.
ModesPlanReportBrowser checks
Checklist, to Gate 3. QA report, to the Gate 4 approver.
Certifies an environment it did not test. A failure blocks release.
Every agent also preloads three shared skills: citing evidence, reading brand context and handing off artifacts.
2 passed · 1 failed · 2 not tested3 passed · 0 failed · 2 not testedRelease blockedReady to sign
Rollback rule agreed before release: pause the branch if duplicate charges appear.
A failure blocks release. Not tested is never reported as passed.
Code
Repeatable code handles counts, matching, routing and measurement. Agents interpret evidence and draft work; people review the decisions.
Match every captured signal to the decision that reads it and flag the gaps. Code, not an agent.
CodeOpens work items, runs agents in parallel, stops at gates, and is the only writer to the Brain.
CodeChecks releases against their spec, catches unplanned changes and measures results against a baseline. It never deploys.
CodeHandoffs
Read top to bottom. Agents on the same row run in parallel.
| Agent | Starts when | Reads | Produces | Hands to |
|---|---|---|---|---|
| Analyst | A detector raises a gap, or a person asks why a number moved | Detector hits; Systems, Journeys, Data and Logic sections | Finding card | Founder review, then a client decision |
| Research | Gate 1 approved, or a person asks for a benchmark | Confirmed finding | Dated brief: sourced benchmarks, conflicts kept visible | Product |
| Architect | Gate 1 approved, then Gate 2 approved | Finding; Systems, Data and Logic sections; chosen option | Reuse note and clash list. After Gate 2: system design (what changes, what depends on it) | Product, QA |
| Product | Gate 1 approved | Finding, brief, reuse note | Two or three product solutions with trade-offs and an agent pick (Gate 2). Requirements and every state. PRD draft, kept current as design evolves | Design, then Gate 3 |
| Design | Gate 2 approved | Requirements; Design section | Prototype and requirement-to-screen map | Product, then Gate 3 |
| QA | Prototype and PRD in draft | Acceptance criteria, design states, tracking requirements | Test checklist (Build step). QA report: passed, failed, not tested (Release step) | Gate 3, then Gate 4 |
Gate 3 releases the handoff pack: PRD, wireframe, tickets, test checklist and sources.
These are reference roles in ROQIVA’s developing architecture. Today, Track A uses founder-led work supported by appropriate tools, while Track B offers only the scoped intelligence capabilities agreed with the client. Design and QA remain with the brand unless separately agreed.
Rules for every agent
01
Write to a workspace, a design draft or a branch, never to a live system.
02
Each output cites its source and carries Confirmed, Supported or Hypothesis. A missing fact becomes an open question.
03
Each output links to its finding. A new direction supersedes older artifacts explicitly.
04
Each agent sees only the slice its task needs.
05
A live order record outranks a stale spreadsheet. Conflicts are shown, not silently resolved.
06
A comment or edit changes that task. Only the owner of a Brain section or a skill can turn it into a standing rule.
07
Every agent shows its purpose, version, skills, tools, caps, kill switch and latest eval result. Its runs appear in the case timeline under its name.
08
Restricted Brain sections and sources are left out of its slice, and what it writes carries the same restriction.
Absence is not evidence of non-use. Without the decision’s configuration or the owner’s word, a signal is “usage unknown”, a coverage gap rather than a finding.
Evidence labels
Code reproduced the counts.
The evidence is consistent, but the counts are not yet reproduced.
Not yet confirmed. Dormant data stays a hypothesis until its owner confirms.
By track
| Agent | Track A · Consulting | Track B · Modular intelligence | Track C · ROQIVA (development) |
|---|---|---|---|
| Analyst | Internal tool, then a retainer | A module, sold | Included |
| Research | Internal tool | Not sold | Included |
| Architect | A founder, by hand | Not sold | Included |
| Product | Internal tool for PRD drafts | Not sold | Included |
| Design | The brand’s designers | Not sold | Optional, run by the brand |
| QA | The brand’s QA | Not sold | Optional, run by the brand |
We can scope a consulting or modular intervention now, or show how a complete agent workflow is envisioned for ROQIVA.