fullcourtdefense-cli 1.17.0 → 1.17.1

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.
@@ -658,10 +658,13 @@ async function runDaemon(args, config) {
658
658
  const watched = refreshWatchTargets();
659
659
  log(`Watching ${watched} config file(s) across ${watchers.size} director${watchers.size === 1 ? 'y' : 'ies'}.`);
660
660
  await pollBundle();
661
- await heartbeat();
662
661
  // One protective pass at startup so a machine that drifted while the daemon
663
- // was down converges immediately.
662
+ // was down converges immediately. Runs BEFORE the first heartbeat: upgrades
663
+ // legitimately leave stale hook/wrap paths behind, and heartbeating first
664
+ // would report a false "damaged" state (and fire admin integrity alerts)
665
+ // for a condition the very next line repairs.
664
666
  await reprotect(['startup pass']);
667
+ await heartbeat();
665
668
  // Fresh machines have never uploaded an inventory (MSI/onboard defers the
666
669
  // initial discovery to keep setup fast), so the dashboard shows "Never" for
667
670
  // discovery + posture until the daily scheduled job fires — up to 24h later.
package/dist/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "1.17.0"
2
+ "version": "1.17.1"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullcourtdefense-cli",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "Full Court Defense CLI — security scanning for AI agents from your terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {