Skip to content

Commit 1e59638

Browse files
Merge pull request #156 from hyperpolymath/chore/item60-lfs-readiness
chore(item60): LFS-readiness for fleet workflows (closes post-#154 breakage window)
2 parents 6811c08 + db741de commit 1e59638

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/learning-loop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout gitbot-fleet
2424
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
25+
with:
26+
lfs: true # shared-context/learning/*.jsonl is LFS-tracked (Item 60)
2527

2628
- name: Process pending findings
2729
run: |

.github/workflows/repo-integrity-guard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
3737
with:
3838
fetch-depth: 0
39+
lfs: true # shared-context/learning/*.jsonl is LFS-tracked (Item 60)
3940

4041
- name: Critical files must exist
4142
run: |

.github/workflows/supervised-fleet-scan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
steps:
3232
- name: Checkout gitbot-fleet
3333
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
34+
with:
35+
lfs: true # shared-context/learning/*.jsonl is LFS-tracked (Item 60)
3436

3537
- name: Clone Hypatia scanner
3638
run: |

setup.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ CURRENT_SHELL="$(basename "$SHELL" 2>/dev/null || echo "unknown")"
2222
echo "Shell: $CURRENT_SHELL"
2323
echo ""
2424

25+
# Ensure git-LFS: shared-context/learning/*.jsonl is LFS-tracked (Item 60).
26+
# Without it the fleet's bots read pointer stubs instead of the learning log.
27+
if command -v git-lfs >/dev/null 2>&1; then
28+
git lfs install --local >/dev/null 2>&1 || true
29+
git lfs pull >/dev/null 2>&1 || echo "⚠️ 'git lfs pull' failed — learning jsonl may be pointer-only"
30+
else
31+
echo "⚠️ git-lfs not installed: shared-context/learning/*.jsonl will be LFS pointers, not data."
32+
echo " Install git-lfs (apt/dnf/brew/pkg), then run: git lfs install && git lfs pull"
33+
fi
34+
echo ""
35+
2536
# Check for just
2637
if ! command -v just >/dev/null 2>&1; then
2738
echo "just (command runner) is required but not installed."

0 commit comments

Comments
 (0)