[Process] Сделать frontend local verification и pre-commit соразмерными #62
Closed
opened 2026-10-11 21:50:28 +03:00 by codex-bot
·
0 comments
No Branch/Tag Specified
Labels
Clear labels
Kind/Dependencies
Kind/Investigation
Kind/Process
Kind/Refactor
audit/2026-10-11
kind/investigation
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Dependency update or dependency-management work
Research or decision required before implementation
Developer workflow, CI/CD, tooling, or process improvement
Internal code or configuration restructuring without new product behavior
Technical Audit Remediation — 2026-10-11
Нужна проверка evidence до решения; runtime-дефект не утверждается
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Milestone
No items
No Milestone
Technical Audit Remediation — 2026-10-11
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: WealthLedger/frontend#62
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
Engineering требует npm ci/full verify каждого code change/worker. Pre-commit всегда builds packages/full graph, даже Markdown-only, после staged lint. Plain npx lint-staged допускает installation fallback; состоявшаяся установка не подтверждена.
Expected Behavior
Install только по environment/manifest/lock/Node need; targeted iteration и один final full gate. Hook проверяет actual staged input, full graph остаётся final/required CI, tools не скачиваются при commit.
Evidence
Audit date
2026-10-11; 11, 14. IDs VERIFY-004, TOOL-002, AGENT-001 (frontend), CA-H01, CA-H06, RC-01, RC-03, RC-07, RC-08, RC-15. Revisionc8821200ce699dab1ce65360d1968d5877a2e78b; Confidence High; Verification status static; savings unmeasured.Affected: .husky/pre-commit:1–3; package.json:14–38; engineering.md:58–66; scripts/test-pre-commit.mjs:38–74.
Scope
In scope
Existing gate guidance и minimal hook change; package declarations подготовлены для relevant lint consumers.
Out of scope
Hash/cache/staged graph analyzer, removal graph/coverage/Chromium/app/catalog final proof, изменение standard OpenSpec skills.
Proposed Approach
Убрать mandatory npm run deps из hook, existing full graph в final/CI. npx --no для installed tool. Standalone wrappers self-contained; direct runner iteration только после explicit current preparation.
Acceptance Criteria
Verification
Existing hook synthetic regression + controlled missing-tool PATH/cache, meaningful staged TS lint на fresh declarations; одна bounded task invocation comparison. Финальный full frontend gate после последнего relevant edit, без repeated unchanged reruns.
Dependencies
Нет; P1 backend не ждёт этого улучшения.
Traceability
Campaign WealthLedger/main#23 . Findings VERIFY-004, TOOL-002, AGENT-001, CA-H01, CA-H06, RC-01, RC-03, RC-07, RC-08, RC-15. WealthLedger/frontend; T14 frontend.