Christopher J. Collins
Chapter 4 — Human Attention and Cognitive Load
The scarcest resource in software engineering — and how to measure it without surveillance.
Christopher J. Collins · Chapter Overview
Compute can be provisioned. Repositories can be replicated. AI inference can be scaled.
Expert judgment, working memory, and sustained focus cannot.
A specialist can be employed full-time and still unavailable to a change
Calendar capacity is not uninterrupted capacity
A fatigued review is a review in name only
The goal is not to maximize visible activity — it is to maximize valuable outcomes per unit of scarce human attention, while preserving quality, learning, and sustainability.
Intrinsic | reasoning demanded by the problem itself |
Representational | difficulty of how the system is expressed |
Navigational | finding code, owners, tests, context |
Coordination | tracking people, approvals, sequencing |
Temporal | delays, interruptions, stale assumptions |
Verification | proving the change is correct and safe |
Tool interaction | IDEs, CI, review tools, AI assistants |
Interventions act on different dimensions. One score erases the distinctions that make interventions possible.
Human cognitive work on an Engineering Change \(e\):
All six terms are latent — none observable directly at enterprise scale
Measurement becomes a problem of inference and validation, not counting
Useful non-invasive signals include:
materially distinct files and concepts revisited
time from opening a review to first substantive action
repeated navigation through the same regions
review-response cycles and unresolved threads
simultaneously active Engineering Changes
repository and domain transitions
repeated CI runs without meaningful change
AI findings requiring independent investigation
No single proxy is a "cognitive-load score." Combine, control, and validate.

Recovery time model:
The shaded region under the recovery curve is attention debt — cumulative work-below-steady-state imposed by the interruption.
Review is a sequence of operations:
construct a mental model of intent
identify changed behavior
connect to architecture and domain constraints
search for omissions and failure modes
judge test evidence
communicate findings actionably
verify responses and revisions
A 1,000-line generated client may require less reasoning than a 5-line authorization change.
More comments can mean: careful review, poor code, stylistic noise, misunderstanding, or high consequence.
Fewer comments can mean: excellent code, superficial review, high trust, or fatigue.
Comment data becomes useful only when enriched:
type · severity · novelty · action · resolution
human- or AI-originated · evidence supplied
eventual link to rework, defect, or incident
Important | Cognitive offload — human work avoided because a reliable AI contribution performed or prepared it. Cognitive reload — additional human work created by inspecting, correcting, rejecting, or recovering from AI output. |
Net cognitive effect:
Positive = net offload. Negative = the AI increased burden.
A suggestion may be accepted because it is trivial, auto-applicable, socially persuasive, or too hard to evaluate.
A valuable finding may be rejected because the author solved it differently.
Acceptance telemetry should be a distribution:
direct application · application with modification
independent equivalent fix · follow-up issue
acknowledgement without change · rejection with reason
no observable response · duplicate of human or AI finding
Quality-adjusted form:
\(COI = 0.15\) means estimated human work fell 15% vs. counterfactual
Never report without confidence intervals and guardrails
Never rank individuals or unrelated teams

Minimum event stream: change IDs · model/prompt versions · context inspected · finding type/severity/evidence · human views and expansions · suggestion applications · comment replies · downstream edits · reviewer duplication · quality outcomes · cost and latency.
Interactions, not chain-of-thought.
Eight engineers · 3.4 context switches/day · 11.5 min recovery · $145/hr loaded:
Team: $756/day · ~$174k/year in pure recovery overhead
Consolidate two meetings → 2.1 switches/day, 10.8 min recovery
New cost: ~$100.8k/year — $73k saved
The economic argument becomes visible instead of anecdotal.
Cognitive telemetry can easily become surveillance. Safeguards are non-negotiable:
collect the minimum data for the decision
prefer artifact and workflow events over keystrokes
aggregate by system, change class, or team
prohibit unsupported individual productivity scoring
document purpose, retention, access, downstream use
separate research telemetry from performance management
People who fear telemetry will alter behavior — and destroy the validity of the system.
Human attention is the binding constraint in software delivery
Cognitive burden is multidimensional — preserve the components
Context switching creates recoverable, quantifiable cost
Review burden depends on semantics and architecture, not size
AI creates both offload and reload — measure the net
Acceptance rate alone does not measure AI value
Proxies require predictive, convergent, discriminant, and experimental validation
Trust and ethics are prerequisites for valid measurement
Chapter 5 — AI as a First-Class Engineering Participant
Provenance · agency · accountability · measuring the AI collaborator itself.