wayfind 2.0.58 → 2.0.59

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wayfind",
3
- "version": "2.0.58",
3
+ "version": "2.0.59",
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.58",
3
+ "version": "2.0.59",
4
4
  "description": "Team decision trail for AI-assisted development. Session memory, decision journals, and team digests.",
5
5
  "author": {
6
6
  "name": "Wayfind",
@@ -2,12 +2,11 @@
2
2
  #
3
3
  # Copy this file to .github/workflows/wayfind-distill.yml in your team-context repo.
4
4
  #
5
- # What it does:
6
- # - On journal pushes: indexes journals and runs daily-tier distillation (3–14 day old content)
7
- # - On weekly schedule (Sunday midnight): also runs weekly + archive tiers
8
- # - Exports distilled entries to .wayfind/distilled.json and commits back
5
+ # Runs nightly (2am UTC) and on manual dispatch. Journal push triggers are intentionally
6
+ # absent — raw journal content is already distributed via git pull + wayfind context pull.
7
+ # This pipeline only produces distilled/merged entries (the LLM summarization layer).
9
8
  #
10
- # Team members get the distilled entries automatically on their next `wayfind context pull`.
9
+ # Team members get distilled entries automatically on their next `wayfind context pull`.
11
10
  #
12
11
  # Required secrets:
13
12
  # ANTHROPIC_API_KEY — for LLM merge calls during distillation
@@ -15,22 +14,18 @@
15
14
  name: Wayfind Distillation
16
15
 
17
16
  on:
18
- push:
19
- paths:
20
- - 'journals/**'
21
17
  schedule:
22
- - cron: '0 0 * * 0' # Weekly: Sunday midnight UTC (weekly + archive tiers)
18
+ - cron: '0 2 * * *' # Nightly: 2am UTC
23
19
  workflow_dispatch:
24
20
  inputs:
25
21
  tier:
26
22
  description: 'Distillation tier (daily, weekly, archive, all)'
27
23
  default: 'all'
28
24
 
29
- # Serialize runs — cancel in-progress when a newer push comes in.
30
- # Safe because each run indexes all current journals; the latest run is always authoritative.
25
+ # One run at a time don't cancel in-progress (distillation is expensive).
31
26
  concurrency:
32
27
  group: wayfind-distill
33
- cancel-in-progress: true
28
+ cancel-in-progress: false
34
29
 
35
30
  jobs:
36
31
  distill:
@@ -59,21 +54,14 @@ jobs:
59
54
  env:
60
55
  TEAM_CONTEXT_STORE_PATH: ${{ github.workspace }}/.wayfind/store
61
56
  ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
62
- run: |
63
- if [ "${{ github.event_name }}" = "schedule" ]; then
64
- wayfind distill --tier all
65
- elif [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
66
- wayfind distill --tier ${{ github.event.inputs.tier || 'all' }}
67
- else
68
- wayfind distill --tier daily
69
- fi
57
+ run: wayfind distill --tier ${{ github.event.inputs.tier || 'all' }}
70
58
 
71
59
  - name: Export distilled entries
72
60
  env:
73
61
  TEAM_CONTEXT_STORE_PATH: ${{ github.workspace }}/.wayfind/store
74
62
  run: wayfind distill export --output .wayfind/distilled.json
75
63
 
76
- - name: Commit distilled.json if changed
64
+ - name: Commit if changed
77
65
  run: |
78
66
  git config user.name "github-actions[bot]"
79
67
  git config user.email "github-actions[bot]@users.noreply.github.com"