arcvision 0.2.17 → 0.2.20

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.
Files changed (63) hide show
  1. package/.arcvision/logs/errors.log +5 -0
  2. package/arcvision_context/architecture.authority.ledger.json +6 -63
  3. package/bin/arcvision.js +12 -0
  4. package/package.json +3 -2
  5. package/src/core/artifact-manager.js +143 -0
  6. package/src/core/command-base.js +107 -0
  7. package/src/core/config-validator.js +199 -0
  8. package/src/core/error-handler.js +106 -0
  9. package/src/core/feature-manager.js +218 -0
  10. package/src/core/feedback-generator.js +260 -0
  11. package/src/core/invariant-analyzer.js +22 -2
  12. package/src/core/invariant-detector.js +236 -3
  13. package/src/core/parser.js +85 -1
  14. package/src/core/scanner.js +18 -6
  15. package/src/engine/context_builder.js +21 -3
  16. package/src/engine/context_validator.js +7 -1
  17. package/src/engine/pass1_facts.js +2 -2
  18. package/src/index.js +41 -13
  19. package/test-block-functionality.js +40 -0
  20. package/test-dev-project/.arcvision/invariants.json +19 -0
  21. package/{arcvision_context → test-dev-project/arcvision_context}/README.md +9 -9
  22. package/test-dev-project/arcvision_context/architecture.authority.ledger.json +45 -0
  23. package/{arcvision.context.json → test-dev-project/arcvision_context/arcvision.context.json} +498 -496
  24. package/test-dev-project/src/core/data-service.js +0 -0
  25. package/test-dev-project/src/ui/user-profile.js +0 -0
  26. package/test-dev-project/src/utils/helpers.js +0 -0
  27. package/ARCVISION_DIRECTORY_STRUCTURE.md +0 -104
  28. package/CLI_STRUCTURE.md +0 -110
  29. package/CONFIGURATION.md +0 -119
  30. package/IMPLEMENTATION_SUMMARY.md +0 -99
  31. package/README.md +0 -149
  32. package/architecture.authority.ledger.json +0 -46
  33. package/arcvision-0.2.3.tgz +0 -0
  34. package/arcvision-0.2.4.tgz +0 -0
  35. package/arcvision-0.2.5.tgz +0 -0
  36. package/arcvision.context.diff.json +0 -2181
  37. package/arcvision.context.v1.json +0 -2163
  38. package/arcvision.context.v2.json +0 -2173
  39. package/arcvision_context/arcvision.context.json +0 -6884
  40. package/debug-cycle-detection.js +0 -56
  41. package/docs/ENHANCED_ACCURACY_SAFETY_PROTOCOL.md +0 -172
  42. package/docs/accuracy-enhancement-artifacts/enhanced-validation-config.json +0 -98
  43. package/docs/acig-robustness-guide.md +0 -164
  44. package/docs/authoritative-gate-implementation.md +0 -168
  45. package/docs/blast-radius-implementation.md +0 -76
  46. package/docs/blast-radius.md +0 -44
  47. package/docs/cli-strengthening-summary.md +0 -232
  48. package/docs/invariant-system-summary.md +0 -100
  49. package/docs/invariant-system.md +0 -112
  50. package/generate_large_test.js +0 -42
  51. package/large_test_repo.json +0 -1
  52. package/output1.json +0 -2163
  53. package/output2.json +0 -2163
  54. package/scan_calcom_report.txt +0 -0
  55. package/scan_leafmint_report.txt +0 -0
  56. package/scan_output.txt +0 -0
  57. package/scan_trigger_report.txt +0 -0
  58. package/temp_original.js +0 -0
  59. package/test/determinism-test.js +0 -83
  60. package/test-authoritative-context.js +0 -53
  61. package/test-real-authoritative-context.js +0 -118
  62. package/test-upload-enhancements.js +0 -111
  63. package/verify_engine.js +0 -116
@@ -0,0 +1,19 @@
1
+ [
2
+ {
3
+ "id": "blocking-rule",
4
+ "system": "test",
5
+ "description": "Rule that blocks UI files",
6
+ "severity": "block",
7
+ "scope": {
8
+ "files": [
9
+ "**/ui/**/*"
10
+ ]
11
+ },
12
+ "rule": {
13
+ "type": "existence",
14
+ "condition": {
15
+ "mustNotExist": "src/ui/user-profile.js"
16
+ }
17
+ }
18
+ }
19
+ ]
@@ -40,9 +40,9 @@ Use this artifact when:
40
40
 
41
41
  ## Determinism & Trust
42
42
 
43
- - Generated from commit: ae164d81a70b781ce2aa48702aa493acc245b50c
44
- - Generation timestamp: 2026-01-22T03:19:25.290Z
45
- - Tool version: 0.2.14
43
+ - Generated from commit: 2df067e4b3fec041c4390779b58829b74c94b780
44
+ - Generation timestamp: 2026-01-25T02:07:30.487Z
45
+ - Tool version: 0.2.17
46
46
  - Deterministic: same input → same output
47
47
  - Explicit assumptions listed inside the artifact
48
48
 
@@ -52,16 +52,16 @@ If this artifact conflicts with human memory, **trust the artifact**.
52
52
 
53
53
  The following files have the highest blast radius and represent critical structural hubs in the system:
54
54
 
55
- - **src/core/invariant-registry.ts**
56
- - Blast Radius: 8 files (11.27% of codebase)
55
+ - **arcvision_context/architecture.authority.ledger.json**
56
+ - Blast Radius: 0 files (0% of codebase)
57
57
  - Risk: Changes here may silently propagate across the system.
58
58
 
59
- - **src/core/invariant-hooks.js**
60
- - Blast Radius: 3 files (4.23% of codebase)
59
+ - **src/core/data-service.js**
60
+ - Blast Radius: 0 files (0% of codebase)
61
61
  - Risk: Acts as a coordination layer between components.
62
62
 
63
- - **src/core/structural-context-owner.js**
64
- - Blast Radius: 3 files (4.23% of codebase)
63
+ - **src/ui/user-profile.js**
64
+ - Blast Radius: 0 files (0% of codebase)
65
65
  - Risk: Modifications can cause widespread inconsistencies.
66
66
 
67
67
 
@@ -0,0 +1,45 @@
1
+ {
2
+ "schema_version": "1.0",
3
+ "system_id": "test-dev-project",
4
+ "created_at": "2026-01-25T02:06:22.719Z",
5
+ "ledger": [
6
+ {
7
+ "event_id": "evt_1769306782772_82lspcy3y",
8
+ "timestamp": "2026-01-25T02:06:22.772Z",
9
+ "decision": "BLOCKED",
10
+ "commit": "HEAD",
11
+ "branch": "unknown",
12
+ "author": "unknown",
13
+ "violations": [
14
+ {
15
+ "id": "no-ui-imports-core",
16
+ "description": "UI components should not import from core modules",
17
+ "system": "layering",
18
+ "severity": "block"
19
+ }
20
+ ],
21
+ "blast_radius": 0,
22
+ "affected_nodes": 0,
23
+ "override": false
24
+ },
25
+ {
26
+ "event_id": "evt_1769306852904_cxm79g6co",
27
+ "timestamp": "2026-01-25T02:07:32.904Z",
28
+ "decision": "BLOCKED",
29
+ "commit": "HEAD",
30
+ "branch": "unknown",
31
+ "author": "unknown",
32
+ "violations": [
33
+ {
34
+ "id": "blocking-rule",
35
+ "description": "Rule that blocks UI files",
36
+ "system": "test",
37
+ "severity": "block"
38
+ }
39
+ ],
40
+ "blast_radius": 0,
41
+ "affected_nodes": 0,
42
+ "override": false
43
+ }
44
+ ]
45
+ }