@massu/core 1.4.0-soak.0 → 1.5.0
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/commands/README.md +0 -3
- package/dist/cli.js +9423 -5453
- package/dist/hooks/auto-learning-pipeline.js +27 -1
- package/dist/hooks/classify-failure.js +27 -1
- package/dist/hooks/cost-tracker.js +27 -1
- package/dist/hooks/fix-detector.js +27 -1
- package/dist/hooks/incident-pipeline.js +27 -1
- package/dist/hooks/post-edit-context.js +27 -1
- package/dist/hooks/post-tool-use.js +27 -1
- package/dist/hooks/pre-compact.js +27 -1
- package/dist/hooks/pre-delete-check.js +27 -1
- package/dist/hooks/quality-event.js +27 -1
- package/dist/hooks/rule-enforcement-pipeline.js +27 -1
- package/dist/hooks/session-end.js +27 -1
- package/dist/hooks/session-start.js +2677 -2675
- package/dist/hooks/user-prompt.js +27 -1
- package/docs/AUTHORING-ADAPTERS.md +207 -0
- package/docs/SECURITY.md +250 -0
- package/package.json +10 -3
- package/src/adapter.ts +90 -0
- package/src/cli.ts +7 -0
- package/src/commands/adapters.ts +824 -0
- package/src/commands/config-check-drift.ts +1 -0
- package/src/commands/config-refresh.ts +4 -3
- package/src/commands/config-upgrade.ts +1 -0
- package/src/commands/doctor.ts +2 -0
- package/src/commands/init.ts +3 -1
- package/src/commands/template-engine.ts +0 -2
- package/src/commands/watch.ts +1 -1
- package/src/config.ts +71 -0
- package/src/detect/adapters/aspnet.ts +293 -0
- package/src/detect/adapters/discover.ts +469 -0
- package/src/detect/adapters/go-chi.ts +261 -0
- package/src/detect/adapters/index.ts +49 -0
- package/src/detect/adapters/phoenix.ts +277 -0
- package/src/detect/adapters/python-flask.ts +235 -0
- package/src/detect/adapters/rails.ts +279 -0
- package/src/detect/adapters/runner.ts +32 -0
- package/src/detect/adapters/spring.ts +284 -0
- package/src/detect/adapters/tree-sitter-loader.ts +171 -2
- package/src/detect/adapters/types.ts +19 -2
- package/src/detect/migrate.ts +4 -4
- package/src/detect/monorepo-detector.ts +1 -0
- package/src/hooks/post-tool-use.ts +1 -0
- package/src/hooks/session-start.ts +1 -0
- package/src/lib/fileLock.ts +203 -0
- package/src/lib/installLock.ts +31 -144
- package/src/lsp/auto-detect.ts +10 -1
- package/src/lsp/client.ts +188 -2
- package/src/memory-file-ingest.ts +1 -0
- package/src/security/adapter-origin.ts +130 -0
- package/src/security/adapter-verifier.ts +319 -0
- package/src/security/atomic-write.ts +164 -0
- package/src/security/fetcher.ts +200 -0
- package/src/security/install-tracking.ts +319 -0
- package/src/security/local-fingerprint.ts +225 -0
- package/src/security/manifest-cache.ts +333 -0
- package/src/security/manifest-schema.ts +129 -0
- package/src/security/registry-pubkey.generated.ts +35 -0
- package/src/security/telemetry.ts +320 -0
- package/src/watch/daemon.ts +1 -1
- package/src/watch/paths.ts +2 -2
- package/templates/aspnet/massu.config.yaml +57 -0
- package/templates/go-chi/massu.config.yaml +52 -0
- package/templates/phoenix/massu.config.yaml +54 -0
- package/templates/python-flask/massu.config.yaml +51 -0
- package/templates/rails/massu.config.yaml +56 -0
- package/templates/spring/massu.config.yaml +56 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Massu AI Configuration — Java / Spring Boot template
|
|
2
|
+
# schema_version 2 — https://massu.ai/docs/getting-started/configuration
|
|
3
|
+
# Plan 3c Phase 7 deliverable (spring).
|
|
4
|
+
|
|
5
|
+
schema_version: 2
|
|
6
|
+
|
|
7
|
+
project:
|
|
8
|
+
name: "{{PROJECT_NAME}}"
|
|
9
|
+
root: auto
|
|
10
|
+
|
|
11
|
+
framework:
|
|
12
|
+
type: java
|
|
13
|
+
router: spring-mvc
|
|
14
|
+
orm: spring-data-jpa
|
|
15
|
+
ui: thymeleaf
|
|
16
|
+
languages:
|
|
17
|
+
java:
|
|
18
|
+
framework: spring-boot
|
|
19
|
+
test_framework: junit5
|
|
20
|
+
orm: spring-data-jpa
|
|
21
|
+
source_dirs:
|
|
22
|
+
- src/main/java
|
|
23
|
+
- src/main/resources
|
|
24
|
+
- src/test/java
|
|
25
|
+
|
|
26
|
+
paths:
|
|
27
|
+
source: src/main/java
|
|
28
|
+
aliases: {}
|
|
29
|
+
|
|
30
|
+
toolPrefix: massu
|
|
31
|
+
|
|
32
|
+
domains: []
|
|
33
|
+
|
|
34
|
+
rules: []
|
|
35
|
+
|
|
36
|
+
verification:
|
|
37
|
+
java:
|
|
38
|
+
test: ./mvnw test
|
|
39
|
+
type: ./mvnw compile
|
|
40
|
+
syntax: ./mvnw compile -q
|
|
41
|
+
lint: ./mvnw checkstyle:check
|
|
42
|
+
|
|
43
|
+
java:
|
|
44
|
+
root: .
|
|
45
|
+
exclude_dirs:
|
|
46
|
+
- target
|
|
47
|
+
- build
|
|
48
|
+
- .gradle
|
|
49
|
+
- .mvn
|
|
50
|
+
- .idea
|
|
51
|
+
- out
|
|
52
|
+
- bin
|
|
53
|
+
- node_modules
|
|
54
|
+
- .git
|
|
55
|
+
framework: spring-boot
|
|
56
|
+
orm: spring-data-jpa
|