RCA-2026-03-24-001: Prevention
Preventive Measures
Short-term (This week)
| Action | Owner | Status |
|---|---|---|
Document exact hex codes from domus-antora-ui |
Evan |
[ ] Pending |
Create CSS variable reference file |
Evan |
[ ] Pending |
Add pre-commit visual diff check |
Evan |
[ ] Pending |
Long-term (This quarter)
| Action | Owner | Status |
|---|---|---|
Extract adoc CSS to separate file (not embedded in shell) |
Evan |
[ ] Pending |
Create adoc script unit tests with visual regression |
Evan |
[ ] Pending |
Document design tokens in domus-antora-ui README |
Evan |
[ ] Pending |
Detection
How was it detected?
User visual inspection. Side-by-side comparison of:
-
adocoutput:/tmp/test-copy.html -
Production:
docs.domusdigitalis.dev
User quote: "just follow my ui because it still off… mine looks WAYYYY better"
Detection Gap
Should have:
-
Established reference screenshots during initial development
-
Automated visual diff testing
-
Extracted colors directly from domus-antora-ui source
Lessons Learned
What went well
-
Quick identification via screenshot comparison
-
Iterative fixes with user feedback
-
Final result matches production exactly
What could be improved
-
Consult source files before approximating
-
Visual QA before declaring "done"
-
Document design tokens explicitly
Key Takeaways
|
Related
-
dotfiles-optimus:
base/bin/.local/bin/adoc -
domus-antora-ui:
src/css/(source of truth)