@metasession.co/devaudit-sdlc 0.3.36 → 0.3.37
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/package.json +1 -1
- package/src/bin/devaudit-sdlc.js +13 -0
package/package.json
CHANGED
package/src/bin/devaudit-sdlc.js
CHANGED
|
@@ -181,6 +181,19 @@ function appendPhaseRecord(phase) {
|
|
|
181
181
|
console.log(`📋 Phase history: ${phaseHistory.map(r => r.currentPhase).join(' → ')}`);
|
|
182
182
|
console.log(`👤 Initialized by: ${context.initializedBy}${reqId ? ` (REQ-${reqId})` : ''}`);
|
|
183
183
|
|
|
184
|
+
// devaudit#775 — the sentinel file above is gitignored and local-only,
|
|
185
|
+
// so it never reaches a CI checkout: evidence uploaded by a CI workflow
|
|
186
|
+
// run can never prove sdlc-implementer provenance, and reads as a
|
|
187
|
+
// false "MANUAL BYPASS ATTEMPT" on the portal. Print the same phase
|
|
188
|
+
// history as a git trailer the skill can copy into every commit it
|
|
189
|
+
// makes this session — `upload-evidence.sh` looks for this trailer in
|
|
190
|
+
// git history when the local sentinel file is absent (i.e. running in
|
|
191
|
+
// CI), and forwards its value as sentinelContent exactly like the
|
|
192
|
+
// local-file path, so CI-uploaded evidence gets the same verification
|
|
193
|
+
// the local path already gets.
|
|
194
|
+
console.log(`\n--- GIT COMMIT TRAILER (copy verbatim into every commit this session) ---`);
|
|
195
|
+
console.log(`Sdlc-Implementer-Sentinel: ${JSON.stringify(phaseHistory)}`);
|
|
196
|
+
|
|
184
197
|
if (fs.existsSync(blueprintPath)) {
|
|
185
198
|
console.log(`\n--- PHASE EXECUTION MANIFEST ---`);
|
|
186
199
|
const content = fs.readFileSync(blueprintPath, 'utf8');
|