Repository navigation
Reduce Spec processing stalls and redundant board rendering - #55
Merged
Merged
Conversation
agent-redline❗ RED — Red-zone files changed.
Behavior contracts: |
|
| Rule | Source |
|---|---|
workrecord.exists |
core |
workrecord.markers_present |
core |
risk.declared |
core |
complexity.declared |
core |
workrecord.shape_matches_classification |
core |
workrecord.expanded_fields_present |
core |
workrecord.state_valid |
core |
workrecord.relationships_valid |
core |
risk.redline_findings_available |
default |
risk.boundary_violation_absent |
default |
risk.declared_not_below_detected |
default |
review.checkpoints_satisfied |
default |
requirements.baseline_present |
core |
requirements.baseline_unchanged |
core |
requirements.behavior_changes_well_formed |
core |
requirements.task_context_traceable |
core |
requirements.requirement_changes_authorized |
core |
exceptions.well_formed |
core |
exceptions.not_against_boundary |
core |
exceptions.not_expired |
core |
approval.elevated_clean_context_review_present |
core |
approval.high_clean_context_review_present |
core |
approval.high_risk_approval_recorded |
core |
approval.clean_context_does_not_satisfy_human |
core |
review.agent_result_review_present |
core |
evidence.criteria_have_methods |
core |
evidence.failure_not_claimed_as_success |
core |
workrecord.commit_order |
core |
<behavior-contracts>
- ✅ Other checks — 4 checks, all passed
Effective rules (4)
| Rule | Source |
|---|---|
behavior_contracts.changed_paths_complete |
repo |
behavior_contracts.changed_paths_classified |
repo |
behavior_contracts.requirement_changes_authorized |
repo |
behavior_contracts.verification_linked |
repo |
Updated against commit e5efcb76.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Large Spec reviews could monopolize the service while resolving anchors, and the board rebuilt unnecessarily when switching to List or typing a search that kept the same results. Content-only reads also calculated anchor statuses they discarded.
This change reads content once, yields between eight-anchor batches, indexes line/heading positions within each resolution, removes the duplicate List rebuild, and preserves rendered cards for equivalent search results. Matching rules, worktree provenance, drafts, routes and scroll behavior remain unchanged.
Validation: 63 focused/existing backend checks, five focused/existing browser checks, two UI lint checks and runtime mirror verification passed. Independent technical review passed; desktop/narrow List and Columns screenshots inspected. Local workflow checks have no blocking findings. Full CI and separate human result approval are pending.
Measured isolated improvements: repeated-quote median 203.7ms to 0.47ms; health during anchor CPU work 810ms to 55ms; List click 172ms to 30ms; unchanged search 2–4ms with no board rebuild. These are calibration samples, not universal latency guarantees. Changed-result renders still showed 87–97ms long tasks, and a separate workspace request took 1.34s under heavy Spec load. Parsing/hashing/serialization and individual resolver calls remain synchronous. No live restart, install change, checkout-cap increase or new dependency.
Canonical feature:
roadmap/features/nonblocking-performance-pass.md. Review and reproducible qualification details:.agent-workflow/tasks/nonblocking-performance-pass.md.