Commit 383018c
committed
polish(pull,docs): use β¬οΈ/β¬οΈ for drift direction; disambiguate from π (file written)
The drift-direction-classifier feature overloaded π in pull output: it
meant both 'engine wrote a file to disk' (pre-existing) AND 'local ahead
of dashboard, preserved' (new). In mixed-direction pulls these appear on
adjacent lines and the disambiguation-by-suffix is mild but real.
Pull-output icon legend (new mental model):
β¬οΈ = local-ahead, needs to flow UP to dashboard (preserved)
β¬οΈ = --resolve=theirs, flowed DOWN (overwrote local with platform)
π = engine wrote/updated a file on disk (routine I/O)
βοΈ = locally modified per git, preserved
π = platform-default (read-only)
π« = matched .vapi-ignore
ποΈ = locally deleted (intent recorded in state)
Swapped sites (5 in src/pull.ts):
- :882 classifier local-ahead log
- :1088 resolveBothDiverged --resolve=ours log (already β¬οΈ via earlier commit)
- :1134 printDriftSummary local-ahead row
- :1356 end-of-pull legend
- new end-of-pull legend now also documents β¬οΈ and π separately
The 'wrote file to disk' π (lines 987, 998) is unchanged β that's the
pre-existing semantic and the one this feature should NOT have collided with.
AGENTS.md gains:
- The full icon legend table (mental model: β¬οΈ flows up, β¬οΈ flows down,
π is routine I/O).
- A first-adoption-noise callout (L1 from code review): the first audit
after this feature lands surfaces no-baseline info findings for every
resource that predates lastPulledHash tracking. Info severity does NOT
block CI; --bootstrap clears them all in one shot, or they naturally
drain over the next few sync cycles.
Closes L1 (first-adoption noise documentation) and NIT (icon overload)
from the code review on this PR. No behavior change \u2014 cosmetic + docs only.
Tests: 266/266 green, tsc --noEmit clean.1 parent 61cee3c commit 383018c
2 files changed
Lines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
104 | 123 | | |
105 | 124 | | |
106 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
878 | 881 | | |
879 | | - | |
| 882 | + | |
880 | 883 | | |
881 | 884 | | |
882 | 885 | | |
| |||
1128 | 1131 | | |
1129 | 1132 | | |
1130 | 1133 | | |
1131 | | - | |
| 1134 | + | |
1132 | 1135 | | |
1133 | 1136 | | |
1134 | 1137 | | |
| |||
1350 | 1353 | | |
1351 | 1354 | | |
1352 | 1355 | | |
1353 | | - | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
1354 | 1359 | | |
1355 | 1360 | | |
1356 | 1361 | | |
| |||
0 commit comments