@mstar-harness/engine 3.6.0-alpha.3 → 3.6.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/dist/audit.js +14 -14
- package/dist/engine.js +176 -169
- package/dist/index.d.ts +1 -1
- package/dist/prreview.d.ts +4 -0
- package/dist/sdd.d.ts +7 -0
- package/package.json +1 -1
package/dist/audit.js
CHANGED
|
@@ -1368,19 +1368,19 @@ function planFileRel(outDir, planFile) {
|
|
|
1368
1368
|
return planFile;
|
|
1369
1369
|
}
|
|
1370
1370
|
export {
|
|
1371
|
-
|
|
1372
|
-
supplyChainChecks,
|
|
1373
|
-
scanSecrets,
|
|
1374
|
-
scaffoldAuditPlan,
|
|
1375
|
-
redactSecrets,
|
|
1376
|
-
promoteAuditPlans,
|
|
1377
|
-
WHOLE_MATCH_PATTERNS,
|
|
1378
|
-
VALUE_PATTERNS,
|
|
1379
|
-
NEVER_COMMIT_FILENAMES,
|
|
1380
|
-
CI_IAC_LEAK_SHAPES,
|
|
1381
|
-
AUDIT_RISKS,
|
|
1382
|
-
AUDIT_PRIORITIES,
|
|
1383
|
-
AUDIT_EFFORTS,
|
|
1371
|
+
AUDIT_CATEGORIES,
|
|
1384
1372
|
AUDIT_CONFIDENCES,
|
|
1385
|
-
|
|
1373
|
+
AUDIT_EFFORTS,
|
|
1374
|
+
AUDIT_PRIORITIES,
|
|
1375
|
+
AUDIT_RISKS,
|
|
1376
|
+
CI_IAC_LEAK_SHAPES,
|
|
1377
|
+
NEVER_COMMIT_FILENAMES,
|
|
1378
|
+
VALUE_PATTERNS,
|
|
1379
|
+
WHOLE_MATCH_PATTERNS,
|
|
1380
|
+
promoteAuditPlans,
|
|
1381
|
+
redactSecrets,
|
|
1382
|
+
scaffoldAuditPlan,
|
|
1383
|
+
scanSecrets,
|
|
1384
|
+
supplyChainChecks,
|
|
1385
|
+
validateAuditStatusBlocks
|
|
1386
1386
|
};
|
package/dist/engine.js
CHANGED
|
@@ -5905,6 +5905,9 @@ function prReviewSeatPrompt(opts) {
|
|
|
5905
5905
|
if (!isAbsolute9(worktreePath)) {
|
|
5906
5906
|
throw new TypeError(`prReviewSeatPrompt: worktreePath must be an absolute path - got ${JSON.stringify(opts.worktreePath)}`);
|
|
5907
5907
|
}
|
|
5908
|
+
if (opts.diffFile !== undefined && opts.diffFile !== "" && !isAbsolute9(opts.diffFile)) {
|
|
5909
|
+
throw new TypeError(`prReviewSeatPrompt: diffFile must be an absolute path - got ${JSON.stringify(opts.diffFile)}`);
|
|
5910
|
+
}
|
|
5908
5911
|
const slug = `${domain}-${seat}`;
|
|
5909
5912
|
const lines = [];
|
|
5910
5913
|
lines.push(`# PR review audit seat — Stage ${opts.stage}${opts.securitySeat === true ? " (security)" : ""}`);
|
|
@@ -5930,6 +5933,9 @@ function prReviewSeatPrompt(opts) {
|
|
|
5930
5933
|
const sections = opts.stage === 1 ? tier === "quick" ? "Scoping, Evidence rules" : "Review pipeline, Worktree isolation, Scoping, Evidence rules" : "Merge class, Attack and vet, Evidence rules, Sizing & change shape";
|
|
5931
5934
|
lines.push(`1. \`${prReviewRef}\` — read at least these sections: ${sections}.`);
|
|
5932
5935
|
lines.push(`2. The review worktree: \`${worktreePath}\` — your ONLY working directory this session; read-only (no edits, no fixes, no stash, no commits, no posts).`);
|
|
5936
|
+
if (opts.diffFile) {
|
|
5937
|
+
lines.push(`- Read the pinned diff snapshot FIRST: \`${opts.diffFile}\` — it is the review's diff basis (already computed at setup); read it before opening files.`);
|
|
5938
|
+
}
|
|
5933
5939
|
if (opts.stage === 2) {
|
|
5934
5940
|
lines.push(`3. \`${join15(skillRoot, "references", "finding-format.md")}\` — the template every finding follows.`);
|
|
5935
5941
|
if (opts.securitySeat === true) {
|
|
@@ -6102,174 +6108,175 @@ function resolvePrReviewTier(input) {
|
|
|
6102
6108
|
return "default";
|
|
6103
6109
|
}
|
|
6104
6110
|
export {
|
|
6105
|
-
|
|
6106
|
-
writeJson,
|
|
6107
|
-
withStatusWriteLock,
|
|
6108
|
-
verifyPlanExecutionLease,
|
|
6109
|
-
validateWorkflowSnapshot,
|
|
6110
|
-
validateWorkflowEntry,
|
|
6111
|
-
validateStatusV2,
|
|
6112
|
-
validateStatus,
|
|
6113
|
-
validateSchemaYaml,
|
|
6114
|
-
validateRoleMapping,
|
|
6115
|
-
validateRoadmap,
|
|
6116
|
-
validateResidual,
|
|
6117
|
-
validateProjectRegister,
|
|
6118
|
-
validatePrReviewReport,
|
|
6119
|
-
validatePlanRow,
|
|
6120
|
-
validateMstarReviewV1,
|
|
6121
|
-
validateIntegrationMergeLease,
|
|
6122
|
-
validateGitignore,
|
|
6123
|
-
validateFindingDoc,
|
|
6124
|
-
validateExecutionLease,
|
|
6125
|
-
validateDesignTokenFrontmatter,
|
|
6126
|
-
validateCompassFrontmatter,
|
|
6127
|
-
validateAuditStatusBlocks,
|
|
6128
|
-
validateAssignmentFields,
|
|
6129
|
-
unregisterWorkflow,
|
|
6130
|
-
techDebtRollup,
|
|
6131
|
-
taskReportExists,
|
|
6132
|
-
taskBrief,
|
|
6133
|
-
synthesizeReview,
|
|
6134
|
-
supplyChainChecks,
|
|
6135
|
-
stripFrontmatter,
|
|
6136
|
-
singleReviewSnapshot,
|
|
6137
|
-
setArtifactStore,
|
|
6138
|
-
sddWorkspace,
|
|
6139
|
-
scopeGuard,
|
|
6140
|
-
scanSecrets,
|
|
6141
|
-
scaffoldHarness,
|
|
6142
|
-
scaffoldAuditPlan,
|
|
6143
|
-
sameHolderResume,
|
|
6144
|
-
reviewPackage,
|
|
6145
|
-
resolveWorkflowDir,
|
|
6146
|
-
resolveSpecsDir,
|
|
6147
|
-
resolveSkillRoot,
|
|
6148
|
-
resolveSddDir,
|
|
6149
|
-
resolveScaffoldDirs,
|
|
6150
|
-
resolveRepoEnforcement,
|
|
6151
|
-
resolveProjectRoot,
|
|
6152
|
-
resolveProjectDir,
|
|
6153
|
-
resolvePrReviewTier,
|
|
6154
|
-
resolvePlanDir,
|
|
6155
|
-
resolveMstarcEnforcement,
|
|
6156
|
-
resolveKnowledgeDir,
|
|
6157
|
-
resolveIterationDir,
|
|
6158
|
-
resolveHarnessDir,
|
|
6159
|
-
resolveCompassEnforcement,
|
|
6160
|
-
resolveAssetPath,
|
|
6161
|
-
resolveArtifactPath,
|
|
6162
|
-
releaseLease,
|
|
6163
|
-
registerWorkflow,
|
|
6164
|
-
referenceExists,
|
|
6165
|
-
readProgressLedger,
|
|
6166
|
-
readJson,
|
|
6167
|
-
readHarnessVersion,
|
|
6168
|
-
pushCadenceProbe,
|
|
6169
|
-
promoteAuditPlans,
|
|
6170
|
-
preflightChangeset,
|
|
6171
|
-
prReviewSizing,
|
|
6172
|
-
prReviewSeatPrompt,
|
|
6173
|
-
prReviewReportPath,
|
|
6174
|
-
planReviewPost,
|
|
6175
|
-
planQualityBar,
|
|
6176
|
-
planExecutionLeaseLocations,
|
|
6177
|
-
pickReviewBranchName,
|
|
6178
|
-
parseMstarc,
|
|
6179
|
-
parseEnforcementFlag,
|
|
6180
|
-
parseDesignFrontmatter,
|
|
6181
|
-
parseCompassFrontmatterText,
|
|
6182
|
-
parseCompassFrontmatter,
|
|
6183
|
-
parseBranchPolicyDirectOnBranch,
|
|
6184
|
-
parseAssignmentFields,
|
|
6185
|
-
parseAssignmentBranchForms,
|
|
6186
|
-
normalizeSeverity,
|
|
6187
|
-
migrateHarnessTree,
|
|
6188
|
-
loadStoreModule,
|
|
6189
|
-
listProjectReferenceFiles,
|
|
6190
|
-
lintStrategySections,
|
|
6191
|
-
lintSkillFrontmatter,
|
|
6192
|
-
lintLoadOrder,
|
|
6193
|
-
lintSkillFrontmatter as lintFrontmatter,
|
|
6194
|
-
lintFiveQuestion,
|
|
6195
|
-
l2PreDispatchCheck,
|
|
6196
|
-
l1PreDispatchCheck,
|
|
6197
|
-
isReadOnlyAssignmentRole,
|
|
6198
|
-
implementerSessionStickyRules,
|
|
6199
|
-
getArtifactStore,
|
|
6200
|
-
findingsCleanupGate,
|
|
6201
|
-
findTemporaryMarkers,
|
|
6202
|
-
findSimplifyMarkers,
|
|
6203
|
-
findMstarc,
|
|
6204
|
-
findEphemeralCitations,
|
|
6205
|
-
executionModeToN,
|
|
6206
|
-
evaluatePhaseGate,
|
|
6207
|
-
emitGitignoreSnippet,
|
|
6208
|
-
detectHost,
|
|
6209
|
-
detectHarnessKind,
|
|
6210
|
-
createFsStore,
|
|
6211
|
-
computePrTally,
|
|
6212
|
-
compoundRefreshScope,
|
|
6213
|
-
composeDispatchGate,
|
|
6214
|
-
completenessLevel,
|
|
6215
|
-
closeProjectRegisterEntry,
|
|
6216
|
-
claimLease,
|
|
6217
|
-
canSteal,
|
|
6218
|
-
assignmentHeaderRegion,
|
|
6219
|
-
assertTriIdentity,
|
|
6220
|
-
assertSddTddTriple,
|
|
6221
|
-
assertQcAlignment,
|
|
6222
|
-
assertPlanWritingPath,
|
|
6223
|
-
assertLightDarkParity,
|
|
6224
|
-
assertIndexRows,
|
|
6225
|
-
assertIndexRowObligations,
|
|
6226
|
-
assertFsStorePath,
|
|
6227
|
-
assertDefaultBranchProtected,
|
|
6228
|
-
assertControlVsFeaturePath,
|
|
6229
|
-
assertBranchAlignment,
|
|
6230
|
-
assertBaseSha,
|
|
6231
|
-
applyMigratePlan,
|
|
6232
|
-
applyEnforcement,
|
|
6233
|
-
appendProjectRegisterEntries,
|
|
6234
|
-
antiRecursionPrecheck,
|
|
6235
|
-
_DEFAULT_PROJECT,
|
|
6236
|
-
WORKFLOW_TERMINAL_STATUSES,
|
|
6237
|
-
WORKFLOW_SNAPSHOT_FILE,
|
|
6238
|
-
WORKFLOW_LIFECYCLE_TYPES,
|
|
6239
|
-
WORKFLOW_LIFECYCLE_STATUSES,
|
|
6240
|
-
SddScriptError,
|
|
6241
|
-
SHARED_FAMILIES,
|
|
6242
|
-
SEVERITY_ORDER,
|
|
6243
|
-
RUNTIME_HEADING_ALIASES,
|
|
6244
|
-
ROLE_MAPPING,
|
|
6245
|
-
ROADMAP_STATUSES,
|
|
6246
|
-
REVIEW_EMOJI,
|
|
6247
|
-
QC_REVIEWER_PARAMS,
|
|
6248
|
-
PR_VERDICTS,
|
|
6249
|
-
PROJECT_ROADMAP_FILE,
|
|
6250
|
-
PROJECT_REGISTER_FILE,
|
|
6251
|
-
PROJECT_REFERENCES_DIR,
|
|
6252
|
-
NOTES_LEDGER_FILE,
|
|
6253
|
-
MSTARC_WORKFLOW_DIR_KEY,
|
|
6254
|
-
MSTARC_SECTION,
|
|
6255
|
-
MSTARC_PROJECT_DIR_KEY,
|
|
6256
|
-
MSTARC_HARNESS_DIR_KEY,
|
|
6257
|
-
MSTARC_FILE,
|
|
6258
|
-
MIGRATE_STATUS_FILE,
|
|
6259
|
-
MERGE_CLASSES,
|
|
6260
|
-
KNOWLEDGE_SEVERITIES,
|
|
6261
|
-
KNOWLEDGE_RESOLUTION_TYPES,
|
|
6262
|
-
KNOWLEDGE_REQUIRED_FIELDS,
|
|
6263
|
-
KNOWLEDGE_PROBLEM_TYPES,
|
|
6264
|
-
KNOWLEDGE_KNOWLEDGE_PROBLEM_TYPES,
|
|
6265
|
-
KNOWLEDGE_CATEGORY_MAP,
|
|
6266
|
-
KNOWLEDGE_BUG_PROBLEM_TYPES,
|
|
6267
|
-
FIVE_QUESTION_SECTIONS,
|
|
6268
|
-
DEV_TRACK_PARAMS,
|
|
6269
|
-
AUDIT_RISKS,
|
|
6270
|
-
AUDIT_PRIORITIES,
|
|
6271
|
-
AUDIT_EFFORTS,
|
|
6272
|
-
AUDIT_CONFIDENCES,
|
|
6111
|
+
ARCHIVED_STATUS_V1_FILE,
|
|
6273
6112
|
AUDIT_CATEGORIES,
|
|
6274
|
-
|
|
6113
|
+
AUDIT_CONFIDENCES,
|
|
6114
|
+
AUDIT_EFFORTS,
|
|
6115
|
+
AUDIT_PRIORITIES,
|
|
6116
|
+
AUDIT_RISKS,
|
|
6117
|
+
DEV_TRACK_PARAMS,
|
|
6118
|
+
FIVE_QUESTION_SECTIONS,
|
|
6119
|
+
GIT_CAPTURE_MAX_BYTES,
|
|
6120
|
+
KNOWLEDGE_BUG_PROBLEM_TYPES,
|
|
6121
|
+
KNOWLEDGE_CATEGORY_MAP,
|
|
6122
|
+
KNOWLEDGE_KNOWLEDGE_PROBLEM_TYPES,
|
|
6123
|
+
KNOWLEDGE_PROBLEM_TYPES,
|
|
6124
|
+
KNOWLEDGE_REQUIRED_FIELDS,
|
|
6125
|
+
KNOWLEDGE_RESOLUTION_TYPES,
|
|
6126
|
+
KNOWLEDGE_SEVERITIES,
|
|
6127
|
+
MERGE_CLASSES,
|
|
6128
|
+
MIGRATE_STATUS_FILE,
|
|
6129
|
+
MSTARC_FILE,
|
|
6130
|
+
MSTARC_HARNESS_DIR_KEY,
|
|
6131
|
+
MSTARC_PROJECT_DIR_KEY,
|
|
6132
|
+
MSTARC_SECTION,
|
|
6133
|
+
MSTARC_WORKFLOW_DIR_KEY,
|
|
6134
|
+
NOTES_LEDGER_FILE,
|
|
6135
|
+
PROJECT_REFERENCES_DIR,
|
|
6136
|
+
PROJECT_REGISTER_FILE,
|
|
6137
|
+
PROJECT_ROADMAP_FILE,
|
|
6138
|
+
PR_VERDICTS,
|
|
6139
|
+
QC_REVIEWER_PARAMS,
|
|
6140
|
+
REVIEW_EMOJI,
|
|
6141
|
+
ROADMAP_STATUSES,
|
|
6142
|
+
ROLE_MAPPING,
|
|
6143
|
+
RUNTIME_HEADING_ALIASES,
|
|
6144
|
+
SEVERITY_ORDER,
|
|
6145
|
+
SHARED_FAMILIES,
|
|
6146
|
+
SddScriptError,
|
|
6147
|
+
WORKFLOW_LIFECYCLE_STATUSES,
|
|
6148
|
+
WORKFLOW_LIFECYCLE_TYPES,
|
|
6149
|
+
WORKFLOW_SNAPSHOT_FILE,
|
|
6150
|
+
WORKFLOW_TERMINAL_STATUSES,
|
|
6151
|
+
_DEFAULT_PROJECT,
|
|
6152
|
+
antiRecursionPrecheck,
|
|
6153
|
+
appendProjectRegisterEntries,
|
|
6154
|
+
applyEnforcement,
|
|
6155
|
+
applyMigratePlan,
|
|
6156
|
+
assertBaseSha,
|
|
6157
|
+
assertBranchAlignment,
|
|
6158
|
+
assertControlVsFeaturePath,
|
|
6159
|
+
assertDefaultBranchProtected,
|
|
6160
|
+
assertFsStorePath,
|
|
6161
|
+
assertIndexRowObligations,
|
|
6162
|
+
assertIndexRows,
|
|
6163
|
+
assertLightDarkParity,
|
|
6164
|
+
assertPlanWritingPath,
|
|
6165
|
+
assertQcAlignment,
|
|
6166
|
+
assertSddTddTriple,
|
|
6167
|
+
assertTriIdentity,
|
|
6168
|
+
assignmentHeaderRegion,
|
|
6169
|
+
canSteal,
|
|
6170
|
+
claimLease,
|
|
6171
|
+
closeProjectRegisterEntry,
|
|
6172
|
+
completenessLevel,
|
|
6173
|
+
composeDispatchGate,
|
|
6174
|
+
compoundRefreshScope,
|
|
6175
|
+
computePrTally,
|
|
6176
|
+
createFsStore,
|
|
6177
|
+
detectHarnessKind,
|
|
6178
|
+
detectHost,
|
|
6179
|
+
emitGitignoreSnippet,
|
|
6180
|
+
evaluatePhaseGate,
|
|
6181
|
+
executionModeToN,
|
|
6182
|
+
findEphemeralCitations,
|
|
6183
|
+
findMstarc,
|
|
6184
|
+
findSimplifyMarkers,
|
|
6185
|
+
findTemporaryMarkers,
|
|
6186
|
+
findingsCleanupGate,
|
|
6187
|
+
getArtifactStore,
|
|
6188
|
+
implementerSessionStickyRules,
|
|
6189
|
+
isReadOnlyAssignmentRole,
|
|
6190
|
+
l1PreDispatchCheck,
|
|
6191
|
+
l2PreDispatchCheck,
|
|
6192
|
+
lintFiveQuestion,
|
|
6193
|
+
lintSkillFrontmatter as lintFrontmatter,
|
|
6194
|
+
lintLoadOrder,
|
|
6195
|
+
lintSkillFrontmatter,
|
|
6196
|
+
lintStrategySections,
|
|
6197
|
+
listProjectReferenceFiles,
|
|
6198
|
+
loadStoreModule,
|
|
6199
|
+
migrateHarnessTree,
|
|
6200
|
+
normalizeSeverity,
|
|
6201
|
+
parseAssignmentBranchForms,
|
|
6202
|
+
parseAssignmentFields,
|
|
6203
|
+
parseBranchPolicyDirectOnBranch,
|
|
6204
|
+
parseCompassFrontmatter,
|
|
6205
|
+
parseCompassFrontmatterText,
|
|
6206
|
+
parseDesignFrontmatter,
|
|
6207
|
+
parseEnforcementFlag,
|
|
6208
|
+
parseMstarc,
|
|
6209
|
+
pickReviewBranchName,
|
|
6210
|
+
planExecutionLeaseLocations,
|
|
6211
|
+
planQualityBar,
|
|
6212
|
+
planReviewPost,
|
|
6213
|
+
prReviewReportPath,
|
|
6214
|
+
prReviewSeatPrompt,
|
|
6215
|
+
prReviewSizing,
|
|
6216
|
+
preflightChangeset,
|
|
6217
|
+
promoteAuditPlans,
|
|
6218
|
+
pushCadenceProbe,
|
|
6219
|
+
readHarnessVersion,
|
|
6220
|
+
readJson,
|
|
6221
|
+
readProgressLedger,
|
|
6222
|
+
referenceExists,
|
|
6223
|
+
registerWorkflow,
|
|
6224
|
+
releaseLease,
|
|
6225
|
+
resolveArtifactPath,
|
|
6226
|
+
resolveAssetPath,
|
|
6227
|
+
resolveCompassEnforcement,
|
|
6228
|
+
resolveHarnessDir,
|
|
6229
|
+
resolveIterationDir,
|
|
6230
|
+
resolveKnowledgeDir,
|
|
6231
|
+
resolveMstarcEnforcement,
|
|
6232
|
+
resolvePlanDir,
|
|
6233
|
+
resolvePrReviewTier,
|
|
6234
|
+
resolveProjectDir,
|
|
6235
|
+
resolveProjectRoot,
|
|
6236
|
+
resolveRepoEnforcement,
|
|
6237
|
+
resolveScaffoldDirs,
|
|
6238
|
+
resolveSddDir,
|
|
6239
|
+
resolveSkillRoot,
|
|
6240
|
+
resolveSpecsDir,
|
|
6241
|
+
resolveWorkflowDir,
|
|
6242
|
+
reviewPackage,
|
|
6243
|
+
sameHolderResume,
|
|
6244
|
+
scaffoldAuditPlan,
|
|
6245
|
+
scaffoldHarness,
|
|
6246
|
+
scanSecrets,
|
|
6247
|
+
scopeGuard,
|
|
6248
|
+
sddWorkspace,
|
|
6249
|
+
setArtifactStore,
|
|
6250
|
+
singleReviewSnapshot,
|
|
6251
|
+
stripFrontmatter,
|
|
6252
|
+
supplyChainChecks,
|
|
6253
|
+
synthesizeReview,
|
|
6254
|
+
taskBrief,
|
|
6255
|
+
taskReportExists,
|
|
6256
|
+
techDebtRollup,
|
|
6257
|
+
unregisterWorkflow,
|
|
6258
|
+
validateAssignmentFields,
|
|
6259
|
+
validateAuditStatusBlocks,
|
|
6260
|
+
validateCompassFrontmatter,
|
|
6261
|
+
validateDesignTokenFrontmatter,
|
|
6262
|
+
validateExecutionLease,
|
|
6263
|
+
validateFindingDoc,
|
|
6264
|
+
validateGitignore,
|
|
6265
|
+
validateIntegrationMergeLease,
|
|
6266
|
+
validateMstarReviewV1,
|
|
6267
|
+
validatePlanRow,
|
|
6268
|
+
validatePrReviewReport,
|
|
6269
|
+
validateProjectRegister,
|
|
6270
|
+
validateResidual,
|
|
6271
|
+
validateRoadmap,
|
|
6272
|
+
validateRoleMapping,
|
|
6273
|
+
validateSchemaYaml,
|
|
6274
|
+
validateStatus,
|
|
6275
|
+
validateStatusV2,
|
|
6276
|
+
validateWorkflowEntry,
|
|
6277
|
+
validateWorkflowSnapshot,
|
|
6278
|
+
verifyPlanExecutionLease,
|
|
6279
|
+
withStatusWriteLock,
|
|
6280
|
+
writeJson,
|
|
6281
|
+
writeWorkflowSnapshot
|
|
6275
6282
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export { antiRecursionPrecheck, assertDefaultBranchProtected, assertTriIdentity,
|
|
|
40
40
|
export type { BranchProbeOptions, L1PreDispatchInput, L2PreDispatchInput, QcAlignmentAssignment, QcSnapshotAssignment, WorktreeTrack, } from "./worktree.js";
|
|
41
41
|
export { assertBranchAlignment, assertControlVsFeaturePath, assertQcAlignment, l1PreDispatchCheck, l2PreDispatchCheck, singleReviewSnapshot, } from "./worktree.js";
|
|
42
42
|
export type { ImplementerSessionLedger, ReviewPackageOptions, SddWorkspaceOptions, StickyRulesInput, StickyRulesResult, TaskBriefOptions, } from "./sdd.js";
|
|
43
|
-
export { SddScriptError, assertBaseSha, implementerSessionStickyRules, readProgressLedger, reviewPackage, sddWorkspace, taskBrief, taskReportExists, } from "./sdd.js";
|
|
43
|
+
export { GIT_CAPTURE_MAX_BYTES, SddScriptError, assertBaseSha, implementerSessionStickyRules, readProgressLedger, reviewPackage, sddWorkspace, taskBrief, taskReportExists, } from "./sdd.js";
|
|
44
44
|
export type { CompassDoc, PhaseGateOptions, PhaseGateResult, PhaseTransition, } from "./iteration.js";
|
|
45
45
|
export { assertIndexRowObligations, evaluatePhaseGate, parseCompassFrontmatter, parseCompassFrontmatterText, pushCadenceProbe, validateCompassFrontmatter, } from "./iteration.js";
|
|
46
46
|
export type { AppendProjectRegisterEntriesOpts, CloseProjectRegisterEntryOpts, FindingsCleanupMode, ProjectRegisterDoc, ProjectRegisterEntry, RoadmapFrontmatter, RoadmapStatus, RoadmapValidation, TechDebtCheck, TechDebtRollup, TechDebtSummary, } from "./project.js";
|
package/dist/prreview.d.ts
CHANGED
|
@@ -314,6 +314,10 @@ export type PrReviewSeatPromptOptions = {
|
|
|
314
314
|
decidedTradeoffs?: readonly string[];
|
|
315
315
|
securitySeat?: boolean;
|
|
316
316
|
tier?: PrReviewTier;
|
|
317
|
+
/** Absolute path to the pinned diff snapshot written by `worktree-setup`
|
|
318
|
+
* (review artifact beside the sidecar). Non-empty → the prompt gains a
|
|
319
|
+
* read-first ingredient line pointing at it. */
|
|
320
|
+
diffFile?: string;
|
|
317
321
|
};
|
|
318
322
|
/**
|
|
319
323
|
* Generate the read-only audit-seat prompt for one Stage 1 collect or
|
package/dist/sdd.d.ts
CHANGED
|
@@ -27,6 +27,13 @@ export type ReviewPackageOptions = {
|
|
|
27
27
|
sddDir?: string;
|
|
28
28
|
cwd?: string;
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* Git capture ceiling for `gitOut` / `reviewPackage` (qc3 W-2): Node's
|
|
32
|
+
* default 1 MiB `maxBuffer` ENOBUFS'd on large review ranges. 64 MiB keeps
|
|
33
|
+
* realistic iteration-close ranges working while bounding memory; captures
|
|
34
|
+
* beyond that fail as SddScriptError via the CLI.
|
|
35
|
+
*/
|
|
36
|
+
export declare const GIT_CAPTURE_MAX_BYTES: number;
|
|
30
37
|
/**
|
|
31
38
|
* Resolve and ensure `{SDD_DIR}` = `{HARNESS_DIR}/sdd/<plan-id>/` (prints
|
|
32
39
|
* the absolute path). Resolution order:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mstar-harness/engine",
|
|
3
|
-
"version": "3.6.0
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Morning Star Harness Workflow Engine — deterministic workflow enforcement library (path, status, lease, dispatch, sdd, iteration, lint gates).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|