Q AOSIQ

Reference architecture set

Applying the Pattern to Other Systems

Stephane Jolicoeur · AOSIQ · November 2026

Companion to the reference architecture. IBM i is the first adapter, but nothing in the four parts depends on it. This page sketches what each part looks like on other kinds of long-lived systems.

What stays the same, and what an adapter supplies

Portable, unchanged on every platform

  • The knowledge service, its trust tiers and the golden-question gate.
  • The control plane for action: verified person, operation registry, allow-list, change-record check, audit store.
  • The verification loop: checks, review clocks, three outcomes.
  • The working method and the adoption sequence.

What each adapter must supply

Part The adapter supplies
Live observation Typed read-only tools for that platform's common questions, a read-only connection, and its query or command guardrails
Knowledge Its vendor documentation and message catalog, so identifiers can be machine-verified
Governed action Its native way to borrow authority for one operation, and a threat review of that mechanism
Verification The read-only checks its living documents need

The hard part is almost always the third row. Each platform has a different native way to borrow authority, and the guarantees aren't equal. The sections below sketch each one; none replaces the adapter's own threat review.

Relational databases

Live observation. Typed tools over the catalog and the performance views: sessions, locks and blocking, long-running statements, table growth, failed scheduled jobs, recent schema changes. Connect as a read-only role, on a read replica where one exists. Free-form queries are parsed and allow-listed, with a statement timeout and a row cap.

Knowledge. Vendor manuals and error-code references, the team's runbooks, the data dictionary, and the change history of the schema.

Governed action. Definer-rights procedures are the native way to borrow authority: a procedure owned by a narrow role runs with that role's rights, and the caller only gets permission to execute it. Examples are SECURITY DEFINER functions in PostgreSQL, definer's rights in Oracle, and EXECUTE AS in SQL Server. Typical first operations: cancel a runaway session, refresh statistics on a named table.

Verification. Checks such as "this index exists", "this scheduled job is enabled", "this parameter has this value".

Watch out for

  • Functions that look like reads but write, or call out to the network.
  • Definer-rights code that builds SQL from its arguments. That turns a narrow operation into a general one.
  • Personal data in free-text columns that masking by column name won't catch.

Linux and Windows servers

Live observation. Typed tools for service status, recent log entries for a named service, disk and memory pressure, scheduled tasks and their last result, installed package versions, listening ports. Each tool runs one fixed command with typed arguments. There is never a general shell.

Knowledge. Vendor and distribution documentation, the team's runbooks, configuration-management code (it records intent), and past incident notes.

Governed action. On Linux, sudo rules that permit exactly one command with fixed arguments, run as a narrow account. On Windows, Just Enough Administration (JEA) endpoints that expose only named commands under a temporary virtual account. Typical first operations: restart a named service, clear a known temporary directory.

Verification. Checks such as "this service is enabled at boot", "this package is at this version", "this config file matches the managed copy".

Watch out for

  • Commands that accept wildcards or file paths, which can reach far beyond what was intended.
  • Log content carrying instructions (see the top risk in the threat model).
  • Drift between configuration management and what's actually running: report it, don't fix it silently.

Cloud platforms

Live observation. Typed tools over the provider's read APIs: resource inventory, health and alarms, recent deployments, cost by service, identity and policy listings. Access uses a read-only role. The provider's own audit log (for example AWS CloudTrail, Azure Activity Log or Google Cloud Audit Logs) is both a data source and an independent record of what the assistant did.

Knowledge. Provider documentation, the team's infrastructure-as-code (it records intent), architecture decision records, and runbooks.

Governed action. Short-lived, narrowly scoped credentials issued per operation: an assumed role with a session policy that allows exactly one action on one resource, expiring in minutes. Most providers also offer time-limited privileged access with approval built in. Typical first operations: restart one instance, scale one service within set limits.

Verification. Checks such as "this bucket is not public", "this resource matches its infrastructure-as-code", "this alarm exists and is enabled".

Watch out for

  • Broad managed policies attached for convenience. They quietly turn a read role into a write role.
  • Changes made outside infrastructure-as-code, which the next deployment will undo.
  • Cost: a read API called in a loop is cheap per call and expensive in aggregate.

Mainframe

Live observation. Typed tools for job status and output, console messages, dataset and catalog information, subsystem and region health, and scheduler status. Read-only access goes through the platform's supported interfaces (for example its REST management services) under a dedicated identity, never a person's ID.

Knowledge. The vendor message catalogs (rich, precise, and well suited to machine-verifying identifiers), product manuals, the site's operations runbooks, and job documentation.

Governed action. The external security manager (RACF, ACF2 or Top Secret) controls who can do what. Narrow authority is granted to a dedicated identity for specific commands or resource profiles, and operations run through an automation product or a controlled request interface. Typical first operations: reply to a known console message from a documented playbook, release one held job.

Verification. Checks such as "this job is scheduled", "this dataset is cataloged where the runbook says", "this message ID exists in the catalog with this meaning".

Watch out for

  • Console commands are powerful and broad. Allow-list exact commands, not command prefixes.
  • Job output can be very large. Cap what a tool returns.
  • Long-standing site conventions that live only in people's heads: these are exactly what the knowledge steward should capture first.

Network devices

Live observation. Typed tools for interface status and errors, routing and neighbor state, configuration as running versus saved, and recent log entries. These use read-only accounts limited to show-style commands, or the device's read-only management APIs. Monitoring and flow data already collected elsewhere is often the safer source.

Knowledge. Vendor documentation, the network's design documents, configuration templates in version control, and the team's change history.

Governed action. Changes go through the existing network automation pipeline rather than straight to a device. The broker requests a pre-approved, templated change, the pipeline applies it under its own account with automatic rollback, and the change record ties it together. Typical first operations: bounce one access port, clear the counters on one interface.

Verification. Checks such as "running config matches the saved and templated config", "this interface description matches the inventory", "this route is present".

Watch out for

  • A wrong change can cut off the path the tools themselves use. Keep management access out of band, and default to rollback on lost contact.
  • A blast radius that's hard to see: a change on one device can affect many sites.
  • Device logs that echo user-supplied text.

ERP and SaaS applications

Live observation. Typed tools over the application's own APIs: failed background jobs and integrations, stuck documents or workflows, configuration values, user and role assignments, and release or patch level. Access goes through an integration user with read-only scopes. For packaged ERP running on a database the team manages, prefer the application's APIs to direct table reads, because the application's own logic decides what the data means.

Knowledge. Vendor documentation and release notes, the implementation partner's design documents, customization and configuration records, and functional specs. This is where intent most often goes missing.

Governed action. Integration users with narrow scopes, plus the application's built-in approval workflows where they exist. The broker can start an action, but the application's own approval and audit apply on top. Typical first operations: retry one failed integration message, release one blocked workflow item.

Verification. Checks such as "this configuration value is still set", "this customization is still active after the upgrade", "this scheduled job is enabled".

Watch out for

  • Vendor upgrades that change behavior under existing customizations: Example 1 in the worked examples, in a different setting.
  • API rate limits and licensing terms that count integration users.
  • Business data in every response. Masking and classification matter more here than anywhere.

Side by side

Platform Native way to borrow authority Main risk to review
IBM i Programs that adopt their owner's authority while they run Adopted authority reaching further than the one operation; owner profiles that can sign on
Relational databases Definer-rights procedures Procedures that build SQL from their arguments
Linux and Windows servers Single-command sudo rules; JEA endpoints Wildcards and paths that widen a narrow command
Cloud platforms Short-lived, scoped role sessions Broad managed policies attached for convenience
Mainframe Security-manager profiles for specific commands and resources Command prefixes allowed where exact commands were meant
Network devices The automation pipeline's account, with rollback A change that cuts off the management path
ERP and SaaS Narrow integration scopes plus built-in approvals Upgrades changing behavior beneath customizations

The middle column changes with every platform. The control plane around it (who's asking, is it allowed, is it recorded first, was it approved) doesn't. That's what makes the pattern portable, and it's why every new adapter starts at Stage 1 of the adoption sequence, however well the last one went.

Want to know where your own system stands? The knowledge risk assessment covers Stages 0 to 2, read-only from start to finish.

Request a 30-minute call