Zion Boggan zionboggan.com ↗

Filter the handoff decisions list to real strategic directions

The Accepted decisions list was a near-verbatim transcript dump that
included apologies, remediation, and trivial acknowledgements. Reuse the
existing isStrategicDirection predicate (already gating next-work) so the
list excludes the deck-recovery apology and short questions and stays
consistent with the rest of the handoff.
c4cb33e   Zion Boggan committed on Jun 13, 2026 (1 week ago)
src/analyze.js +1 -1
@@ -491,7 +491,7 @@ export function renderMemoryMarkdown(tree, opts = {}) {
return lines.join('\n');
}
-function isStrategicDirection(node) {
+export function isStrategicDirection(node) {
const text = String(node.text || '').trim();
if (!text) return false;
if (REMEDIATION_RE.test(text) || APOLOGY_RE.test(text)) return false;
src/handoff.js +4 -2
@@ -1,5 +1,5 @@
import { truncate, escapeMd } from './util.js';
-import { analyzeTree } from './analyze.js';
+import { analyzeTree, isStrategicDirection } from './analyze.js';
export function renderHandoff(tree, opts = {}) {
const { projectName } = opts;
@@ -37,7 +37,9 @@ export function renderHandoff(tree, opts = {}) {
}
lines.push('');
- const decisions = accepted.filter((n) => n.kind === 'direction' || n.kind === 'scope-change');
+ const decisions = accepted.filter(
+ (n) => (n.kind === 'direction' || n.kind === 'scope-change') && isStrategicDirection(n)
+ );
if (decisions.length) {
lines.push('## Accepted decisions (in order)');
lines.push('');