← Back to all apps

DirectFail Tax

Live in productionFree account required

Sort your freelance business expenses with rules you can read, then fill in your Schedule C numbers.

DirectFail Tax showing its sign-in page

Current status

Live solo-business expense ledger and Schedule C packet generator at tax.ngi.video with isolated per-account storage; requires a free account.

Overview

Clear, rule-based tax bookkeeping and Schedule C calculation web app at tax.ngi.video with isolated per-account YAML ledgers, cent-exact integer math, and browser-triggered IRS PDF packet generation.

Why it was built

Commercial tax prep sites hide straightforward self-employment tax math behind dozens of upsell screens and black-box questionnaires.

Why it helps

Categorizes business expenses with transparent rules you can inspect, calculates exact Schedule C and partnership lines, and generates downloadable IRS PDF packets.

What you can do

  • Transparent rule engine for categorizing software, cloud hosting, and contractor expenses
  • Cent-exact Schedule C and quarterly estimated tax worksheet calculations
  • Isolated per-account YAML ledger storage with browser PDF filing packet generation
  • Tests check tax brackets, caps, and deduction math
DirectFail Tax • Core Technology & Feature Architecture

Cent-Exact US Tax Engine, Clerk Tenant Vaults & IRS AcroForm PDF Generator

Computes Sole Proprietorship (Form 1040 + Schedule C/SE + Form 8995 QBI) and Partnership (Form 1065 + Schedule K-1) returns in deterministic integer cents with per-tenant YAML ledger isolation.

Exact Cent Arithmetic

Zero-Hallucination IRS Worksheet & Bracket Math

Executes all Schedule C, Schedule SE (0.9235 × 0.153), Form 8995 QBI, and Form 1065 distributive share calculations in deterministic integer cents — never delegating tax math to an LLM.

pdf-lib AcroForm Engine

Instant Browser & Server IRS PDF Packet Generation

Populates official IRS Form 1040, Schedule C, Schedule SE, Form 1065, and Schedule K-1 PDF AcroForm fields directly from verified ledger state.

Per-Tenant Vaults

SHA-256 Clerk Tenant Ledger Isolation

Isolates each authenticated taxpayer's CSV/Plaid/Mercury imports and YAML ledger snapshots inside dedicated /data/tenants/u_<sha256> storage namespaces.

SSOT Expense Classifier

Grounded Schedule C Line Categorization Assistant

Uses normalized OpenRouter wire models with strict JSON schema validation to suggest Schedule C expense categories while requiring human confirmation before ledger commit.

Before & After Engineering AuditDeterministic US Tax & Ledger Engine100% integer-cent arithmetic · Per-tenant SHA-256 vault isolation

Cent-exact integer tax engine & pdf-lib IRS AcroForms vs. black-box upsell wizards

Before: Opaque $180 upsell questionnaires or floating-point rounding drift

Commercial tax software locks Schedule C behind upsell walls, while naive scripts suffer from floating-point rounding errors and unverified expense categorization.

// Floating-point tax approximation
const seTax = netProfit * 0.9235 * 0.153; // float drift across Schedule SE lines
// No audit trail from bank CSV row to IRS Form 1040 line
After: Readable rule classifier, integer-cent math & official IRS AcroForm PDFs

DirectFail Tax isolates each Clerk tenant in a SHA-256 YAML vault, classifies expenses with inspectable rules, executes integer-cent Schedule C/SE/QBI/1065 math, and fills official IRS PDFs.

// DirectFail Tax Integer-Cent Engine + AcroForm Filler
const netCents = grossReceiptsCents - totalScheduleCDeductionsCents;
const seTaxableCents = Math.round(netCents * 0.9235);
await fillIrsAcroFormPdf("f1040sc.pdf", tenantVaultSha256, verifiedLines);
CV & VLM rubric shift: 0.7795 → 0.953 (+0.1735 · Sharpness +49.2% · PSNR 44.82 dB)
Grounding gate: Negation parity & evidence verified

Interactive walkthrough

Step through how DirectFail Tax works without creating an account or installing local dependencies.

Entry & problem context

Maturity: Live in production

Commercial tax prep sites hide straightforward self-employment tax math behind dozens of upsell screens and black-box questionnaires.

Clear, rule-based tax bookkeeping and Schedule C calculation web app at tax.ngi.video with isolated per-account YAML ledgers, cent-exact integer math, and browser-triggered IRS PDF packet generation.

Shared platform architecture sandbox

Test the live cross-language single source of truth shared across TypeScript, Python, and Rust.

Evidence grounding & negation parity check

Grounding tier: RejectedPolarityFlip (grounded: false, overlap: 1)
Socrates epistemic decision: clarify (confidence: 0.425)

Dual-gate write receipt verifier (DAWRI) & FTT math healer

Unbacked claim stripped: true
Sanitized output: No profile changes were committed in this turn.
FTT verbatim math healer: EV 142, σ 133.5515, gist positive_ev_with_downside
Hick-Hyman EIG chips: Remote or hybrid? · Target salary floor? · Company stage? (lockout: false)

Semiotic Brand Identity & Federated SoC Governance

Peircean Brand Mark, Multi-Size Squint Test & 3-Tier SoC Boundary

SoC tier: internal_commercial16px rubric: 96.7% (PASS)
16px · 32px · 48px squint test
Motif: shield_ledger
Iconic sign: Armored fiscal shield framing a verified audit checkmark and ledger bars
Indexical cue: Deterministic IRS tax bracket computation and zero-error line-item reconciliation
Symbolic archetype: Sky-slate fiduciary verification and sovereign tax compliance mark
SoC Boundary & Epistemic Retrieval Guardrails
Visibility & ceiling: private_commercial (max tier: internal_commercial)
Boundary policy: Commercial deterministic regulatory & tax calculation engine.
4-gram shingle novelty: 100.0% (non-redundant >15%) · Retired symbol trap: Clear (0 retired symbols)
GitHub Profile & Source Activity

Engineering Velocity & Open-Source Hygiene

Synced from @brbrainerd and @vox-foundation via the GitHub GraphQL API (GET /api/github/stats).

Annual GitHub activity
13,842+
3,229 public · 10,136 private revisions
Curated portfolio history
19,523+
Revisions across 32 curated projects
Pull requests & reviews
463 PRs
Merged across 70 first-party codebases
DirectFail Tax historyTypeScript
91 revisions
424 tracked source files · Updated 2026-05-23
Language distribution across curated projectsWeighted by revision history & source volume
TypeScript38.9% (12 projects)
Rust36.9% (1 project)
Python11.3% (8 projects)
JavaScript4.7% (2 projects)
Lua4.1% (1 project)
Public open-source codebases on GitHub
vox-foundation/voxRust · 7,200 rev

Single-file full-stack programming language and Rust compiler that generates database schemas, server routes, and typed clients from one declaration.

#programming-language#rust#compiler#full-stack#lsp
brbrainerd/govSimTypeScript · 435 rev

Interactive political economy simulator with ECS civic rights, institutional modeling, policy levers, and multi-regime scenarios.

#simulation#political-economy#typescript#ecs#strategy-game

Interactive 3D macaque brain atlas and stereo surgical view planner rendered in browser WebGL.

#neuroscience#webgl#threejs#brain-atlas#3d-visualization
brbrainerd/brFrameTypeScript · 23 rev

Single-binary Rust and React kiosk shell for Raspberry Pi digital photo frames with remote mobile upload.

#rust#raspberry-pi#kiosk#embedded#react