@synkro-sh/cli 1.6.1 → 1.6.2

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/bootstrap.js CHANGED
@@ -2011,6 +2011,7 @@ async function main() {
2011
2011
  'Last user prompt: ' + (lastPrompt || 'none'),
2012
2012
  'Org rules: ' + JSON.stringify(config.rules),
2013
2013
  'IMPORTANT: If a rule is violated, ALWAYS return ok=false with the rule_id and reason, regardless of the rule mode. Do NOT pass a command just because the rule mode is "fix". The enforcement layer handles ask vs fix \u2014 your job is only to detect violations.',
2014
+ 'When passing (ok=true), for EVERY rule: state whether it is relevant to this edit, and if relevant, why it passes. Format: "R001 (not relevant: no deployment). R003 relevant: no hardcoded secrets in file." Cover ALL rules \u2014 do not skip any. Be terse but specific per rule.',
2014
2015
  ].join('\\n');
2015
2016
 
2016
2017
  let gradeResp: string;
@@ -3087,7 +3088,7 @@ async function main() {
3087
3088
  'Last user prompt: ' + (lastPrompt || 'none'),
3088
3089
  'Org rules: ' + JSON.stringify(config.rules),
3089
3090
  'IMPORTANT: If a rule is violated, ALWAYS return ok=false with the rule_id and reason, regardless of the rule mode. Do NOT pass a command just because the rule mode is "fix". The enforcement layer handles ask vs fix — your job is only to detect violations.',
3090
- 'When passing (ok=true), cite which rules you checked and why they passed (e.g. "R006 satisfied: typecheck found in session history"). Be specific, not generic.',
3091
+ 'When passing (ok=true), for EVERY rule: state whether it is relevant to this command, and if relevant, why it passes. Format: "R001 (not relevant: no deployment). R003 relevant: no secrets in grep args. R005 relevant: in-repo path only." Cover ALL rules — do not skip any. Be terse but specific per rule.',
3091
3092
  'Rules with preconditions (e.g. "run X before Y") are CONSUMED after the protected action completes. Use the session history timestamps to determine ordering: a precondition satisfied before the last occurrence of the protected action does NOT satisfy the next occurrence. Each new protected action needs its precondition re-satisfied.',
3092
3093
  ].filter(Boolean).join('\\n');
3093
3094
 
@@ -6000,7 +6001,7 @@ function writeConfigEnv(opts) {
6000
6001
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
6001
6002
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
6002
6003
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
6003
- `SYNKRO_VERSION=${shellQuoteSingle("1.6.1")}`
6004
+ `SYNKRO_VERSION=${shellQuoteSingle("1.6.2")}`
6004
6005
  ];
6005
6006
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
6006
6007
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
@@ -7452,7 +7453,7 @@ var args = process.argv.slice(2);
7452
7453
  var cmd = args[0] || "";
7453
7454
  var subArgs = args.slice(1);
7454
7455
  function printVersion() {
7455
- console.log("1.6.1");
7456
+ console.log("1.6.2");
7456
7457
  }
7457
7458
  function printHelp() {
7458
7459
  console.log(`Synkro CLI \u2014 runtime safety for AI coding agents