H

Heaptrace Handbook

Enter access code to continue

Private engineering handbook · Heaptrace Technology

Doc 7 of 7 · Client Edition

How Heaptrace
Engineering Works

A 15-minute read on the engineering operating model that ships your project consistently, predictably, and ready for audit. The handbook our developers follow — condensed for the people who hire us.

Same handbook our internal team uses. Same standards. Same skills.
You hired Heaptrace for outcomes. This document explains how we get there — consistently, regardless of which engineer is on your project.
The variance problem in modern engineering.

Most software teams produce wildly inconsistent output depending on who's at the keyboard that day. AI tooling has amplified this: a senior engineer with the right skills produces clean, reviewable code; the same prompt run by a junior produces a 400-line pull request that takes a week to review. We solved this problem by making the operating model explicit, codified, and enforceable — for every engineer at Heaptrace, on every project, every day.

Process you can audit. Output you can predict.

Every engineer on your project follows the same workflow: plan before code, run skills before review, verify before merge, communicate before sending. The result is predictable: pull requests that read the same regardless of author, defect rates that don't depend on who reviewed last week, and compliance evidence that's already collected when an audit lands. You stop hiring engineers and start hiring an operating model.

Five things you'll see on your project.

This document covers five concrete commitments — what your project gets when you work with Heaptrace. Each one names a promise, explains what it means for your project in plain English, and shows the metric we use to measure ourselves against it. Read these once and you'll know what to expect on Monday morning, every Monday, for the duration of the engagement.

The 5 Commitments

What your project gets, every day.

Five operational commitments that hold across every engineer, every pull request, every sprint. Each commitment is measurable, observable, and audited monthly.

01
Plan First
Every change is planned before it's coded.
The Promise
No work begins on your project without an explicit plan reviewed by the engineer.
What this means for your project
  • For small tasks (under one session), engineers run a lightweight plan that names the files touched, the steps required, the acceptance criteria, and the risks. It takes 30 seconds and prevents hours of rework.
  • For larger features, engineers produce a full plan — with UI mockups, data flow, dependencies, and integration risks — reviewed and approved before coding starts.
  • Plans are linked from every pull request, so you can trace what was intended vs. what was built. There are no surprises at review time.
  • Scope creep is caught at planning, not at review — which is why our pull requests typically land at the first review pass, not the third.
How we measure it
PR first-review pass rate greater than 85%. When planning is real, reviewers catch architecture issues — not basic mistakes that planning would have surfaced.
02
Three Senior Reviews Before A Human
Every PR is reviewed by three senior engineers before a human looks at it.
The Promise
Our skills function as automated senior reviewers, catching issues no human can match for speed or coverage.
What this means for your project
  • A code-review skill runs on every pull request before a reviewer is assigned — flagging code quality issues, missing tests, inconsistent error handling, and pattern violations against your project's conventions.
  • A security-audit skill runs automatically on any pull request touching authentication, payment processing, or personal data — catching the issues most often missed in human review.
  • A dependency-vulnerability scan runs on any pull request adding or updating packages, blocking merges when a known CVE (Common Vulnerability and Exposures) is detected in a new dependency.
  • All three skill outputs are attached to the pull request before a human reviewer is assigned — so reviewer time goes to architecture and judgment, not catching basic mistakes.
How we measure it
Pull requests typically merge within 4 hours of opening for small tasks, within 2 days for larger features. No reviewer surprises. No three-day review threads.
03
Compliance In The Workflow
Regulated code gets regulated review — at merge time, not audit time.
The Promise
Any code in your project touching HIPAA, GDPR, SOC 2, or PCI-DSS scope gets framework-specific audit before merge — never bolted on retroactively.
What this means for your project
  • We have specialized skills for HIPAA, GDPR, SOC 2, PCI-DSS, and ISO 27001 — each codifies the relevant regulation into automated checks that run against the pull request before merge.
  • Findings are mapped to specific control IDs — §164 sections for HIPAA, Articles for GDPR, Common Criteria (CC) for SOC 2, Requirements for PCI-DSS. Your audit team gets evidence in the format they actually need.
  • Compliance evidence is collected continuously, not assembled before an audit. Every relevant pull request leaves an evidence trail that auditors can read directly.
  • Your audit preparation time goes from weeks to days. The evidence package is already 90% ready when the audit window opens.
How we measure it
Last 4 quarterly compliance reviews on existing client projects: zero findings. Continuous evidence collection beats retroactive scrambling every time.
04
Communication As Engineering
Communication is engineering, not an afterthought.
The Promise
Every status update, every incident message, every client-facing email is reviewed for clarity, accuracy, and tone before it reaches you.
What this means for your project
  • Engineers use a message-crafting skill that catches over-apology, hedging language, and buried headlines before messages send. The headline is the first sentence — always.
  • Incident updates follow a strict format: facts only, named recovery action, time-bounded next update. Never premature blame. Never speculation while the incident is open.
  • Status updates come in a standard structure — what's done, what's in progress, what's blocked, what's next. Skimmable in 30 seconds. The same shape every week.
  • We measure communication quality the same way we measure code quality. Both are engineering disciplines. Neither is "soft skills."
How we measure it
Client trust scores correlate more strongly with our incident-communication quality than with mean-time-to-resolution. We treat both as engineering investments.
05
Standards With Teeth
Standards are enforced, not suggested.
The Promise
Our quality gates run automatically on every pull request. They cannot be bypassed casually. Exemptions require written engineering-lead approval.
What this means for your project
  • Five gates run on every pull request: Plan, Review, Security, Verification, Commit — implemented as automated continuous integration checks, not human reminders.
  • Gates are tiered by branch sensitivity: every PR runs Tier 1 (fast, under 2 minutes); staging branches run Tier 2 (deeper checks); production branches run Tier 3 (full compliance audit).
  • Failed gates block merge until resolved. Exemptions are possible but recorded — every exemption shows up in the monthly engineering review.
  • Standards are reviewed monthly and adjusted based on what they catch. A gate that never fires gets retired. A gate catching the same issue repeatedly gets upgraded.
How we measure it
Production defect rate per merged pull request less than 1%. Gates are the reason. We trust the process because we built the process.
A day in the life

What a typical day looks like
for an engineer on your project.

This isn't aspirational. This is Tuesday. Same workflow, different engineer, same quality of output.

  • 9:00 AM
    Maya logs into your project's repository. Her assigned tasks for the morning: a UI bug fix and a copy update. Two tickets, both estimated under two hours each.
  • 9:05 AM
    Before writing a single line of code, she runs a planning skill against the bug ticket. The skill generates a structured plan: files to touch, steps required, acceptance criteria, risks. It takes 30 seconds. The plan is committed to the ticket.
  • 9:15 AM
    Daily standup. Maya shares status using the standard team format — what's done, what's in progress, what's blocked. No essays. No surprises for the project manager. Eight minutes total across the whole team.
  • 9:30 AM
    Back to the bug. She implements the fix using a guided implementation skill that respects the plan. The skill makes the change, runs the relevant tests, and verifies acceptance criteria before declaring the work done.
  • 10:00 AM
    Before opening a pull request, she runs a code-review skill. It catches one issue: a missing accessibility label on the UI element she touched. She fixes it before the PR is opened.
  • 10:15 AM
    She opens the pull request. The description includes the plan she generated, the skill outputs, the verification checklist, and a screenshot of the fix. The reviewer has everything needed to approve in 15 minutes or less.
  • 11:00 AM
    A senior engineer reviews the PR. Total reviewer time: 15 minutes (most issues already caught by the skills). Approved. Merged. The fix is in staging by lunch.
  • 11:30 AM
    On to the next ticket. The whole cycle — plan, implement, review, merge — took 90 minutes for the bug fix. The next 90 minutes will follow the same pattern.
This is what your project looks like every day. Same workflow. Different engineer. Same quality of output.
The team

The engineers on your project.

Four engineering levels, one operating model. Each level has a defined scope, defined deliverables, and defined judgment authority — so you always know what you're getting from whom.

SE I & II · Feature Engineers
The Engineers Who Ship Your Features
Implement features and fixes following the operating model. Their pull requests land at first review because the skills catch issues before they're escalated to senior reviewers. Your project sees the same caliber of work from a Software Engineer I as from a senior engineer — because the skills carry the domain expertise. This isn't theory; it's what we measure quarterly.
SE III · Senior Engineers
The Engineers Who Set The Patterns
Define patterns within their domain — frontend, backend, mobile, data. Mentor feature engineers. Author new skills when they recognize a recurring pattern. Drive architectural decisions for major features. Your project's senior engineers decide how a feature should be built; the feature engineers ship it. That separation is by design.
SE IV · Staff Engineers
The Engineers Above The Features
Operate above individual features. Design systems. Set technical direction. Own the org-wide standards in this handbook. On your project, staff engineers come in for system-level decisions — architecture reviews, integration plans, scalability assessments — not for routine reviews. Their time is spent where their judgment matters most.
Engineering Lead
The Single Point of Accountability
Owns the standards for your project specifically. Configures the operating model to fit your stack, your conventions, your compliance scope. Ensures the team is calibrated quarterly. Your single point of accountability for engineering quality — and the person you call when something needs a decision faster than the standard process allows.
What gets audited

Open. Auditable. By design.

The most common question we get from technical evaluators is also the most reasonable one: "How do I know your team actually follows this?" Three answers — each one verifiable, none of them a marketing claim.

Process artifacts are public.

Every skill our team uses is open-source and MIT-licensed. The full skill inventory (101 skills across 10 packs) is published on our public site. You can read exactly what our engineers are running on your code — the same skill files our internal team uses, version for version. Nothing is private. Nothing is "trade secret." The transparency itself is the differentiator.

Every pull request includes its receipts.

Pull requests on your project include the plan that scoped the change, the skill outputs that validated it, the acceptance criteria that were verified, and the conventional commit that landed it. A reviewer with no prior context can audit any merged change in minutes — not days. Pull this for any merge, any time period, on any project we run.

Compliance evidence is continuous.

For regulated work — HIPAA, GDPR, SOC 2, PCI-DSS — audit evidence is collected automatically as engineers ship features, not assembled in a rush before an audit window. When your audit lands, the evidence package is already 90% ready. The remaining 10% is the context only your team can add. We've never had a quarterly compliance review with a finding. That's because the evidence has been there the whole time.

Quantified outcomes

The numbers.

Measured outcomes from our Q2 2026 cohort, aggregated across more than twenty production projects. Updated quarterly. Available on request with the underlying data.

What we measure Result
PR first-review pass rate > 85%
Time from PR open to merge (small task) < 4 hours
Hallucinated scope creep in AI-assisted PRs < 2%
Compliance findings caught pre-audit > 90%
Audit preparation time 2 days
Industry standard audit prep (for comparison) 2–3 weeks
Skill / pattern reusability across projects ~ 95%
Developer onboarding time to new domain 2–3 days
Production defect rate per merged PR < 1%

Metrics are aggregated across 20+ production projects where this operating model has been deployed. Updated quarterly. Underlying data available on request under standard NDA.

For procurement, legal, engineering leaders

Frequently asked.

The questions every serious technical evaluator raises. Honest answers, including where the trade-offs lie.

Q1 Is this just a fancy way of saying "we use Claude Code"?
The tooling is part of it. The operating model is the bigger part. Our team uses Claude Code, Cursor, and other AI assistants — but always through our skills, which are structured, reviewed, versioned domain expertise. Without the skills, the team would use AI inconsistently. With them, every engineer produces the same caliber of output. The honest answer: the AI tooling is the engine; the operating model is the steering, the brakes, and the road.
Q2 What if your engineers don't follow this handbook?
Standards have teeth. Pull requests that bypass the operating model are rejected at first review or blocked by automated continuous integration gates. The handbook isn't aspirational; it's enforced through the pipeline. Our team can produce, on request, a list of merged pull requests with their associated plans, skill outputs, and verification artifacts — for any project, any time period. The audit trail isn't something we assemble for you; it's the way we work.
Q3 Who is accountable when something goes wrong?
Heaptrace Technology Pvt Ltd. The skills are open-source under MIT license, fully auditable, and signed off by named engineering leadership. The team is accountable contractually. When an incident happens on your project, you get a structured incident response (NTSB-format communications, time-bounded updates, post-mortem with named action items) — not finger-pointing, not speculation, not silence while the team scrambles internally.
Q4 Can we audit your engineers' compliance with this handbook?
Yes. Every pull request is artifact-rich — plan, skill outputs, verification checklist, conventional commit message. We can produce compliance evidence on demand for any merged change, on any project. For regulated work, the evidence package is continuously assembled, not retroactive. Your audit team gets evidence in the format they actually need (control IDs, dates, file references, named engineers), not a generic report.
Q5 What about your engineers' AI usage with our proprietary code?
We use AI assistants that respect data privacy contracts — Claude Code with enterprise privacy terms, on-premises Cursor deployments, and similar — configured per-client based on your data-handling requirements. For air-gapped or sovereign environments, we have engineers trained to operate without external AI. The operating model applies regardless of the tooling: the principles, the skills (executed locally where required), the gates, and the artifacts remain the same.
Q6 Does this scale to projects with hundreds of engineers?
The operating model was designed for it. Skills are versioned (you can pin a specific skill version to your project), the handbook is org-wide (every engineer reads the same documents, calibrates against the same principles), and quality gates are automated (they scale with the continuous integration infrastructure, not with team headcount). Adding a hundredth engineer doesn't slow the team down — it follows the same checklist as the tenth.
Q7 What's the onboarding time for a new engineer joining our project?
2–3 days to be productive on the operating model itself; 1–2 weeks to be fully productive on your specific stack. Most of the onboarding is your project's domain, not our process — because the process is the same across all our projects. An engineer rotating in mid-engagement reads the project's planning docs and is shipping within the week. An engineer rotating out doesn't leave a knowledge gap, because the operating model encoded the knowledge, not the individual.
Q8 Can we customize the operating model for our project?
Yes. The Engineering Lead on your project configures the operating model to fit your conventions, your stack, your compliance scope, and your reporting cadence. The principles stay the same; the operational details adapt. Your handbook is a living document for the duration of the engagement — and at the end of the engagement, you keep it. Including any skills we wrote specifically for your stack.
Every project gets the same operating model. Every engineer follows the same handbook. Every pull request carries the same artifacts. That's not a process commitment — that's an engineering commitment.
Your project doesn't deserve our best engineers. It deserves our operating model — applied by every engineer, every pull request, every day.

That's the difference. That's what this handbook delivers.
─────────────────────────────────────────────────────────
Effective: April 2026
Version: 1.0 (Client Edition)
Maintained by: Heaptrace Engineering Leadership
Companion to: Internal Handbook Docs 1–6
─────────────────────────────────────────────────────────