@ryuenn3123/agentic-senior-core 2.0.5 → 2.0.8

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 (126) hide show
  1. package/.agent-context/blueprints/mobile-app.md +91 -21
  2. package/.agent-context/profiles/platform.md +13 -13
  3. package/.agent-context/profiles/regulated.md +13 -13
  4. package/.agent-context/profiles/startup.md +13 -13
  5. package/.agent-context/prompts/review-code.md +3 -3
  6. package/.agent-context/review-checklists/frontend-skill-parity.md +28 -28
  7. package/.agent-context/review-checklists/frontend-usability.md +33 -33
  8. package/.agent-context/review-checklists/pr-checklist.md +11 -6
  9. package/.agent-context/review-checklists/release-operations.md +29 -29
  10. package/.agent-context/rules/api-docs.md +34 -0
  11. package/.agent-context/skills/README.md +62 -62
  12. package/.agent-context/skills/backend/README.md +67 -67
  13. package/.agent-context/skills/backend/architecture.md +360 -360
  14. package/.agent-context/skills/backend/compatibility-manifest.json +8 -8
  15. package/.agent-context/skills/backend/data-access.md +230 -230
  16. package/.agent-context/skills/backend/errors.md +137 -137
  17. package/.agent-context/skills/backend/validation.md +116 -116
  18. package/.agent-context/skills/backend.md +28 -28
  19. package/.agent-context/skills/cli/README.md +55 -49
  20. package/.agent-context/skills/cli/compatibility-manifest.json +8 -8
  21. package/.agent-context/skills/cli/init.md +37 -37
  22. package/.agent-context/skills/cli/output.md +35 -35
  23. package/.agent-context/skills/cli/safety-telemetry.md +39 -0
  24. package/.agent-context/skills/cli/upgrade.md +37 -37
  25. package/.agent-context/skills/cli.md +31 -28
  26. package/.agent-context/skills/distribution/.evidence/compatibility-manifest.json +9 -0
  27. package/.agent-context/skills/distribution/.evidence/sbom-excerpt.json +6 -0
  28. package/.agent-context/skills/distribution/.evidence/test-report.json +8 -0
  29. package/.agent-context/skills/distribution/CHANGELOG.md +7 -0
  30. package/.agent-context/skills/distribution/README.md +27 -19
  31. package/.agent-context/skills/distribution/compatibility-manifest.json +8 -8
  32. package/.agent-context/skills/distribution/compatibility.md +31 -31
  33. package/.agent-context/skills/distribution/package.json +5 -0
  34. package/.agent-context/skills/distribution/provenance-attestation.md +47 -0
  35. package/.agent-context/skills/distribution/publish.md +36 -36
  36. package/.agent-context/skills/distribution/rollback.md +31 -31
  37. package/.agent-context/skills/distribution/tests/.gitkeep +1 -0
  38. package/.agent-context/skills/distribution.md +31 -28
  39. package/.agent-context/skills/frontend/.evidence/compatibility-manifest.json +9 -0
  40. package/.agent-context/skills/frontend/.evidence/sbom-excerpt.json +6 -0
  41. package/.agent-context/skills/frontend/.evidence/test-report.json +8 -0
  42. package/.agent-context/skills/frontend/CHANGELOG.md +7 -0
  43. package/.agent-context/skills/frontend/README.md +49 -36
  44. package/.agent-context/skills/frontend/accessibility.md +107 -107
  45. package/.agent-context/skills/frontend/compatibility-manifest.json +8 -8
  46. package/.agent-context/skills/frontend/conversion-clarity.md +51 -0
  47. package/.agent-context/skills/frontend/motion.md +66 -66
  48. package/.agent-context/skills/frontend/package.json +5 -0
  49. package/.agent-context/skills/frontend/performance.md +62 -62
  50. package/.agent-context/skills/frontend/responsive-delivery.md +41 -0
  51. package/.agent-context/skills/frontend/tests/.gitkeep +1 -0
  52. package/.agent-context/skills/frontend/ui-architecture.md +128 -128
  53. package/.agent-context/skills/frontend.md +35 -29
  54. package/.agent-context/skills/fullstack/.evidence/compatibility-manifest.json +9 -0
  55. package/.agent-context/skills/fullstack/.evidence/sbom-excerpt.json +6 -0
  56. package/.agent-context/skills/fullstack/.evidence/test-report.json +8 -0
  57. package/.agent-context/skills/fullstack/CHANGELOG.md +7 -0
  58. package/.agent-context/skills/fullstack/README.md +27 -19
  59. package/.agent-context/skills/fullstack/compatibility-manifest.json +8 -8
  60. package/.agent-context/skills/fullstack/contracts.md +52 -52
  61. package/.agent-context/skills/fullstack/end-to-end.md +41 -41
  62. package/.agent-context/skills/fullstack/feature-slicing.md +64 -64
  63. package/.agent-context/skills/fullstack/package.json +5 -0
  64. package/.agent-context/skills/fullstack/release-coordination.md +51 -0
  65. package/.agent-context/skills/fullstack/tests/.gitkeep +1 -0
  66. package/.agent-context/skills/fullstack.md +29 -26
  67. package/.agent-context/skills/index.json +107 -107
  68. package/.agent-context/skills/review-quality/.evidence/compatibility-manifest.json +9 -0
  69. package/.agent-context/skills/review-quality/.evidence/sbom-excerpt.json +6 -0
  70. package/.agent-context/skills/review-quality/.evidence/test-report.json +8 -0
  71. package/.agent-context/skills/review-quality/CHANGELOG.md +7 -0
  72. package/.agent-context/skills/review-quality/README.md +27 -19
  73. package/.agent-context/skills/review-quality/benchmark.md +29 -29
  74. package/.agent-context/skills/review-quality/compatibility-manifest.json +8 -8
  75. package/.agent-context/skills/review-quality/package.json +5 -0
  76. package/.agent-context/skills/review-quality/planning.md +37 -37
  77. package/.agent-context/skills/review-quality/release-decision.md +49 -0
  78. package/.agent-context/skills/review-quality/security.md +33 -33
  79. package/.agent-context/skills/review-quality/tests/.gitkeep +1 -0
  80. package/.agent-context/skills/review-quality.md +33 -27
  81. package/.agent-context/stacks/flutter.md +16 -16
  82. package/.agent-context/stacks/react-native.md +16 -16
  83. package/.agent-context/state/architecture-map.md +25 -25
  84. package/.agent-context/state/benchmark-analysis.json +431 -431
  85. package/.agent-context/state/benchmark-thresholds.json +10 -10
  86. package/.agent-context/state/benchmark-watchlist.json +19 -19
  87. package/.agent-context/state/dependency-map.md +32 -32
  88. package/.agent-context/state/quality-trend-report.json +16 -6
  89. package/.agent-context/state/skill-platform.json +38 -38
  90. package/.agent-context/state/weekly-governance-report.json +126 -0
  91. package/.agent-override.md +36 -36
  92. package/.cursorrules +1 -1
  93. package/.gemini/instructions.md +20 -20
  94. package/.github/ISSUE_TEMPLATE/v1.7-frontend-work-item.yml +54 -54
  95. package/.github/copilot-instructions.md +21 -21
  96. package/.github/workflows/benchmark-detection.yml +38 -38
  97. package/.github/workflows/benchmark-intelligence.yml +50 -50
  98. package/.github/workflows/frontend-usability-gate.yml +36 -36
  99. package/.github/workflows/governance-weekly-report.yml +43 -0
  100. package/.github/workflows/release-gate.yml +32 -32
  101. package/.github/workflows/sbom-compliance.yml +32 -32
  102. package/.windsurfrules +1 -1
  103. package/AGENTS.md +27 -27
  104. package/README.md +389 -368
  105. package/lib/cli/commands/init.mjs +13 -1
  106. package/lib/cli/commands/optimize.mjs +171 -171
  107. package/lib/cli/commands/upgrade.mjs +9 -1
  108. package/lib/cli/compatibility.mjs +124 -124
  109. package/lib/cli/constants.mjs +37 -2
  110. package/lib/cli/token-optimization.mjs +275 -275
  111. package/lib/cli/utils.mjs +24 -3
  112. package/mcp.json +92 -92
  113. package/package.json +2 -1
  114. package/scripts/benchmark-gate.mjs +121 -121
  115. package/scripts/benchmark-intelligence.mjs +140 -140
  116. package/scripts/detection-benchmark.mjs +138 -138
  117. package/scripts/frontend-usability-audit.mjs +87 -87
  118. package/scripts/generate-sbom.mjs +61 -61
  119. package/scripts/governance-weekly-report.mjs +293 -0
  120. package/scripts/init-project.ps1 +104 -104
  121. package/scripts/llm-judge.mjs +664 -664
  122. package/scripts/quality-trend-report.mjs +288 -288
  123. package/scripts/release-gate.mjs +261 -259
  124. package/scripts/skill-tier-policy.mjs +75 -75
  125. package/scripts/token-optimization-benchmark.mjs +252 -252
  126. package/scripts/validate.mjs +942 -865
@@ -1,105 +1,105 @@
1
- #!/usr/bin/env pwsh
2
-
3
- [CmdletBinding()]
4
- param(
5
- [string]$TargetDirectory = ".",
6
- [ValidateSet("beginner", "balanced", "strict")]
7
- [string]$Profile,
8
- [string]$Stack,
9
- [string]$Blueprint,
10
- [ValidateSet("true", "false")]
11
- [string]$Ci,
12
- [switch]$Newbie,
13
- [string]$RepositoryUrl = "https://github.com/fatidaprilian/Agentic-Senior-Core.git",
14
- [string[]]$AdditionalArguments
15
- )
16
-
17
- $ErrorActionPreference = "Stop"
18
-
19
- function Resolve-AbsolutePath {
20
- param([string]$PathValue)
21
-
22
- if ([string]::IsNullOrWhiteSpace($PathValue)) {
23
- throw "TargetDirectory cannot be empty."
24
- }
25
-
26
- if ([System.IO.Path]::IsPathRooted($PathValue)) {
27
- return [System.IO.Path]::GetFullPath($PathValue)
28
- }
29
-
30
- $combinedPath = Join-Path -Path (Get-Location) -ChildPath $PathValue
31
- return [System.IO.Path]::GetFullPath($combinedPath)
32
- }
33
-
34
- function New-TemporaryDirectory {
35
- $temporaryDirectoryName = "agentic-senior-core-bootstrap-$(Get-Date -Format 'yyyyMMddHHmmssfff')"
36
- $temporaryDirectoryPath = Join-Path -Path ([System.IO.Path]::GetTempPath()) -ChildPath $temporaryDirectoryName
37
- New-Item -ItemType Directory -Path $temporaryDirectoryPath | Out-Null
38
- return $temporaryDirectoryPath
39
- }
40
-
41
- $targetDirectoryPath = Resolve-AbsolutePath -PathValue $TargetDirectory
42
- if (-not (Test-Path -Path $targetDirectoryPath -PathType Container)) {
43
- throw "Target directory does not exist: $targetDirectoryPath"
44
- }
45
-
46
- $temporaryRootDirectoryPath = New-TemporaryDirectory
47
- $bootstrapRepositoryPath = Join-Path -Path $temporaryRootDirectoryPath -ChildPath "Agentic-Senior-Core"
48
-
49
- try {
50
- if (-not (Get-Command git -ErrorAction SilentlyContinue)) {
51
- throw "Git is required but was not found in PATH."
52
- }
53
-
54
- if (-not (Get-Command node -ErrorAction SilentlyContinue)) {
55
- throw "Node.js is required but was not found in PATH."
56
- }
57
-
58
- Write-Host "[Agentic-Senior-Core] Cloning bootstrap repository into temporary directory..."
59
- & git clone --depth 1 $RepositoryUrl $bootstrapRepositoryPath | Out-Null
60
- if ($LASTEXITCODE -ne 0) {
61
- throw "Failed to clone repository from $RepositoryUrl"
62
- }
63
-
64
- $cliScriptPath = Join-Path -Path $bootstrapRepositoryPath -ChildPath "bin\agentic-senior-core.js"
65
- if (-not (Test-Path -Path $cliScriptPath -PathType Leaf)) {
66
- throw "CLI entry file not found: $cliScriptPath"
67
- }
68
-
69
- $cliArguments = @($cliScriptPath, "init", $targetDirectoryPath)
70
-
71
- if ($Profile) {
72
- $cliArguments += @("--profile", $Profile)
73
- }
74
-
75
- if ($Stack) {
76
- $cliArguments += @("--stack", $Stack)
77
- }
78
-
79
- if ($Blueprint) {
80
- $cliArguments += @("--blueprint", $Blueprint)
81
- }
82
-
83
- if ($Ci) {
84
- $cliArguments += @("--ci", $Ci)
85
- }
86
-
87
- if ($Newbie.IsPresent) {
88
- $cliArguments += "--newbie"
89
- }
90
-
91
- if ($AdditionalArguments) {
92
- $cliArguments += $AdditionalArguments
93
- }
94
-
95
- Write-Host "[Agentic-Senior-Core] Running CLI against target directory: $targetDirectoryPath"
96
- & node @cliArguments
97
- if ($LASTEXITCODE -ne 0) {
98
- throw "CLI exited with a non-zero status code: $LASTEXITCODE"
99
- }
100
- }
101
- finally {
102
- if (Test-Path -Path $temporaryRootDirectoryPath) {
103
- Remove-Item -Path $temporaryRootDirectoryPath -Recurse -Force
104
- }
1
+ #!/usr/bin/env pwsh
2
+
3
+ [CmdletBinding()]
4
+ param(
5
+ [string]$TargetDirectory = ".",
6
+ [ValidateSet("beginner", "balanced", "strict")]
7
+ [string]$Profile,
8
+ [string]$Stack,
9
+ [string]$Blueprint,
10
+ [ValidateSet("true", "false")]
11
+ [string]$Ci,
12
+ [switch]$Newbie,
13
+ [string]$RepositoryUrl = "https://github.com/fatidaprilian/Agentic-Senior-Core.git",
14
+ [string[]]$AdditionalArguments
15
+ )
16
+
17
+ $ErrorActionPreference = "Stop"
18
+
19
+ function Resolve-AbsolutePath {
20
+ param([string]$PathValue)
21
+
22
+ if ([string]::IsNullOrWhiteSpace($PathValue)) {
23
+ throw "TargetDirectory cannot be empty."
24
+ }
25
+
26
+ if ([System.IO.Path]::IsPathRooted($PathValue)) {
27
+ return [System.IO.Path]::GetFullPath($PathValue)
28
+ }
29
+
30
+ $combinedPath = Join-Path -Path (Get-Location) -ChildPath $PathValue
31
+ return [System.IO.Path]::GetFullPath($combinedPath)
32
+ }
33
+
34
+ function New-TemporaryDirectory {
35
+ $temporaryDirectoryName = "agentic-senior-core-bootstrap-$(Get-Date -Format 'yyyyMMddHHmmssfff')"
36
+ $temporaryDirectoryPath = Join-Path -Path ([System.IO.Path]::GetTempPath()) -ChildPath $temporaryDirectoryName
37
+ New-Item -ItemType Directory -Path $temporaryDirectoryPath | Out-Null
38
+ return $temporaryDirectoryPath
39
+ }
40
+
41
+ $targetDirectoryPath = Resolve-AbsolutePath -PathValue $TargetDirectory
42
+ if (-not (Test-Path -Path $targetDirectoryPath -PathType Container)) {
43
+ throw "Target directory does not exist: $targetDirectoryPath"
44
+ }
45
+
46
+ $temporaryRootDirectoryPath = New-TemporaryDirectory
47
+ $bootstrapRepositoryPath = Join-Path -Path $temporaryRootDirectoryPath -ChildPath "Agentic-Senior-Core"
48
+
49
+ try {
50
+ if (-not (Get-Command git -ErrorAction SilentlyContinue)) {
51
+ throw "Git is required but was not found in PATH."
52
+ }
53
+
54
+ if (-not (Get-Command node -ErrorAction SilentlyContinue)) {
55
+ throw "Node.js is required but was not found in PATH."
56
+ }
57
+
58
+ Write-Host "[Agentic-Senior-Core] Cloning bootstrap repository into temporary directory..."
59
+ & git clone --depth 1 $RepositoryUrl $bootstrapRepositoryPath | Out-Null
60
+ if ($LASTEXITCODE -ne 0) {
61
+ throw "Failed to clone repository from $RepositoryUrl"
62
+ }
63
+
64
+ $cliScriptPath = Join-Path -Path $bootstrapRepositoryPath -ChildPath "bin\agentic-senior-core.js"
65
+ if (-not (Test-Path -Path $cliScriptPath -PathType Leaf)) {
66
+ throw "CLI entry file not found: $cliScriptPath"
67
+ }
68
+
69
+ $cliArguments = @($cliScriptPath, "init", $targetDirectoryPath)
70
+
71
+ if ($Profile) {
72
+ $cliArguments += @("--profile", $Profile)
73
+ }
74
+
75
+ if ($Stack) {
76
+ $cliArguments += @("--stack", $Stack)
77
+ }
78
+
79
+ if ($Blueprint) {
80
+ $cliArguments += @("--blueprint", $Blueprint)
81
+ }
82
+
83
+ if ($Ci) {
84
+ $cliArguments += @("--ci", $Ci)
85
+ }
86
+
87
+ if ($Newbie.IsPresent) {
88
+ $cliArguments += "--newbie"
89
+ }
90
+
91
+ if ($AdditionalArguments) {
92
+ $cliArguments += $AdditionalArguments
93
+ }
94
+
95
+ Write-Host "[Agentic-Senior-Core] Running CLI against target directory: $targetDirectoryPath"
96
+ & node @cliArguments
97
+ if ($LASTEXITCODE -ne 0) {
98
+ throw "CLI exited with a non-zero status code: $LASTEXITCODE"
99
+ }
100
+ }
101
+ finally {
102
+ if (Test-Path -Path $temporaryRootDirectoryPath) {
103
+ Remove-Item -Path $temporaryRootDirectoryPath -Recurse -Force
104
+ }
105
105
  }