feat(enterprise): persist report artifacts in db#76
Closed
Gracker wants to merge 1 commit into
Closed
Conversation
mr-torto
pushed a commit
to mr-torto/SmartPerfetto
that referenced
this pull request
May 8, 2026
…racker#63, Gracker#67, Gracker#76, Gracker#87, Gracker#99) DomainSkillEvalContract is the gate for every domain Skill change. Five facets bound together: - SkillEvalCase[] mapping caseId -> trace path + skill under test - assertions: Record<caseId, SkillEvalAssertion[]> using JSONPath-style paths into the Skill output (Spark Gracker#99) - SubAgentSpec[] for domain expert sub-agent expansion (Spark Gracker#87) - SkillEvalRunResult[] capturing pass/fail/flaky/skipped status with per-assertion failure traces - importers[] with required flag for atrace, simpleperf, bpftrace, macrobenchmark hooks (Spark Gracker#61, Gracker#63, Gracker#67, Gracker#76) The harness runner (npm run test:scene-trace-regression) will become contract-driven in a follow-up so the canonical six traces and their assertions live in a single source of truth. Plan: docs/superpowers/spark/plans/18-domain-skill-eval-harness.md Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Owner
Author
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.
Summary
report_artifactsdata/{tenantId}/{workspaceId}/reports/{reportId}/report.htmlwith sidecarreport.jsonlogs/reportspersistence when enterprise mode is offpersistReportValidation
PATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npx jest --runInBand --forceExit src/routes/__tests__/enterpriseReportRoutes.test.tsinbackendPATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npx jest --runInBand --forceExit src/routes/__tests__/ownerGuardRoutes.test.ts src/routes/__tests__/workspaceResourceRoutes.test.ts src/routes/__tests__/enterpriseReportRoutes.test.tsinbackendPATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npm run typecheckinbackendPATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npm run test:coreinbackendgit diff --checkPATH="$HOME/.nvm/versions/node/v24.15.0/bin:$PATH" npm run verify:pr