chore(quality): zero-warning lint sweep + synapse memory stability [Story 123.7] - #639
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (61)
WalkthroughThis PR introduces code-intel helper modules, enhances capability detection with source tracking and detection methods, adds an IDE sync flow to the installer wizard, updates the brownfield upgrader to track unchanged files, expands test coverage across multiple test suites, and applies widespread formatting consistency improvements (trailing commas, quote normalization). ChangesCode-Intel Helpers & Infrastructure Modernization
Capability Detection Enhancement
IDE Sync & Installer Features
Test Suite Expansion & Updates
Repository Maintenance & Linting
Sequence DiagramsequenceDiagram
participant Install as Installer<br/>(Wizard)
participant IDE as IDE Config<br/>(Agent Setup)
participant Sync as IDE Sync<br/>(Artifact Sync)
participant Val as Validator<br/>(Drift Detection)
participant Report as Upgrader<br/>(File Tracking)
Install->>IDE: copyAgentFiles(sourcePath)
IDE-->>Install: config prepared
Install->>Sync: commandSync(config)
Sync->>Sync: suppressLogs()
Sync-->>Install: sync complete
Install->>Val: commandValidate()
Val->>Val: detectDrift()
Val-->>Install: validation result
Install->>Report: generateUpgradeReport()
Report->>Report: trackUnchangedFiles(hash comparison)
Report->>Report: incrementUnchangedCount()
Report-->>Install: report with metrics
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested reviewers
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…tory 123.7] - Lint sweep across helpers, doctor checks, graph-dashboard, ids, synapse layers, data scripts, installer, scripts, and tests: trailing commas, dead-var/import removal, formatting alignment. - tests/synapse/synapse-memory-provider.test.js: refactor mock to use injectable _getLoader on provider instance (fixes intermittent failure caused by jest.doMock + isolateModules ordering). - tests/synapse/e2e/pipeline-audit.e2e.js: trailing-comma cleanup. - .claude/hooks/precompact-session-digest.cjs: single-quote fix in inlineScript (resolves last 2 lint warnings). - New: .synapse/.gitignore — ignore runtime sessions/cache. - .gitignore: ignore .agents/ (duplicate of .claude/skills/). Verified: - npm run lint → 0 errors, 0 warnings - npx jest tests/synapse/synapse-memory-provider.test.js → 22/22 pass - npm run typecheck → clean Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
727e935 to
7699abd
Compare
Rebase + Retarget para
|
📊 Coverage ReportCoverage report not available
Generated by PR Automation (Story 6.1) |
CI dependency note (post-retarget)Após o retarget para
CausaEsses testes referenciam Validação localEm integration branch local ( ResoluçãoMergir #632 ANTES do #639. Após #632 entrar em main:
Sem ação adicional necessária neste PR — só ordering. Plano de merge atualizado já reflete isso (#632 é o passo 1, #639 é o passo 3). — Pre-merge integration sweep validou que #632 + #639 + outros 5 PRs juntos passam em lint, typecheck, claude-sync, codex-skills, full Jest (em isolation), e E2E install end-to-end. |
…y (regen install-manifest, take main rebrand for pro-scaffolder error msg)
#641/#640) (#647) Three drift items emerged from sequential squash merges that the integration sweep had flagged in advance: 1. packages/installer/src/wizard/pro-setup.js:815 — `catch (checkError)` became unused after #635's fallback path was layered onto the post-#640 catch handler. Renamed to `_checkError` per no-unused-vars rule. 2. packages/installer/src/pro/pro-scaffolder.js:83 — Missing trailing comma on the error message argument. The string was rebranded to 'npx aiox-pro install' by #625 but the trailing comma from #639's lint sweep was lost in conflict resolution. 3. .claude/skills/AIOX/agents/devops/SKILL.md — Drifted by 1 hash from ide-sync generator output after #641's skills-first migration interacted with #637's Pro Access Grant agent edits. Regenerated via npm run sync:ide. Plus install-manifest.yaml regenerated to reflect the post-merge file tree state. Validation (post-fix on main pulled fresh): - npm run lint → 0 errors, 0 warnings - npm run typecheck → clean - npm run validate:manifest → VALID - npm run validate:claude-sync (strict) → PASS - npm run validate:codex-skills (strict) → PASS (12 skills) - npm run test:e2e:installed-skills → PASS (3 agents activated end-to-end) This was anticipated in the integration sweep doc — see session `test/all-merged-2026-05-05` branch from 2026-05-05. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…tory 123.7] (SynkraAI#639) - Lint sweep across helpers, doctor checks, graph-dashboard, ids, synapse layers, data scripts, installer, scripts, and tests: trailing commas, dead-var/import removal, formatting alignment. - tests/synapse/synapse-memory-provider.test.js: refactor mock to use injectable _getLoader on provider instance (fixes intermittent failure caused by jest.doMock + isolateModules ordering). - tests/synapse/e2e/pipeline-audit.e2e.js: trailing-comma cleanup. - .claude/hooks/precompact-session-digest.cjs: single-quote fix in inlineScript (resolves last 2 lint warnings). - New: .synapse/.gitignore — ignore runtime sessions/cache. - .gitignore: ignore .agents/ (duplicate of .claude/skills/). Verified: - npm run lint → 0 errors, 0 warnings - npx jest tests/synapse/synapse-memory-provider.test.js → 22/22 pass - npm run typecheck → clean Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
/SynkraAI#639/SynkraAI#637/SynkraAI#635/SynkraAI#641/SynkraAI#640) (SynkraAI#647) Three drift items emerged from sequential squash merges that the integration sweep had flagged in advance: 1. packages/installer/src/wizard/pro-setup.js:815 — `catch (checkError)` became unused after SynkraAI#635's fallback path was layered onto the post-SynkraAI#640 catch handler. Renamed to `_checkError` per no-unused-vars rule. 2. packages/installer/src/pro/pro-scaffolder.js:83 — Missing trailing comma on the error message argument. The string was rebranded to 'npx aiox-pro install' by SynkraAI#625 but the trailing comma from SynkraAI#639's lint sweep was lost in conflict resolution. 3. .claude/skills/AIOX/agents/devops/SKILL.md — Drifted by 1 hash from ide-sync generator output after SynkraAI#641's skills-first migration interacted with SynkraAI#637's Pro Access Grant agent edits. Regenerated via npm run sync:ide. Plus install-manifest.yaml regenerated to reflect the post-merge file tree state. Validation (post-fix on main pulled fresh): - npm run lint → 0 errors, 0 warnings - npm run typecheck → clean - npm run validate:manifest → VALID - npm run validate:claude-sync (strict) → PASS - npm run validate:codex-skills (strict) → PASS (12 skills) - npm run test:e2e:installed-skills → PASS (3 agents activated end-to-end) This was anticipated in the integration sweep doc — see session `test/all-merged-2026-05-05` branch from 2026-05-05. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
Story 123.7 — Zero-warning lint sweep + Synapse Memory Provider stability.
tests/synapse/synapse-memory-provider.test.js: refactor mock to use injectable_getLoaderon provider instance (fixes intermittent failure caused byjest.doMock+isolateModulesordering).tests/synapse/e2e/pipeline-audit.e2e.js: trailing-comma cleanup..claude/hooks/precompact-session-digest.cjs: single-quote fix in inlineScript (resolves last 2 lint warnings)..synapse/.gitignore— ignore runtime sessions/cache..gitignore: ignore.agents/(duplicate of.claude/skills/).Acceptance criteria verified
npm run lint→ 0 errors, 0 warningsnpx jest tests/synapse/synapse-memory-provider.test.js→ 22/22 passnpm run typecheck→ cleannpm test→ deferred to CINotes
This is a stacked PR. Base =
release/5.0.8-installer-recovery(PR #635). Once #635 merges to main, retarget this PR tomain.🤖 Generated with Claude Code
Summary by CodeRabbit
Chores
.agents/directory and synapse runtime paths to gitignoreRefactor
Tests