pumuki 6.3.174 → 6.3.175

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/VERSION CHANGED
@@ -1 +1 @@
1
- v6.3.174
1
+ v6.3.175
@@ -117,6 +117,9 @@ const tryApplyPolicyAutofix = (params: {
117
117
  }
118
118
 
119
119
  const preWriteStage = params.report.stages.PRE_WRITE;
120
+ const preCommitStage = params.report.stages.PRE_COMMIT;
121
+ const prePushStage = params.report.stages.PRE_PUSH;
122
+ const ciStage = params.report.stages.CI;
120
123
  const signatures = {
121
124
  PRE_WRITE: createPolicyAsCodeSignature({
122
125
  stage: 'PRE_COMMIT',
@@ -125,9 +128,27 @@ const tryApplyPolicyAutofix = (params: {
125
128
  hash: preWriteStage.hash,
126
129
  version: '1.0',
127
130
  }),
128
- PRE_COMMIT: params.report.stages.PRE_COMMIT.signature,
129
- PRE_PUSH: params.report.stages.PRE_PUSH.signature,
130
- CI: params.report.stages.CI.signature,
131
+ PRE_COMMIT: createPolicyAsCodeSignature({
132
+ stage: 'PRE_COMMIT',
133
+ source: toContractSource(preCommitStage.source),
134
+ bundle: preCommitStage.bundle,
135
+ hash: preCommitStage.hash,
136
+ version: '1.0',
137
+ }),
138
+ PRE_PUSH: createPolicyAsCodeSignature({
139
+ stage: 'PRE_PUSH',
140
+ source: toContractSource(prePushStage.source),
141
+ bundle: prePushStage.bundle,
142
+ hash: prePushStage.hash,
143
+ version: '1.0',
144
+ }),
145
+ CI: createPolicyAsCodeSignature({
146
+ stage: 'CI',
147
+ source: toContractSource(ciStage.source),
148
+ bundle: ciStage.bundle,
149
+ hash: ciStage.hash,
150
+ version: '1.0',
151
+ }),
131
152
  };
132
153
  if (!signatures.PRE_COMMIT || !signatures.PRE_PUSH || !signatures.CI) {
133
154
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki",
3
- "version": "6.3.174",
3
+ "version": "6.3.175",
4
4
  "description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
5
5
  "main": "index.js",
6
6
  "bin": {