R&D Space

Labs & Experiments

Focused explorations, architectural prototypes, and engineering experiments. This space is used to validate technical feasibility and workflow ideas before turning them into products.

AI Toolchain Demarcation:Claude Code is utilized daily as a developer CLI toolchain for accelerated software engineering, test authoring, and codebase refactoring. In contrast, Claude API integration into Dompet Pintar is currently an experimental architecture plan undergoing rigorous evaluation in this Labs space, and is not yet deployed to production.

Evaluation Protocol: Claude API for Indonesian Cashflow Transaction Parsing

Experiment
/claude-api-evaluation

Purpose

Testing Claude 3.5 Haiku/Sonnet via the Anthropic Claude API for structured extraction of financial transaction records (amount, transaction type, category, and date) from colloquial Indonesian chat inputs (e.g., 'kemarin beli bensin 50rb di pertamina', 'tf ke budi 150rb bayar kas').

Key Technical Takeaway

Decoupling LLM parsing from execution and enforcing rigid Zod JSON schemas prevents hallucinated data from corrupting database ledgers. Current production Dompet Pintar operates strictly on deterministic commands (/in, /out, /saldo); Claude API remains an experimental architecture undergoing evaluation across 5 criteria: schema validity, Indonesian semantic accuracy, roundtrip latency (<1.2s), client-side PII regex pre-filtering, and token economics per transaction.

Anthropic Claude APIStructured Outputs / Tool CallingZod SchemaTypeScriptPrompt Testing

Micro-Session Just-in-Time Access Engine

Prototype
/ephemeral-jit-session-engine

Purpose

Lightweight Redis-free ephemeral authorization layer enforcing maximum 15-minute operational session leases on Go backends.

Key Technical Takeaway

Short-lived cryptographic tokens with signed ticket context eliminate continuous database session lookups while preserving zero-trust guarantees.

GoGinJWT ClaimsCryptographic Signatures