agentxchain 2.155.46 → 2.155.47
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 +1 -1
- package/src/lib/repo-observer.js +14 -3
package/package.json
CHANGED
package/src/lib/repo-observer.js
CHANGED
|
@@ -69,6 +69,10 @@ export const BASELINE_EXEMPT_PATH_PREFIXES = Object.freeze([
|
|
|
69
69
|
'.agentxchain/proposed/',
|
|
70
70
|
]);
|
|
71
71
|
|
|
72
|
+
export const DOGFOOD_EVIDENCE_PATH_PREFIXES = Object.freeze([
|
|
73
|
+
'.planning/dogfood-100-turn-evidence/',
|
|
74
|
+
]);
|
|
75
|
+
|
|
72
76
|
const GENERATED_REPORT_PATH_PATTERNS = Object.freeze([
|
|
73
77
|
/^\.agentxchain\/reports\/report-[^/]+\.md$/,
|
|
74
78
|
/^\.agentxchain\/reports\/export-[^/]+\.json$/,
|
|
@@ -122,7 +126,8 @@ export function classifyRepoPath(filePath) {
|
|
|
122
126
|
|| pathMatchesAnyRoot(filePath, RUN_CONTINUITY_DIRECTORY_ROOTS);
|
|
123
127
|
const baselineExempt = operational
|
|
124
128
|
|| continuityState
|
|
125
|
-
|| pathMatchesAnyPrefix(filePath, BASELINE_EXEMPT_PATH_PREFIXES)
|
|
129
|
+
|| pathMatchesAnyPrefix(filePath, BASELINE_EXEMPT_PATH_PREFIXES)
|
|
130
|
+
|| pathMatchesAnyPrefix(filePath, DOGFOOD_EVIDENCE_PATH_PREFIXES);
|
|
126
131
|
|
|
127
132
|
return {
|
|
128
133
|
operational,
|
|
@@ -148,6 +153,10 @@ export function isRunContinuityPath(filePath) {
|
|
|
148
153
|
return classifyRepoPath(filePath).continuityState;
|
|
149
154
|
}
|
|
150
155
|
|
|
156
|
+
export function isDogfoodEvidencePath(filePath) {
|
|
157
|
+
return pathMatchesAnyPrefix(filePath, DOGFOOD_EVIDENCE_PATH_PREFIXES);
|
|
158
|
+
}
|
|
159
|
+
|
|
151
160
|
export function normalizeCheckpointableFiles(filesChanged) {
|
|
152
161
|
return [...new Set(
|
|
153
162
|
(Array.isArray(filesChanged) ? filesChanged : [])
|
|
@@ -249,8 +258,10 @@ export function observeChanges(root, baseline) {
|
|
|
249
258
|
|
|
250
259
|
changedFiles = filterBaselineDirtyFiles(root, changedFiles, baseline);
|
|
251
260
|
|
|
252
|
-
// Filter out orchestrator-owned operational paths (Session #19 freeze)
|
|
253
|
-
|
|
261
|
+
// Filter out orchestrator-owned operational paths (Session #19 freeze) and
|
|
262
|
+
// DOGFOOD-100 proof evidence, which is operator-proof metadata for this
|
|
263
|
+
// repository's formal dogfood run rather than turn-authored product work.
|
|
264
|
+
const actorFiles = changedFiles.filter(f => !isOperationalPath(f) && !isDogfoodEvidencePath(f));
|
|
254
265
|
|
|
255
266
|
return {
|
|
256
267
|
files_changed: actorFiles.sort(),
|