@probelabs/visor 0.1.94 → 0.1.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/defaults/.visor.yaml +86 -6
- package/dist/ai-review-service.d.ts +1 -1
- package/dist/ai-review-service.d.ts.map +1 -1
- package/dist/cli-main.d.ts +1 -0
- package/dist/cli-main.d.ts.map +1 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands.d.ts.map +1 -1
- package/dist/config.d.ts +6 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/defaults/.visor.yaml +86 -6
- package/dist/failure-condition-evaluator.d.ts.map +1 -1
- package/dist/footer.d.ts +25 -0
- package/dist/footer.d.ts.map +1 -0
- package/dist/github-check-service.d.ts.map +1 -1
- package/dist/github-comments.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1968 -521
- package/dist/output/code-review/schema.json +0 -23
- package/dist/reviewer.d.ts +5 -2
- package/dist/reviewer.d.ts.map +1 -1
- package/dist/sdk/{check-execution-engine-YBRPVUWD.mjs → check-execution-engine-NMPXJ7FQ.mjs} +2 -2
- package/dist/sdk/{chunk-DQRFOQAP.mjs → chunk-Q4S5A5TO.mjs} +199 -113
- package/dist/sdk/chunk-Q4S5A5TO.mjs.map +1 -0
- package/dist/sdk/sdk.js +249 -149
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +23 -19
- package/dist/sdk/sdk.mjs.map +1 -1
- package/dist/traces/{run-2025-10-16T11-33-32-682Z.ndjson → run-2025-10-18T20-24-27-886Z.ndjson} +8 -1
- package/dist/traces/{run-2025-10-16T11-33-43-618Z.ndjson → run-2025-10-18T20-24-38-817Z.ndjson} +8 -1
- package/dist/traces/{run-2025-10-16T11-33-44-157Z.ndjson → run-2025-10-18T20-24-39-361Z.ndjson} +8 -1
- package/dist/traces/{run-2025-10-16T11-33-44-647Z.ndjson → run-2025-10-18T20-24-39-852Z.ndjson} +8 -1
- package/dist/types/cli.d.ts +3 -2
- package/dist/types/cli.d.ts.map +1 -1
- package/dist/types/config.d.ts +0 -2
- package/dist/types/config.d.ts.map +1 -1
- package/dist/utils/diff-processor.d.ts +6 -0
- package/dist/utils/diff-processor.d.ts.map +1 -0
- package/package.json +3 -2
- package/dist/sdk/chunk-DQRFOQAP.mjs.map +0 -1
- /package/dist/sdk/{check-execution-engine-YBRPVUWD.mjs.map → check-execution-engine-NMPXJ7FQ.mjs.map} +0 -0
- /package/dist/traces/{run-2025-10-16T11-33-45-128Z.ndjson → run-2025-10-18T20-24-40-335Z.ndjson} +0 -0
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ Tip: Pin releases for stability, e.g. `uses: probelabs/visor@v1`.
|
|
|
75
75
|
|
|
76
76
|
- One‑off run
|
|
77
77
|
```bash
|
|
78
|
-
npx @probelabs/visor --check all --output table
|
|
78
|
+
npx -y @probelabs/visor@latest --check all --output table
|
|
79
79
|
```
|
|
80
80
|
- Project dev dependency
|
|
81
81
|
```bash
|
|
@@ -210,7 +210,7 @@ Start with the defaults, iterate locally, and commit a shared `.visor.yaml` for
|
|
|
210
210
|
|
|
211
211
|
Example:
|
|
212
212
|
```bash
|
|
213
|
-
npx @probelabs/visor --check all --debug
|
|
213
|
+
npx -y @probelabs/visor@latest --check all --debug
|
|
214
214
|
```
|
|
215
215
|
|
|
216
216
|
Learn more: [docs/dev-playbook.md](docs/dev-playbook.md)
|
|
@@ -308,10 +308,10 @@ Examples:
|
|
|
308
308
|
|
|
309
309
|
```bash
|
|
310
310
|
# Local/CI CLI
|
|
311
|
-
npx @probelabs/visor --config .visor.yaml --check all --output json
|
|
311
|
+
npx -y @probelabs/visor@latest --config .visor.yaml --check all --output json
|
|
312
312
|
|
|
313
313
|
# GitHub Actions behavior from any shell/CI
|
|
314
|
-
npx @probelabs/visor --mode github-actions --config .visor.yaml --check all
|
|
314
|
+
npx -y @probelabs/visor@latest --mode github-actions --config .visor.yaml --check all
|
|
315
315
|
```
|
|
316
316
|
|
|
317
317
|
GitHub Action usage:
|
package/defaults/.visor.yaml
CHANGED
|
@@ -138,6 +138,58 @@ checks:
|
|
|
138
138
|
depends_on: [overview]
|
|
139
139
|
on: [pr_opened, pr_updated]
|
|
140
140
|
|
|
141
|
+
# Architecture analysis - Ensures sound design and avoids over-engineering
|
|
142
|
+
architecture:
|
|
143
|
+
type: ai
|
|
144
|
+
group: review
|
|
145
|
+
schema: code-review
|
|
146
|
+
prompt: |
|
|
147
|
+
Building on our overview analysis, evaluate the architectural decisions and design patterns.
|
|
148
|
+
|
|
149
|
+
Focus on the files listed in `<files_summary>` and analyze the code changes shown in the `<full_diff>` or `<commit_diff>` sections.
|
|
150
|
+
|
|
151
|
+
## Architecture Analysis Areas
|
|
152
|
+
**Design Simplicity & Pragmatism:**
|
|
153
|
+
- Over-engineering: Is the solution more complex than necessary?
|
|
154
|
+
- YAGNI violations: Are we building features not currently needed?
|
|
155
|
+
- Can this be implemented more simply using existing patterns?
|
|
156
|
+
- Are there existing functions/modules that could be reused instead?
|
|
157
|
+
- Is the abstraction level appropriate for the problem size?
|
|
158
|
+
|
|
159
|
+
**Special Cases & Edge Cases:**
|
|
160
|
+
- Does the code introduce special case handling that could be generalized?
|
|
161
|
+
- Are there hard-coded values or logic for specific scenarios?
|
|
162
|
+
- Can special cases be eliminated through better design?
|
|
163
|
+
- Are edge cases handled through general patterns rather than one-offs?
|
|
164
|
+
|
|
165
|
+
**Consistency & Reusability:**
|
|
166
|
+
- Does this follow existing architectural patterns in the codebase?
|
|
167
|
+
- Are there similar problems already solved differently elsewhere?
|
|
168
|
+
- Could this functionality be generalized to handle more cases?
|
|
169
|
+
- Does it duplicate existing functionality that could be extended?
|
|
170
|
+
|
|
171
|
+
**Design Patterns & Structure:**
|
|
172
|
+
- Are design patterns used appropriately (not forced)?
|
|
173
|
+
- Is the separation of concerns clear and logical?
|
|
174
|
+
- Are dependencies and coupling minimized?
|
|
175
|
+
- Is the code organized in a way that makes sense?
|
|
176
|
+
|
|
177
|
+
**Scalability & Extensibility:**
|
|
178
|
+
- Will this design scale with future requirements?
|
|
179
|
+
- Is it easy to extend without major refactoring?
|
|
180
|
+
- Are boundaries and interfaces well-defined?
|
|
181
|
+
|
|
182
|
+
Flag issues where simpler solutions exist, special cases are introduced unnecessarily, or existing functionality could be reused.
|
|
183
|
+
|
|
184
|
+
## Severity Guidelines
|
|
185
|
+
Use the following severity levels appropriately:
|
|
186
|
+
- **critical**: Architectural decisions that will cause system failures or major technical debt (circular dependencies, tight coupling causing deadlocks)
|
|
187
|
+
- **error**: Significant architectural problems (over-engineering, unnecessary special cases, violation of core patterns, missed reuse opportunities)
|
|
188
|
+
- **warning**: Architectural concerns that should be addressed (minor over-abstraction, could be simplified, inconsistent patterns)
|
|
189
|
+
- **info**: Architectural suggestions and alternative approaches (simpler patterns available, potential for future reuse)
|
|
190
|
+
depends_on: [overview]
|
|
191
|
+
on: [pr_opened, pr_updated]
|
|
192
|
+
|
|
141
193
|
# Performance analysis - Important for all applications
|
|
142
194
|
performance:
|
|
143
195
|
type: ai
|
|
@@ -212,6 +264,24 @@ checks:
|
|
|
212
264
|
- Test quality and effectiveness
|
|
213
265
|
- Edge cases and error scenarios coverage
|
|
214
266
|
|
|
267
|
+
**Test Quality - Critical Checks:**
|
|
268
|
+
- **Magic Numbers in Tests**: Are tests using hard-coded values just to make assertions pass?
|
|
269
|
+
- Look for arbitrary numbers without clear meaning (e.g., `expect(result).toBe(42)` where 42 has no semantic meaning)
|
|
270
|
+
- Tests should use meaningful constants or derive expected values from the input
|
|
271
|
+
- Tests that "cut corners" by adjusting expected values to match output are fragile
|
|
272
|
+
- Flag tests where the expected value seems arbitrary or reverse-engineered from implementation
|
|
273
|
+
- **Test Integrity**: Do tests actually validate correct behavior or just check current behavior?
|
|
274
|
+
- Are tests meaningful and would catch real bugs?
|
|
275
|
+
- Do tests explain why a value should be expected (through variable names, comments, or clear logic)?
|
|
276
|
+
- Are test assertions based on requirements rather than implementation details?
|
|
277
|
+
- **Negative Testing Coverage**: Are failure cases and error conditions properly tested?
|
|
278
|
+
- Are there tests for invalid inputs, boundary conditions, and error states?
|
|
279
|
+
- Do tests verify error messages and error handling paths?
|
|
280
|
+
- Are edge cases like null, empty, undefined, zero, negative values tested?
|
|
281
|
+
- Do tests cover "unhappy path" scenarios (authentication failures, network errors, invalid data)?
|
|
282
|
+
- Are exception handling and error recovery mechanisms validated?
|
|
283
|
+
- Flag missing negative tests for critical functionality
|
|
284
|
+
|
|
215
285
|
**Maintainability:**
|
|
216
286
|
- Code testability issues
|
|
217
287
|
- Dependencies and coupling problems
|
|
@@ -224,13 +294,14 @@ checks:
|
|
|
224
294
|
- Type safety (if applicable)
|
|
225
295
|
|
|
226
296
|
Focus on actionable improvements that enhance code maintainability based on the overview analysis.
|
|
297
|
+
Pay special attention to test quality - tests that use magic numbers or cut corners undermine reliability.
|
|
227
298
|
|
|
228
299
|
## Severity Guidelines
|
|
229
300
|
Use the following severity levels appropriately:
|
|
230
301
|
- **critical**: Code quality issues that will cause bugs or failures (logic errors, race conditions, null pointer issues)
|
|
231
|
-
- **error**: Quality problems that significantly impact maintainability (no error handling, high complexity, severe coupling)
|
|
232
|
-
- **warning**: Quality concerns that should be addressed (missing tests, code duplication, poor naming)
|
|
233
|
-
- **info**: Best practices and improvement suggestions (refactoring opportunities, documentation improvements)
|
|
302
|
+
- **error**: Quality problems that significantly impact maintainability (no error handling, high complexity, severe coupling, tests with magic numbers)
|
|
303
|
+
- **warning**: Quality concerns that should be addressed (missing tests, code duplication, poor naming, unclear test expectations)
|
|
304
|
+
- **info**: Best practices and improvement suggestions (refactoring opportunities, documentation improvements, test clarity)
|
|
234
305
|
depends_on: [overview]
|
|
235
306
|
on: [pr_opened, pr_updated]
|
|
236
307
|
|
|
@@ -310,9 +381,13 @@ checks:
|
|
|
310
381
|
|
|
311
382
|
Response style:
|
|
312
383
|
- Professional and welcoming
|
|
313
|
-
-
|
|
314
|
-
-
|
|
315
|
-
-
|
|
384
|
+
- Start by acknowledging what you understand from the issue report
|
|
385
|
+
- Clearly state what you're confident about based on the information provided
|
|
386
|
+
- Identify what is unclear or missing, and explicitly ask follow-up questions to help with debugging
|
|
387
|
+
- When information is incomplete, ask specific questions that would help diagnose the issue
|
|
388
|
+
- Provide actionable guidance and clear next steps
|
|
389
|
+
- Use natural markdown formatting; include code snippets where useful
|
|
390
|
+
- Be honest about what you know and what you don't know
|
|
316
391
|
- NEVER make promises about timelines, release dates, or team commitments
|
|
317
392
|
- NEVER say things like "we'll pick this up", "will be included in upcoming release", or "we will post updates"
|
|
318
393
|
- Focus on technical analysis and helpful information rather than commitments
|
|
@@ -336,6 +411,11 @@ checks:
|
|
|
336
411
|
- Never suggest rerun/disable unless asked explicitly.
|
|
337
412
|
- If asked to disable any check(s), set `intent` = "comment_retrigger" and in `text` acknowledge the request and say the checks will be re-run; DO NOT propose slash/directive comments.
|
|
338
413
|
- Stay technical, direct, and specific; add code snippets or links when helpful.
|
|
414
|
+
- When answering questions, acknowledge what you can answer confidently based on the context provided
|
|
415
|
+
- If you need more information to provide a complete answer, ask specific follow-up questions
|
|
416
|
+
- Be honest when you don't know something or can't find the answer in the available context
|
|
417
|
+
- If the question requires information not available in the PR/issue context, clearly state what's missing
|
|
418
|
+
- Provide partial answers when possible, and indicate what additional information would help give a complete response
|
|
339
419
|
on: [issue_comment]
|
|
340
420
|
on_success:
|
|
341
421
|
goto_js: |
|
|
@@ -71,7 +71,7 @@ export declare class AIReviewService {
|
|
|
71
71
|
/**
|
|
72
72
|
* Execute AI review using probe agent
|
|
73
73
|
*/
|
|
74
|
-
executeReview(prInfo: PRInfo, customPrompt: string, schema?: string | Record<string, unknown>,
|
|
74
|
+
executeReview(prInfo: PRInfo, customPrompt: string, schema?: string | Record<string, unknown>, checkName?: string, sessionId?: string): Promise<ReviewSummary>;
|
|
75
75
|
/**
|
|
76
76
|
* Execute AI review using session reuse - reuses an existing ProbeAgent session
|
|
77
77
|
* @param sessionMode - 'clone' (default) clones history, 'append' shares history
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/ai-review-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,aAAa,EAAe,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/ai-review-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,aAAa,EAAe,MAAM,YAAY,CAAC;AAaxD;;GAEG;AACH,UAAU,gBAAiB,SAAQ,UAAU;IAC3C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,gBAAgB,CAAC,EAAE,eAAe,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAWD,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,aAAa,CAAC;IAClF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,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AkB;gBAE7B,MAAM,GAAE,cAAmB;IAyCvC;;OAEG;IACG,aAAa,CACjB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACzC,SAAS,CAAC,EAAE,MAAM,EAClB,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,aAAa,CAAC;IA+GzB;;;OAGG;IACG,6BAA6B,CACjC,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACzC,SAAS,CAAC,EAAE,MAAM,EAClB,WAAW,GAAE,OAAO,GAAG,QAAkB,GACxC,OAAO,CAAC,aAAa,CAAC;IAgIzB;;OAEG;IACH,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAIjE;;OAEG;IACH,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAIvC;;OAEG;YACW,iBAAiB;IAwH/B;;OAEG;YACW,eAAe;IAwT7B;;OAEG;IACH,OAAO,CAAC,SAAS;IAIjB;;OAEG;YACW,iCAAiC;IAgX/C;;OAEG;YACW,cAAc;IAsc5B;;OAEG;YACW,iBAAiB;IAiE/B;;OAEG;IACH,OAAO,CAAC,eAAe;IAqPvB;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAc/B;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAqDnC;;OAEG;YACW,oBAAoB;IAgDlC;;OAEG;IACH,OAAO,CAAC,eAAe;CAuBxB"}
|
package/dist/cli-main.d.ts
CHANGED
package/dist/cli-main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/cli-main.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/cli-main.ts"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAC;AAsFvB;;GAEG;AACH,wBAAsB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAojB1C"}
|
package/dist/cli.d.ts
CHANGED
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/cli.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAA2B,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/cli.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAA2B,MAAM,aAAa,CAAC;AAMlE;;GAEG;AACH,qBAAa,GAAG;IACd,OAAO,CAAC,OAAO,CAAU;IACzB,OAAO,CAAC,WAAW,CAA4E;IAC/F,OAAO,CAAC,YAAY,CAA0D;IAG9E,OAAO,CAAC,WAAW,CAGR;;IAOX;;OAEG;IACH,OAAO,CAAC,YAAY;IAoDpB;;OAEG;IACH,OAAO,CAAC,aAAa,CAEnB;IAEF;;OAEG;IACI,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU;IAmJ5C;;OAEG;IACH,OAAO,CAAC,eAAe;IAyCvB;;OAEG;IACI,WAAW,IAAI,MAAM;IAkD5B;;OAEG;IACI,UAAU,IAAI,MAAM;IAoC3B;;OAEG;IACI,eAAe,IAAI,MAAM;IAkBhC;;OAEG;IACI,QAAQ,IAAI,IAAI;IAIvB;;OAEG;IACI,WAAW,IAAI,IAAI;CAG3B"}
|
package/dist/commands.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/commands.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/commands.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC7B;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,GAAG,IAAI,CAyBvF;AAED,wBAAgB,WAAW,CAAC,cAAc,CAAC,EAAE,eAAe,GAAG,MAAM,CA6BpE"}
|
package/dist/config.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import { VisorConfig, EnvironmentOverrides, MergedConfig, ConfigLoadOptions } from './types/config';
|
|
1
|
+
import { VisorConfig, EventTrigger, EnvironmentOverrides, MergedConfig, ConfigLoadOptions } from './types/config';
|
|
2
2
|
import { CliOptions } from './types/cli';
|
|
3
|
+
/**
|
|
4
|
+
* Valid event triggers for checks
|
|
5
|
+
* Exported as a constant to serve as the single source of truth for event validation
|
|
6
|
+
*/
|
|
7
|
+
export declare const VALID_EVENT_TRIGGERS: readonly EventTrigger[];
|
|
3
8
|
/**
|
|
4
9
|
* Configuration manager for Visor
|
|
5
10
|
*/
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/config.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/config.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,WAAW,EAGX,YAAY,EAIZ,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CA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sB;IAY9B;;OAEG;IACH,OAAO,CAAC,iBAAiB;CA6B1B"}
|
|
@@ -138,6 +138,58 @@ checks:
|
|
|
138
138
|
depends_on: [overview]
|
|
139
139
|
on: [pr_opened, pr_updated]
|
|
140
140
|
|
|
141
|
+
# Architecture analysis - Ensures sound design and avoids over-engineering
|
|
142
|
+
architecture:
|
|
143
|
+
type: ai
|
|
144
|
+
group: review
|
|
145
|
+
schema: code-review
|
|
146
|
+
prompt: |
|
|
147
|
+
Building on our overview analysis, evaluate the architectural decisions and design patterns.
|
|
148
|
+
|
|
149
|
+
Focus on the files listed in `<files_summary>` and analyze the code changes shown in the `<full_diff>` or `<commit_diff>` sections.
|
|
150
|
+
|
|
151
|
+
## Architecture Analysis Areas
|
|
152
|
+
**Design Simplicity & Pragmatism:**
|
|
153
|
+
- Over-engineering: Is the solution more complex than necessary?
|
|
154
|
+
- YAGNI violations: Are we building features not currently needed?
|
|
155
|
+
- Can this be implemented more simply using existing patterns?
|
|
156
|
+
- Are there existing functions/modules that could be reused instead?
|
|
157
|
+
- Is the abstraction level appropriate for the problem size?
|
|
158
|
+
|
|
159
|
+
**Special Cases & Edge Cases:**
|
|
160
|
+
- Does the code introduce special case handling that could be generalized?
|
|
161
|
+
- Are there hard-coded values or logic for specific scenarios?
|
|
162
|
+
- Can special cases be eliminated through better design?
|
|
163
|
+
- Are edge cases handled through general patterns rather than one-offs?
|
|
164
|
+
|
|
165
|
+
**Consistency & Reusability:**
|
|
166
|
+
- Does this follow existing architectural patterns in the codebase?
|
|
167
|
+
- Are there similar problems already solved differently elsewhere?
|
|
168
|
+
- Could this functionality be generalized to handle more cases?
|
|
169
|
+
- Does it duplicate existing functionality that could be extended?
|
|
170
|
+
|
|
171
|
+
**Design Patterns & Structure:**
|
|
172
|
+
- Are design patterns used appropriately (not forced)?
|
|
173
|
+
- Is the separation of concerns clear and logical?
|
|
174
|
+
- Are dependencies and coupling minimized?
|
|
175
|
+
- Is the code organized in a way that makes sense?
|
|
176
|
+
|
|
177
|
+
**Scalability & Extensibility:**
|
|
178
|
+
- Will this design scale with future requirements?
|
|
179
|
+
- Is it easy to extend without major refactoring?
|
|
180
|
+
- Are boundaries and interfaces well-defined?
|
|
181
|
+
|
|
182
|
+
Flag issues where simpler solutions exist, special cases are introduced unnecessarily, or existing functionality could be reused.
|
|
183
|
+
|
|
184
|
+
## Severity Guidelines
|
|
185
|
+
Use the following severity levels appropriately:
|
|
186
|
+
- **critical**: Architectural decisions that will cause system failures or major technical debt (circular dependencies, tight coupling causing deadlocks)
|
|
187
|
+
- **error**: Significant architectural problems (over-engineering, unnecessary special cases, violation of core patterns, missed reuse opportunities)
|
|
188
|
+
- **warning**: Architectural concerns that should be addressed (minor over-abstraction, could be simplified, inconsistent patterns)
|
|
189
|
+
- **info**: Architectural suggestions and alternative approaches (simpler patterns available, potential for future reuse)
|
|
190
|
+
depends_on: [overview]
|
|
191
|
+
on: [pr_opened, pr_updated]
|
|
192
|
+
|
|
141
193
|
# Performance analysis - Important for all applications
|
|
142
194
|
performance:
|
|
143
195
|
type: ai
|
|
@@ -212,6 +264,24 @@ checks:
|
|
|
212
264
|
- Test quality and effectiveness
|
|
213
265
|
- Edge cases and error scenarios coverage
|
|
214
266
|
|
|
267
|
+
**Test Quality - Critical Checks:**
|
|
268
|
+
- **Magic Numbers in Tests**: Are tests using hard-coded values just to make assertions pass?
|
|
269
|
+
- Look for arbitrary numbers without clear meaning (e.g., `expect(result).toBe(42)` where 42 has no semantic meaning)
|
|
270
|
+
- Tests should use meaningful constants or derive expected values from the input
|
|
271
|
+
- Tests that "cut corners" by adjusting expected values to match output are fragile
|
|
272
|
+
- Flag tests where the expected value seems arbitrary or reverse-engineered from implementation
|
|
273
|
+
- **Test Integrity**: Do tests actually validate correct behavior or just check current behavior?
|
|
274
|
+
- Are tests meaningful and would catch real bugs?
|
|
275
|
+
- Do tests explain why a value should be expected (through variable names, comments, or clear logic)?
|
|
276
|
+
- Are test assertions based on requirements rather than implementation details?
|
|
277
|
+
- **Negative Testing Coverage**: Are failure cases and error conditions properly tested?
|
|
278
|
+
- Are there tests for invalid inputs, boundary conditions, and error states?
|
|
279
|
+
- Do tests verify error messages and error handling paths?
|
|
280
|
+
- Are edge cases like null, empty, undefined, zero, negative values tested?
|
|
281
|
+
- Do tests cover "unhappy path" scenarios (authentication failures, network errors, invalid data)?
|
|
282
|
+
- Are exception handling and error recovery mechanisms validated?
|
|
283
|
+
- Flag missing negative tests for critical functionality
|
|
284
|
+
|
|
215
285
|
**Maintainability:**
|
|
216
286
|
- Code testability issues
|
|
217
287
|
- Dependencies and coupling problems
|
|
@@ -224,13 +294,14 @@ checks:
|
|
|
224
294
|
- Type safety (if applicable)
|
|
225
295
|
|
|
226
296
|
Focus on actionable improvements that enhance code maintainability based on the overview analysis.
|
|
297
|
+
Pay special attention to test quality - tests that use magic numbers or cut corners undermine reliability.
|
|
227
298
|
|
|
228
299
|
## Severity Guidelines
|
|
229
300
|
Use the following severity levels appropriately:
|
|
230
301
|
- **critical**: Code quality issues that will cause bugs or failures (logic errors, race conditions, null pointer issues)
|
|
231
|
-
- **error**: Quality problems that significantly impact maintainability (no error handling, high complexity, severe coupling)
|
|
232
|
-
- **warning**: Quality concerns that should be addressed (missing tests, code duplication, poor naming)
|
|
233
|
-
- **info**: Best practices and improvement suggestions (refactoring opportunities, documentation improvements)
|
|
302
|
+
- **error**: Quality problems that significantly impact maintainability (no error handling, high complexity, severe coupling, tests with magic numbers)
|
|
303
|
+
- **warning**: Quality concerns that should be addressed (missing tests, code duplication, poor naming, unclear test expectations)
|
|
304
|
+
- **info**: Best practices and improvement suggestions (refactoring opportunities, documentation improvements, test clarity)
|
|
234
305
|
depends_on: [overview]
|
|
235
306
|
on: [pr_opened, pr_updated]
|
|
236
307
|
|
|
@@ -310,9 +381,13 @@ checks:
|
|
|
310
381
|
|
|
311
382
|
Response style:
|
|
312
383
|
- Professional and welcoming
|
|
313
|
-
-
|
|
314
|
-
-
|
|
315
|
-
-
|
|
384
|
+
- Start by acknowledging what you understand from the issue report
|
|
385
|
+
- Clearly state what you're confident about based on the information provided
|
|
386
|
+
- Identify what is unclear or missing, and explicitly ask follow-up questions to help with debugging
|
|
387
|
+
- When information is incomplete, ask specific questions that would help diagnose the issue
|
|
388
|
+
- Provide actionable guidance and clear next steps
|
|
389
|
+
- Use natural markdown formatting; include code snippets where useful
|
|
390
|
+
- Be honest about what you know and what you don't know
|
|
316
391
|
- NEVER make promises about timelines, release dates, or team commitments
|
|
317
392
|
- NEVER say things like "we'll pick this up", "will be included in upcoming release", or "we will post updates"
|
|
318
393
|
- Focus on technical analysis and helpful information rather than commitments
|
|
@@ -336,6 +411,11 @@ checks:
|
|
|
336
411
|
- Never suggest rerun/disable unless asked explicitly.
|
|
337
412
|
- If asked to disable any check(s), set `intent` = "comment_retrigger" and in `text` acknowledge the request and say the checks will be re-run; DO NOT propose slash/directive comments.
|
|
338
413
|
- Stay technical, direct, and specific; add code snippets or links when helpful.
|
|
414
|
+
- When answering questions, acknowledge what you can answer confidently based on the context provided
|
|
415
|
+
- If you need more information to provide a complete answer, ask specific follow-up questions
|
|
416
|
+
- Be honest when you don't know something or can't find the answer in the available context
|
|
417
|
+
- If the question requires information not available in the PR/issue context, clearly state what's missing
|
|
418
|
+
- Provide partial answers when possible, and indicate what additional information would help give a complete response
|
|
339
419
|
on: [issue_comment]
|
|
340
420
|
on_success:
|
|
341
421
|
goto_js: |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/failure-condition-evaluator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EACL,iBAAiB,EAGjB,sBAAsB,EAEvB,MAAM,gBAAgB,CAAC;AAKxB;;GAEG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,OAAO,CAAC,CAAU;;IAI1B;;OAEG;IACH,OAAO,CAAC,mBAAm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,kBAAkB;
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/failure-condition-evaluator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EACL,iBAAiB,EAGjB,sBAAsB,EAEvB,MAAM,gBAAgB,CAAC;AAKxB;;GAEG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,OAAO,CAAC,CAAU;;IAI1B;;OAEG;IACH,OAAO,CAAC,mBAAmB;IA6D3B;;OAEG;IACG,uBAAuB,CAC3B,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,MAAM,EAClB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EAC/C,iBAAiB,CAAC,EAAE,MAAM,GACzB,OAAO,CAAC,OAAO,CAAC;IA2DnB;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAO9B;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAOxB;;OAEG;IACG,mBAAmB,CACvB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,WAAW,CAAC,EAAE;QACZ,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;QACxB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACrC,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QAC7C,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B,GACA,OAAO,CAAC,OAAO,CAAC;IAoEnB;;OAEG;IACG,kBAAkB,CACtB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,aAAa,EAC5B,gBAAgB,CAAC,EAAE,iBAAiB,EACpC,eAAe,CAAC,EAAE,iBAAiB,EACnC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EAC/C,iBAAiB,CAAC,EAAE,MAAM,GACzB,OAAO,CAAC,sBAAsB,EAAE,CAAC;IA4CpC;;OAEG;YACW,oBAAoB;IA0ElC;;OAEG;YACW,uBAAuB;IA0BrC;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAyN1B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAOzB;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAe9B;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAkK9B,OAAO,CAAC,qBAAqB;IAmB7B;;OAEG;IACH,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,sBAAsB,EAAE,GAAG,OAAO;IAItE;;OAEG;IACH,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,sBAAsB,EAAE,GAAG,sBAAsB,EAAE;IAIvF;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAAC,OAAO,EAAE,sBAAsB,EAAE,GAAG;QAChE,KAAK,EAAE,sBAAsB,EAAE,CAAC;QAChC,OAAO,EAAE,sBAAsB,EAAE,CAAC;QAClC,IAAI,EAAE,sBAAsB,EAAE,CAAC;KAChC;IASD;;OAEG;IACH,MAAM,CAAC,aAAa,CAAC,OAAO,EAAE,sBAAsB,EAAE,GAAG,MAAM;CAiChE"}
|
package/dist/footer.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Centralized footer generation for Visor comments and outputs
|
|
3
|
+
*/
|
|
4
|
+
export interface FooterOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Include metadata like lastUpdated, triggeredBy, commitSha
|
|
7
|
+
*/
|
|
8
|
+
includeMetadata?: {
|
|
9
|
+
lastUpdated: string;
|
|
10
|
+
triggeredBy: string;
|
|
11
|
+
commitSha?: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Include horizontal rule separator before footer
|
|
15
|
+
*/
|
|
16
|
+
includeSeparator?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Generate a standard Visor footer with branding and optional tip
|
|
20
|
+
*/
|
|
21
|
+
export declare function generateFooter(options?: FooterOptions): string;
|
|
22
|
+
/**
|
|
23
|
+
* Check if a string contains a Visor footer
|
|
24
|
+
*/
|
|
25
|
+
export declare function hasVisorFooter(text: string): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/footer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE;QAChB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,GAAE,aAAkB,GAAG,MAAM,CA6BlE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAKpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/github-check-service.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/github-check-service.ts"],"names":[],"m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AM,EACb,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IAwB1F;;;OAGG;IACG,qBAAqB,CACzB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAoBnD;;;;OAIG;IACG,mBAAmB,CACvB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAAE,4CAA4C;IAC9D,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,MAAM,EACxB,iBAAiB,EAAE,MAAM,GACxB,OAAO,CAAC,IAAI,CAAC;CA8CjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/github-comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/github-comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,U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OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAC5F,OAAO,GAAE,OAAO,GAAG,UAAoB,GACtC,MAAM;IAkBT;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAIzB;;OAEG;IACH,OAAO,CAAC,cAAc;IAuBtB;;OAEG;IACI,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAKpD;;OAEG;YACW,eAAe;IAc7B;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAIxB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAa3B;;OAEG;YACW,SAAS;IAmCvB;;OAEG;IACH,OAAO,CAAC,KAAK;IAIb;;OAEG;IACH,OAAO,CAAC,YAAY;IAuBpB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAQxB;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAgBzB;;OAEG;IACH,OAAO,CAAC,gBAAgB;CAIzB"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/index.ts"],"names":[],"mappings":"AAKA,OAAO,eAAe,CAAC;AAQvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAmG9D,wBAAsB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAqLzC;AAID,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
|