@brainervirus/workit-pi 8.28.1 → 8.29.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.
Files changed (2) hide show
  1. package/dist/workit.js +14 -1
  2. package/package.json +1 -1
package/dist/workit.js CHANGED
@@ -13141,9 +13141,22 @@ function detectedChecks(root) {
13141
13141
  return checks;
13142
13142
  }
13143
13143
  var GATES = ["testing", "verification"];
13144
+ function configFileFor(root) {
13145
+ const own = checksConfigFile(root);
13146
+ if (fs11.existsSync(own))
13147
+ return own;
13148
+ const common = git3(root, ["rev-parse", "--path-format=absolute", "--git-common-dir"]);
13149
+ if (!common || path13.basename(common) !== ".git")
13150
+ return own;
13151
+ const main = path13.dirname(common);
13152
+ if (path13.resolve(main) === path13.resolve(root))
13153
+ return own;
13154
+ const shared = checksConfigFile(main);
13155
+ return fs11.existsSync(shared) ? shared : own;
13156
+ }
13144
13157
  function loadCheckConfig(cwd) {
13145
13158
  const root = checkRoot(cwd);
13146
- const file = checksConfigFile(root);
13159
+ const file = configFileFor(root);
13147
13160
  const legacy = path13.basename(file) === LEGACY_CHECKS_FILE;
13148
13161
  const label = legacy ? LEGACY_CHECKS_FILE : CHECKS_FILE;
13149
13162
  const note = legacy ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-pi",
3
- "version": "8.28.1",
3
+ "version": "8.29.0",
4
4
  "description": "Workit native extension for Pi — tools, method skills, and session continuity",
5
5
  "keywords": [
6
6
  "agentic-coding",