Business Systems Architecture · Automation · Applied AI
Software Engineer — Business Systems & Automation
I design digital systems for organizations that need process automation,
internal business systems, AI-assisted knowledge management, and enterprise integration.
Combining production fullstack craftsmanship with formal architectural governance (ADRs).
Each case study documents the operational problem, the technical architecture decision, and the measurable business value delivered in live production environments.
Case Study 01 · FlagshipLive Production
Universal Workflow & Approval Engine
Problem: Enterprise approval processes (procurement, capex, HR) depend on manual spreadsheets and informal chat threads, causing zero visibility and compliance risks.
Solution: Configurable Business Process Engine (BPE) supporting multi-step approval state machines with application-layer AES-256-GCM PII encryption and HMAC blind indexing.
Business Value: Standardized multi-department workflows with 100% tamper-evident auditability and zero plaintext PII exposure.
NestJSPrisma ORMAES-256-GCMPostgreSQLHMAC Blind Index
STATE TRANSITIONBPE ENGINE
draft→pending_approval→approved
Case Study 02Live Production
Immutable Event & Audit Ledger
Problem: Financial & event traffic ledgers are vulnerable to silent data modifications via compromised database credentials or application bugs.
Solution: Offline-first event scanning platform with PostgreSQL PL/pgSQL immutability trigger (`BEFORE UPDATE/DELETE`) enforcing append-only rules at the engine level.
Business Value: Forensic tamper-proof integrity for high-volume transactions with seamless offline PWA idempotency sync.
Formal decision logs documenting context → decision → trade-offs → consequences.
Demonstrating architectural maturity and system boundary governance.
ADR 0001 · Accepted
10-Domain Bounded Context Map
Context: Multi-product platform expansion risks super-app collapse. Decision: Enforce 10 strict bounded contexts (Platform, Commerce, Operations, Finance, etc.). Consequence: Zero cross-domain table sharing; all collaboration forced through APIs/events.
ADR 0006 · Accepted
Event Delivery: Transactional Outbox / Inbox
Context: Cross-domain events require reliable fan-out without losing messages on crashes. Decision: Adopt SQL-based Outbox/Inbox pattern in the same DB transaction. Consequence: Guaranteed at-least-once delivery and idempotent consumption without message broker overhead.
ADR 0007 · Accepted
Platform Owns Module Entitlements
Context: Duplicated feature-gating checks cause security drift across modules. Decision: Centralize RBAC entitlement checks in Platform core service. Consequence: Single audit point for billing/permission changes across all applications.
Professional Track Record
Experience & Production Impact
A balanced track record of team enterprise engineering and founding independent digital products.
Product Systems Engineer & Founder
Independent Digital Products · Beresin OS · Sentinel System · B2B Hub
Designed, built, and launched multi-tenant service operations platform with Business Process Engine
and AES-256-GCM PII encryption. Developed offline-first event scanning platform with database-level
immutable audit ledgers. Built B2B fabrication approval platform automating CAD signoffs and PDF contracts.
Software Engineer
Previous Employer · Enterprise Production Systems
Engineered multi-branch organizational access control (RBAC) schemas handling nested branch hierarchies and data isolation.
Developed automated cloud VM provisioning engines and Kong API Gateway request routing microservices in an Agile team.
Bachelor of Computer Science
University · Thesis: AI Test Generation & Specification Bias
Empirical research evaluating LLM prompt patterns, reproducibility metrics, and edge-case coverage gaps
when AI models generate test suites from specifications.
Applied AI & Knowledge Systems
Applied AI Research & Integration
Focusing on privacy-first internal knowledge retrieval, data access permissions, and specification bias analysis.
Thesis ResearchInternal Knowledge & Decision AI
Automated AI Test Generation & Specification Bias Analysis
Problem: Enterprise AI adoption is bottlenecked by data privacy fears and happy-path bias where AI test generators miss critical edge cases.
Research Focus: Empirical study measuring edge-case coverage gaps, boundary value validation, and reproducibility across prompt strategies.
Practical Insight: Proved that specification clarity (Gherkin/OpenAPI) and strict data permission boundaries are more vital to AI reliability than prompt engineering alone.
PythonLLM PromptingCoverage AnalysisEmpirical Study
PL/pgSQL trigger enforcing append-only semantics at PostgreSQL engine level.
Cannot be bypassed by any application code, API key, or direct DB session.
PL/pgSQL (PostgreSQL)
CREATE OR REPLACE FUNCTION enforce_ledger_immutability()
RETURNS TRIGGER AS $$
BEGINIF TG_OP = 'UPDATE'THENRAISE EXCEPTION'SECURITY VIOLATION: Ledger entry % cannot be modified. Session: "%".',
OLD.id, session_user
USING ERRCODE = 'restrict_violation'; -- SQLSTATE 23001ELSIF TG_OP = 'DELETE'THENRAISE EXCEPTION'SECURITY VIOLATION: Ledger entry % cannot be deleted. Session: "%".',
OLD.id, session_user
USING ERRCODE = 'restrict_violation';
END IF;
RETURN NULL;
END;
$$ LANGUAGE plpgsql SECURITY DEFINER;
CREATE TRIGGER trg_ledger_immutability
BEFORE UPDATE OR DELETE ON event_wallet_ledger
FOR EACH ROW EXECUTE FUNCTION enforce_ledger_immutability();
B2B Approval State Machine
All valid state transitions defined in one place. Invalid transitions are impossible to express.
Contract PDF is generated from the approved spec version — not from human-typed text.
Context
The system spans multiple products. Without explicit boundaries, all of it collapses into one
super-app or fragments into ad-hoc tables with no owner. Options: ~6 broad domains (too coarse),
~20 fine domains (too much overhead). 10 domains balances scale and legibility.
Decision
Adopt 10 domains: Platform · Commerce · Relationship · Operations · Content · Intelligence ·
Automation · Analytics · Finance · Integration. Each domain owns its model, data, rules, API,
events, permissions, and lifecycle. The set is closed — a new ADR is required to add or remove.
Consequence
Every business record has a clear home. Cross-domain collaboration goes through events/APIs,
never through shared tables. Platform remains a trust layer, not a super-monolith.
ADR 0006: Transactional Outbox / Inbox
Status: Accepted · 2026-06-18
Context
Domains must collaborate through events, never shared tables. A single paid-order event fans
out to seven domains. In-process emit loses events on crash. A broker is premature overhead.
Decision
Each emitting domain owns {domain}_outbox, written in the same DB transaction as the
state change. Each consuming domain owns {domain}_inbox, keyed by event ID — making
consumption idempotent. A real broker can be added later without rewriting either table.
Consequence
No event is lost on crash. No event is processed twice. No new infrastructure at current scale.
ADR 0007: Platform Owns Module Entitlements
Status: Accepted · 2026-06-18
Context
If each module implements its own entitlement check, the logic diverges over time, edge cases
are handled inconsistently, and a billing change requires updates across all modules.
Decision
Platform is the single source of truth for module entitlements. Any module calls the
Platform entitlement service or reads its cache — never maintains its own entitlement state.
Consequence
Billing changes propagate automatically. Entitlement logic is tested once, in one place.
Modules become simpler — they make a query, not a policy decision.
AI Test Generation & Specification Bias
Undergraduate Thesis · Empirical Study
Research Question
Do LLM-generated test suites systematically overfit to the happy path described in a
specification, while consistently failing to cover edge cases and negative test paths?
Methodology
LLM prompting with varied temperature and prompt structures → coverage analysis against
human-authored test suites → reproducibility testing across multiple sessions.
Key Findings
Happy-path bias is consistent and measurable. Deterministic sampling (temperature=0) produces
reproducible bias — not unbiased output. Specification quality is the dominant variable:
ambiguous specs produce the worst AI coverage regardless of model.