wayfind 2.0.65 → 2.0.67

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.
@@ -156,8 +156,11 @@ function isRepoExcluded(repo) {
156
156
  if (!repo) return (INCLUDE_REPOS.length > 0); // exclude null repo only when allowlist active
157
157
  const lower = repo.toLowerCase();
158
158
 
159
- // Allowlist takes priority — if set, only matching repos pass
159
+ // Allowlist takes priority — if set, only matching repos pass.
160
+ // Unqualified repo names (no '/') are always allowed — they're team member journals
161
+ // written without an org prefix and are almost certainly internal team work.
160
162
  if (INCLUDE_REPOS.length > 0) {
163
+ if (!lower.includes('/')) return false; // unqualified names pass through
161
164
  return !INCLUDE_REPOS.some(pattern => {
162
165
  if (pattern.endsWith('/*')) {
163
166
  // org/* wildcard — match org prefix
@@ -3669,15 +3669,23 @@ async function contextPull(args) {
3669
3669
  log('[wayfind] Pulled latest team-context');
3670
3670
  // Mark success — doctor checks this to warn on prolonged failures
3671
3671
  try { fs.writeFileSync(markerFile, new Date().toISOString()); } catch {}
3672
- // Index any new team journals into the local content store
3673
- const journalsDir = path.join(teamPath, 'journals');
3674
- if (fs.existsSync(journalsDir)) {
3675
- try {
3676
- const stats = await contentStore.indexJournals({ journalDir: journalsDir });
3677
- if (!quiet && stats.newEntries > 0) {
3678
- log(`[wayfind] Indexed ${stats.newEntries} new team journal entries`);
3679
- }
3680
- } catch (_) {}
3672
+ // Index any new team journals into the local content store.
3673
+ // Also checks memory/journal/ — some setups (backup hook → team-context repo) land journals there.
3674
+ const journalDirsToIndex = [
3675
+ path.join(teamPath, 'journals'),
3676
+ path.join(teamPath, 'memory', 'journal'),
3677
+ ];
3678
+ let totalNewEntries = 0;
3679
+ for (const journalsDir of journalDirsToIndex) {
3680
+ if (fs.existsSync(journalsDir)) {
3681
+ try {
3682
+ const stats = await contentStore.indexJournals({ journalDir: journalsDir });
3683
+ totalNewEntries += stats.newEntries || 0;
3684
+ } catch (_) {}
3685
+ }
3686
+ }
3687
+ if (!quiet && totalNewEntries > 0) {
3688
+ log(`[wayfind] Indexed ${totalNewEntries} new team journal entries`);
3681
3689
  }
3682
3690
  // Import distilled entries if the team repo has a distilled.json
3683
3691
  const distilledJson = path.join(teamPath, '.wayfind', 'distilled.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wayfind",
3
- "version": "2.0.65",
3
+ "version": "2.0.67",
4
4
  "description": "Team decision trail for AI-assisted development. The connective tissue between product, engineering, and strategy.",
5
5
  "bin": {
6
6
  "wayfind": "./bin/team-context.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wayfind",
3
- "version": "2.0.65",
3
+ "version": "2.0.67",
4
4
  "description": "Team decision trail for AI-assisted development. Session memory, decision journals, and team digests.",
5
5
  "author": {
6
6
  "name": "Wayfind",