@imdeadpool/guardex 5.0.16 → 5.0.17

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/README.md CHANGED
@@ -372,9 +372,15 @@ npm pack --dry-run
372
372
 
373
373
  ## Release notes
374
374
 
375
+ ### v5.0.17
376
+
377
+ - Bumped package version from `5.0.16` to `5.0.17` for the next npm publish.
378
+
375
379
  ### v5.0.16
376
380
 
377
381
  - Fixed `gx doctor` runtime crash (`parseDoctorArgs is not defined`) by restoring the doctor argument parser for `--target` and `--strict`.
382
+ - Fixed `gx doctor` command routing so the repair-first doctor flow remains the active command path (duplicate legacy doctor definition no longer overrides it).
383
+ - Updated worktree change detection to run `git status --porcelain --untracked-files=normal --` for consistent normal untracked-file behavior.
378
384
  - Added regression coverage that asserts the doctor parser function exists in `bin/multiagent-safety.js`.
379
385
  - Bumped package version from `5.0.15` to `5.0.16`.
380
386
 
@@ -2117,7 +2117,14 @@ function mapWorktreePathsByBranch(repoRoot) {
2117
2117
  }
2118
2118
 
2119
2119
  function hasSignificantWorkingTreeChanges(worktreePath) {
2120
- const result = run('git', ['-C', worktreePath, 'status', '--porcelain']);
2120
+ const result = run('git', [
2121
+ '-C',
2122
+ worktreePath,
2123
+ 'status',
2124
+ '--porcelain',
2125
+ '--untracked-files=normal',
2126
+ '--',
2127
+ ]);
2121
2128
  if (result.status !== 0) {
2122
2129
  return true;
2123
2130
  }
@@ -4659,7 +4666,7 @@ function initWorkspace(rawArgs) {
4659
4666
  }
4660
4667
  }
4661
4668
 
4662
- function doctor(rawArgs) {
4669
+ function doctorAudit(rawArgs) {
4663
4670
  const options = parseDoctorArgs(rawArgs);
4664
4671
  const repoRoot = resolveRepoRoot(options.target);
4665
4672
  const failures = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imdeadpool/guardex",
3
- "version": "5.0.16",
3
+ "version": "5.0.17",
4
4
  "description": "GuardeX: the Guardian T-Rex for your repo, with hardened multi-agent git guardrails.",
5
5
  "license": "MIT",
6
6
  "preferGlobal": true,