Skip to main content

Working approach / Applied AI engineering

Engineering decisions.
Tested in practice.

How I turn AI assistance into reviewed, verifiable software—from architecture and implementation to security and delivery.

The tool helps. The responsibility stays.

I use ChatGPT and Codex for investigation, implementation support and review. These examples show automated review and an operator-run test that corrected an incomplete AI recommendation.

01

Scope before generation

Inspect the existing system, define the behavior and keep changes bounded.

02

Review beyond the diff

Question assumptions about permissions, data, dependencies and runtime behavior.

03

Verify the claim

Use relevant tests and operational evidence. A passing build alone is not the result.

01 / Featured walkthrough

RegImpact AI · 29 September 2026

Making staging temporary. Keeping verification real.

An AI-assisted review exposed three ways a cost-control change could compromise security or leave background processing idle. The final design changed the lifecycle, not just the replica count.

The final lifecycle
  1. 01Run functional staging
  2. 02Validate the system
  3. 03Preserve evidence
  4. 04Request teardown

Deletion is asynchronous. Requesting teardown does not prove every resource has been removed.

01The problem

A validated Azure staging environment kept running between demonstrations. Simply scaling every workload to zero looked economical, but the background processes had no trigger to wake them.

02What AI contributed

Codex reviewed the proposed changes and identified unsafe shell interpolation, a deployment–teardown race, and background workers that could remain at zero replicas.

03My engineering decision

I addressed the findings by passing confirmation through an environment variable, sharing the staging concurrency group, and keeping workloads functional during validation before requesting teardown.

04What the record verifies

The merged diff and public review replies show the corrections. The change preserves smoke checks, deployment-evidence capture and a resource inventory before deletion is requested.

What this does—and does not—prove

This is evidence of a merged implementation and automated review, not a new cloud deployment, a completed deletion check or measured cost savings. Azure was disabled at the time of the PR.

02 / Testing an AI proposal

TriageAI · 16 October 2026

The smoke test contradicted the AI recommendation.

An assistant recommended a narrow token-creation role for a private Cloud Run smoke check. I ran the check, reported the permission denial and used that result to get the recommendation corrected before continuing.

The AI proposal
The initial AI recommendation was Service Account OpenID Connect Identity Token Creator. It did not cover the gcloud impersonation flow used in this deployment.
What my test found
My terminal returned PERMISSION_DENIED for iam.serviceAccounts.getAccessToken. That was evidence that the proposed configuration was insufficient for the actual command path.
How I challenged it
I brought the failing smoke-test result back to the assistant instead of treating the IAM setup as verified. The assistant then revised its recommendation to Service Account Token Creator.
The corrected boundary
The recorded final configuration grants Token Creator on the smoke service account only. The smoke identity has Cloud Run Invoker access, without database-secret or report-bucket access. No service-account key file was needed.
Recorded verification
The release record documents successful private-candidate checks for health, readiness, inference, workspace isolation and private PDF retrieval.

Precise attribution

This is operator verification that exposed an incomplete AI recommendation. The assistant supplied the revised IAM diagnosis; I do not claim to have independently derived it. The public runbook corroborates the configuration, while the original development exchange remains private.

03 / Review decisions

The important part is the response.

Three findings from the same change, resolved through two engineering decisions. Each links the review feedback to a concrete correction.

Security01

A confirmation field is still untrusted input.

Initial approach
A workflow input was interpolated directly into shell source.
What review exposed
Automated review identified a script-injection path in a workflow with Azure OIDC access.
Decision
Pass the input through an environment variable and compare the quoted value in the shell.
Inspect review and response
Reliability02

Cost control must preserve a working system.

Initial approach
Zero replicas were applied to background processes without wake-up scaling rules.
What review exposed
HTTP checks could pass while ingestion and source-monitoring work remained queued.
Decision
Keep staging functional for validation, retain evidence, then request teardown. Serialize deployment and deletion with a shared concurrency group.
Inspect review and response

04 / Working boundaries

Assistance is useful.
Accountability is essential.

Ownership
AI can propose and review. I remain responsible for understanding the implementation and its tradeoffs.
Attribution
Automated findings are labelled as automated review. Public PRs show the changes; they do not establish who drafted every line.
Security
Public examples link to sanitized repository evidence rather than private prompts, credentials or client information.
Evidence
A merged change, a tested release and a production deployment are different claims. Limitations stay visible.

See the systems behind the decisions.

Architecture, evaluation and delivery evidence across my personal projects.

Explore projects

Chintan Patel

Applied AI Engineer · ML · RAG · Full-Stack AI Systems

Privacy