docs: align calibration glossary and record triage decisions #63
No reviewers
Labels
No labels
blocked
bug
enhancement
high-priority
low-priority
needs-info
needs-triage
ready-for-agent
ready-for-human
referenced
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gabogg/hikcentral!63
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/triage-guardrails-and-validation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The glossary incorrectly used the cycle-ratio trust bounds as the operational exit-multiplier guardrail, and ADR 0002 still described the delivered Tailwind compilation path as deferred. Align the glossary with the canonical [0.90, 1.35] operational guardrail and distinguish the [0.80, 1.30] trust bounds, define door state transitions and sustained calibration clamping, and clarify runtime asset independence versus development tooling.
Archive the maintainer-approved triage decisions for #50 and #55–#60 under
docs/audit/and link them from the documentation index. The record includes the three-cycle clamp escalation policy, live transition delivery scope, explicit checksum-verified Tailwind setup, trust-rule compatibility, evidence required to reopen #56, and human Windows validation before merging PATH changes. #58 remains blocked on PR #54.Architectural impact
Documentation only. The archive defines acceptance criteria for follow-up implementation; it does not implement new diagnostics, telemetry, build provisioning or Windows behavior. ADR 0002 records the standalone compiler as delivered while marking reproducible provisioning as pending in #57.
Verification
pytest -q -o faulthandler_timeout=30: 214 passed in 70.65s outside the sandbox; earlier sandbox attempts stalled on the first analytics test.git diff --check: passed.ruff check .: passed.Checklist
Code review — pre-merge
Reviewed
711a0b1againstmaster(including #53's merge1ed0f45) with two independent passes: Standards (domain-modelingCONTEXT-FORMAT.md/ADR-FORMAT.md,docs/agents/domain.md,AGENTS.md§4, a code-smell baseline, and fact-checks against the code) and Spec (this PR's description and issues #50, #55–#60 with their comments).Pre-flight: CI green on
711a0b1;git merge-treemerges cleanly intomasterafter #53.Question asked: merge now, or hold for / fold into the related issues? → Merge after small fixes. The glossary correction fixes a real error with no owning issue (
masterconflated the guardrail with the trust bounds). The triage record matches the issues except for one dependency #54's rescope has made stale. The ADR edit delivers one of #57's own criteria.Standards
The new terms sit before "Transit Bleed" and #53's after it: no duplicates, no contradictions. Facts check out against the code: guardrail
[0.90, 1.35](occupancy_service.py:855,1043), trust bounds[0.80, 1.30](:959-960), door state transitions (database.py:349).CONTEXT.md:123-133. The two clamping entries carry escalation policy (streak thresholds and reset rules, "warrant investigation"). That policy belongs in #50._Avoid_lines missing on Cycle Ratio Trust Bounds, Clamp Hit and Sustained Clamping; the trust-bounds entry repeats the guardrail's_Avoid_.[0.90, 1.35]written out atCONTEXT.md:103and:115.CONTEXT.md, so the two can drift.Spec
:16,:90) and asks for a camera-group exclusion test (:98). After #54's rescope, #54 only alignsget_hourly_flow_distribution_async's join and filter, and the cutover moved to #62. #58's own resolution has the same stale wording.Standards: 5 findings, worst P2 (policy inside definitions). Spec: 4 findings, worst P2 (the ADR edit pre-empts #57; the #58 dependency is stale).
Review addressed —
0bfba7a_Avoid_lines, and the Exit Multiplier bullet references the Operational Calibration Guardrail instead of restating[0.90, 1.35].get_hourly_flow_distribution_async), and the camera-group exclusion test waits on #62. #58's body was amended to match, with a comment explaining the change.Verification:
tests/test_docs.py7/7,git diff --checkclean, pre-commit hooks passed (including pytest).WIP: docs: align calibration glossary and record triage decisionsto docs: align calibration glossary and record triage decisions