burnoff 1.4.0 → 1.4.1

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.
@@ -1,306 +1,307 @@
1
- import fs from 'node:fs';
2
- import path from 'node:path';
3
-
4
- export const DEFAULT_POLICY = Object.freeze({
5
- guards: Object.freeze({
6
- mode: 'guard',
7
- det01Enabled: true,
8
- det02Enabled: true,
9
- det03Enabled: true,
10
- det04Enabled: true,
11
- det04Threshold: 3,
12
- secretAllow: Object.freeze([]),
13
- strictTestIntegrity: false,
14
- scopeLockEnabled: true,
15
- subagentFanoutEnabled: true,
16
- subagentFanoutAction: 'advisory',
17
- subagentMaxBurstCount: 4,
18
- subagentBurstWindowSec: 60,
19
- subagentMaxPromptChars: 8000,
20
- det07Enabled: true,
21
- det07Action: 'ask',
22
- det07ReadBypassMaxBytes: 16384,
23
- det07ReadBypassMaxLines: 250,
24
- det08Enabled: true,
25
- det08Action: 'ask',
26
- det08CheckTestSkip: true,
27
- det08CheckEmptyCatch: true,
28
- det09Enabled: true,
29
- det09Action: 'ask',
30
- det09MaxEditsPerFile: 5,
31
- det09WindowSec: 300
32
- }),
33
- readClamp: Object.freeze({
34
- enabled: true,
35
- maxLines: 250,
36
- maxBytes: 16384,
37
- neverClampCodeOffCliff: true,
38
- neverClampExt: Object.freeze([]),
39
- headProbeMaxBytes: 8388608,
40
- codeRealizationDiscount: 0.27
41
- }),
42
- postTool: Object.freeze({
43
- fts5Enabled: true,
44
- minBytesToCompress: 6144,
45
- retentionDays: 30,
46
- outputMode: 'auto'
47
- }),
48
- ciBudgetGate: Object.freeze({
49
- maxPrCostUsd: 15,
50
- maxPrTokens: 1_500_000,
51
- maxCacheMissRatio: 0.50,
52
- maxWasteRatio: 0.35,
53
- maxRing0Violations: 0,
54
- mode: 'enforce',
55
- failOnMissingTranscripts: false
56
- })
57
- });
58
-
59
- function cloneDefaultPolicy() {
60
- return {
61
- guards: {
62
- ...DEFAULT_POLICY.guards,
63
- secretAllow: [...DEFAULT_POLICY.guards.secretAllow]
64
- },
65
- readClamp: {
66
- ...DEFAULT_POLICY.readClamp,
67
- neverClampExt: [...DEFAULT_POLICY.readClamp.neverClampExt]
68
- },
69
- postTool: { ...DEFAULT_POLICY.postTool },
70
- ciBudgetGate: { ...DEFAULT_POLICY.ciBudgetGate }
71
- };
72
- }
73
-
74
- function stripInlineComment(line) {
75
- let inSingle = false;
76
- let inDouble = false;
77
- for (let i = 0; i < line.length; i++) {
78
- const ch = line[i];
79
- if (ch === '\'' && !inDouble) inSingle = !inSingle;
80
- else if (ch === '"' && !inSingle) inDouble = !inDouble;
81
- else if (ch === '#' && !inSingle && !inDouble) {
82
- if (i === 0 || /\s/.test(line[i - 1])) {
83
- return line.slice(0, i);
84
- }
85
- }
86
- }
87
- return line;
88
- }
89
-
90
- function parseScalar(raw) {
91
- const s = String(raw ?? '').trim();
92
- if (!s) return '';
93
- if (
94
- (s.startsWith('"') && s.endsWith('"') && s.length >= 2) ||
95
- (s.startsWith('\'') && s.endsWith('\'') && s.length >= 2)
96
- ) {
97
- return s.slice(1, -1);
98
- }
99
- if (s === 'true') return true;
100
- if (s === 'false') return false;
101
- if (s === 'null' || s === '~') return null;
102
- if (/^-?\d+(?:\.\d+)?$/.test(s)) return Number(s);
103
- if (s.startsWith('[') && s.endsWith(']')) {
104
- const inner = s.slice(1, -1).trim();
105
- if (!inner) return [];
106
- return inner.split(',').map((part) => parseScalar(part));
107
- }
108
- return s;
109
- }
110
-
111
- /**
112
- * Zero-dependency YAML subset parser with automatic JSON fallback.
113
- * Supports nested maps via indentation, scalars (bool/number/string/null), inline lists `[a, b]`,
114
- * and block lists (`- item`).
115
- */
116
- export function parseSimpleYaml(text = '') {
117
- const trimmed = String(text || '').trim();
118
- if (!trimmed) return {};
119
- if (trimmed.startsWith('{') || trimmed.startsWith('[')) {
120
- return JSON.parse(trimmed);
121
- }
122
-
123
- const lines = trimmed.split(/\r?\n/);
124
- const root = {};
125
- // Stack entries track { indent, container, pendingKey, parentObj }
126
- const stack = [{ indent: -1, container: root }];
127
-
128
- for (let idx = 0; idx < lines.length; idx++) {
129
- const rawLine = stripInlineComment(lines[idx]);
130
- if (!rawLine.trim()) continue;
131
- if (/^\t|^ *\t/.test(rawLine)) {
132
- throw new SyntaxError(`Invalid YAML tab indentation at line ${idx + 1}`);
133
- }
134
- const indent = rawLine.match(/^ */)[0].length;
135
- const content = rawLine.trim();
136
-
137
- while (stack.length > 1 && indent <= stack[stack.length - 1].indent) {
138
- stack.pop();
139
- }
140
- const top = stack[stack.length - 1];
141
-
142
- if (content === '-' || content.startsWith('- ')) {
143
- const itemText = content.slice(2).trim();
144
- if (!Array.isArray(top.container)) {
145
- throw new SyntaxError(`Unexpected YAML list item at line ${idx + 1}`);
146
- }
147
- top.container.push(parseScalar(itemText));
148
- continue;
149
- }
150
-
151
- const colonIdx = content.indexOf(':');
152
- if (colonIdx === -1) {
153
- throw new SyntaxError(`Invalid YAML syntax (missing ':') at line ${idx + 1}`);
154
- }
155
-
156
- const key = content.slice(0, colonIdx).trim().replace(/^['"]|['"]$/g, '');
157
- const rest = content.slice(colonIdx + 1).trim();
158
- if (!key) {
159
- throw new SyntaxError(`Invalid YAML empty key at line ${idx + 1}`);
160
- }
161
-
162
- if (rest === '') {
163
- // Peek next non-empty line to determine object vs array
164
- let nextIsArray = false;
165
- for (let j = idx + 1; j < lines.length; j++) {
166
- const peek = stripInlineComment(lines[j]);
167
- if (!peek.trim()) continue;
168
- const peekIndent = peek.match(/^ */)[0].length;
169
- if (peekIndent > indent && peek.trim().startsWith('- ')) {
170
- nextIsArray = true;
171
- }
172
- break;
173
- }
174
- const child = nextIsArray ? [] : {};
175
- if (top.container && typeof top.container === 'object' && !Array.isArray(top.container)) {
176
- top.container[key] = child;
177
- stack.push({ indent, container: child });
178
- }
179
- } else if (top.container && typeof top.container === 'object' && !Array.isArray(top.container)) {
180
- top.container[key] = parseScalar(rest);
181
- }
182
- }
183
-
184
- return root;
185
- }
186
-
187
- function mergePolicy(base, override) {
188
- const result = cloneDefaultPolicy();
189
- if (!override || typeof override !== 'object') return result;
190
-
191
- for (const section of ['guards', 'readClamp', 'postTool', 'ciBudgetGate']) {
192
- if (override[section] && typeof override[section] === 'object' && !Array.isArray(override[section])) {
193
- result[section] = { ...result[section], ...override[section] };
194
- }
195
- }
196
- if (Array.isArray(result.guards.secretAllow)) {
197
- result.guards.secretAllow = result.guards.secretAllow
198
- .map((item) => String(item || '').trim())
199
- .filter(Boolean);
200
- } else {
201
- result.guards.secretAllow = [];
202
- }
203
- if (Array.isArray(result.readClamp.neverClampExt)) {
204
- result.readClamp.neverClampExt = result.readClamp.neverClampExt
205
- .map((item) => String(item || '').trim().toLowerCase())
206
- .filter(Boolean)
207
- .map((ext) => (ext.startsWith('.') ? ext : `.${ext}`));
208
- } else {
209
- result.readClamp.neverClampExt = [];
210
- }
211
- for (const [k, v] of Object.entries(override)) {
212
- if (!(k in result)) {
213
- result[k] = v;
214
- }
215
- }
216
- return result;
217
- }
218
-
219
- const POLICY_CACHE = new Map();
220
- const POLICY_CACHE_TTL_MS = 500;
221
-
222
- export function clearBurnoffPolicyCache() {
223
- POLICY_CACHE.clear();
224
- }
225
-
226
- /**
227
- * Loads `.burnoff.yaml` (or `.burnoff.yml`) from `cwd` and merges with `DEFAULT_POLICY`.
228
- */
229
- export function loadBurnoffPolicy(cwd = process.cwd()) {
230
- const baseDir = path.resolve(cwd || process.cwd());
231
- const nowMs = Date.now();
232
- const cached = POLICY_CACHE.get(baseDir);
233
- if (cached && nowMs - cached.ts < POLICY_CACHE_TTL_MS) {
234
- try {
235
- if (cached.value.sourcePath) {
236
- const st = fs.statSync(cached.value.sourcePath);
237
- if (st.mtimeMs === cached.mtimeMs) {
238
- return cached.value;
239
- }
240
- } else if (
241
- !fs.existsSync(path.join(baseDir, '.burnoff.yaml')) &&
242
- !fs.existsSync(path.join(baseDir, '.burnoff.yml'))
243
- ) {
244
- return cached.value;
245
- }
246
- } catch {
247
- // ignore: stat/exists check failure invalidates cache entry cleanly
248
- }
249
- }
250
-
251
- for (const name of ['.burnoff.yaml', '.burnoff.yml']) {
252
- const candidate = path.join(baseDir, name);
253
- if (!fs.existsSync(candidate)) continue;
254
- let mtimeMs = 0;
255
- try {
256
- mtimeMs = fs.statSync(candidate).mtimeMs;
257
- } catch {
258
- // ignore: fallback mtimeMs = 0
259
- }
260
- try {
261
- const raw = fs.readFileSync(candidate, 'utf8');
262
- const parsed = parseSimpleYaml(raw);
263
- const rawCiBudgetGate =
264
- parsed?.ciBudgetGate && typeof parsed.ciBudgetGate === 'object' && !Array.isArray(parsed.ciBudgetGate)
265
- ? { ...parsed.ciBudgetGate }
266
- : {};
267
- const value = {
268
- ...mergePolicy(DEFAULT_POLICY, parsed),
269
- rawCiBudgetGate,
270
- sourcePath: candidate,
271
- exists: true
272
- };
273
- if (POLICY_CACHE.size > 64) POLICY_CACHE.clear();
274
- POLICY_CACHE.set(baseDir, { ts: nowMs, mtimeMs, value });
275
- return value;
276
- } catch (err) {
277
- const value = {
278
- ...cloneDefaultPolicy(),
279
- rawCiBudgetGate: {},
280
- sourcePath: candidate,
281
- exists: true,
282
- parseError: true,
283
- parseErrorMessage: err?.message || 'Invalid YAML syntax'
284
- };
285
- if (POLICY_CACHE.size > 64) POLICY_CACHE.clear();
286
- POLICY_CACHE.set(baseDir, { ts: nowMs, mtimeMs, value });
287
- return value;
288
- }
289
- }
290
-
291
- const value = {
292
- ...cloneDefaultPolicy(),
293
- sourcePath: null,
294
- exists: false
295
- };
296
- if (POLICY_CACHE.size > 64) POLICY_CACHE.clear();
297
- POLICY_CACHE.set(baseDir, { ts: nowMs, mtimeMs: 0, value });
298
- return value;
299
- }
300
-
301
- export default {
302
- DEFAULT_POLICY,
303
- parseSimpleYaml,
304
- loadBurnoffPolicy,
305
- clearBurnoffPolicyCache
306
- };
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+
4
+ export const DEFAULT_POLICY = Object.freeze({
5
+ guards: Object.freeze({
6
+ mode: 'guard',
7
+ det01Enabled: true,
8
+ det02Enabled: true,
9
+ det03Enabled: true,
10
+ det04Enabled: true,
11
+ det04Threshold: 3,
12
+ secretAllow: Object.freeze([]),
13
+ strictTestIntegrity: false,
14
+ scopeLockEnabled: true,
15
+ subagentFanoutEnabled: true,
16
+ subagentFanoutAction: 'advisory',
17
+ subagentMaxBurstCount: 4,
18
+ subagentBurstWindowSec: 60,
19
+ subagentMaxPromptChars: 8000,
20
+ det07Enabled: true,
21
+ det07Action: 'ask',
22
+ det07ReadBypassMaxBytes: 16384,
23
+ det07ReadBypassMaxLines: 250,
24
+ det08Enabled: true,
25
+ det08Action: 'ask',
26
+ det08CheckTestSkip: true,
27
+ det08CheckEmptyCatch: true,
28
+ det09Enabled: true,
29
+ det09Action: 'ask',
30
+ det09MaxEditsPerFile: 5,
31
+ det09WindowSec: 300,
32
+ inspectReadOnlyTools: false
33
+ }),
34
+ readClamp: Object.freeze({
35
+ enabled: true,
36
+ maxLines: 250,
37
+ maxBytes: 16384,
38
+ neverClampCodeOffCliff: true,
39
+ neverClampExt: Object.freeze([]),
40
+ headProbeMaxBytes: 8388608,
41
+ codeRealizationDiscount: 0.27
42
+ }),
43
+ postTool: Object.freeze({
44
+ fts5Enabled: true,
45
+ minBytesToCompress: 6144,
46
+ retentionDays: 30,
47
+ outputMode: 'replace'
48
+ }),
49
+ ciBudgetGate: Object.freeze({
50
+ maxPrCostUsd: 15,
51
+ maxPrTokens: 1_500_000,
52
+ maxCacheMissRatio: 0.50,
53
+ maxWasteRatio: 0.35,
54
+ maxRing0Violations: 0,
55
+ mode: 'enforce',
56
+ failOnMissingTranscripts: false
57
+ })
58
+ });
59
+
60
+ function cloneDefaultPolicy() {
61
+ return {
62
+ guards: {
63
+ ...DEFAULT_POLICY.guards,
64
+ secretAllow: [...DEFAULT_POLICY.guards.secretAllow]
65
+ },
66
+ readClamp: {
67
+ ...DEFAULT_POLICY.readClamp,
68
+ neverClampExt: [...DEFAULT_POLICY.readClamp.neverClampExt]
69
+ },
70
+ postTool: { ...DEFAULT_POLICY.postTool },
71
+ ciBudgetGate: { ...DEFAULT_POLICY.ciBudgetGate }
72
+ };
73
+ }
74
+
75
+ function stripInlineComment(line) {
76
+ let inSingle = false;
77
+ let inDouble = false;
78
+ for (let i = 0; i < line.length; i++) {
79
+ const ch = line[i];
80
+ if (ch === '\'' && !inDouble) inSingle = !inSingle;
81
+ else if (ch === '"' && !inSingle) inDouble = !inDouble;
82
+ else if (ch === '#' && !inSingle && !inDouble) {
83
+ if (i === 0 || /\s/.test(line[i - 1])) {
84
+ return line.slice(0, i);
85
+ }
86
+ }
87
+ }
88
+ return line;
89
+ }
90
+
91
+ function parseScalar(raw) {
92
+ const s = String(raw ?? '').trim();
93
+ if (!s) return '';
94
+ if (
95
+ (s.startsWith('"') && s.endsWith('"') && s.length >= 2) ||
96
+ (s.startsWith('\'') && s.endsWith('\'') && s.length >= 2)
97
+ ) {
98
+ return s.slice(1, -1);
99
+ }
100
+ if (s === 'true') return true;
101
+ if (s === 'false') return false;
102
+ if (s === 'null' || s === '~') return null;
103
+ if (/^-?\d+(?:\.\d+)?$/.test(s)) return Number(s);
104
+ if (s.startsWith('[') && s.endsWith(']')) {
105
+ const inner = s.slice(1, -1).trim();
106
+ if (!inner) return [];
107
+ return inner.split(',').map((part) => parseScalar(part));
108
+ }
109
+ return s;
110
+ }
111
+
112
+ /**
113
+ * Zero-dependency YAML subset parser with automatic JSON fallback.
114
+ * Supports nested maps via indentation, scalars (bool/number/string/null), inline lists `[a, b]`,
115
+ * and block lists (`- item`).
116
+ */
117
+ export function parseSimpleYaml(text = '') {
118
+ const trimmed = String(text || '').trim();
119
+ if (!trimmed) return {};
120
+ if (trimmed.startsWith('{') || trimmed.startsWith('[')) {
121
+ return JSON.parse(trimmed);
122
+ }
123
+
124
+ const lines = trimmed.split(/\r?\n/);
125
+ const root = {};
126
+ // Stack entries track { indent, container, pendingKey, parentObj }
127
+ const stack = [{ indent: -1, container: root }];
128
+
129
+ for (let idx = 0; idx < lines.length; idx++) {
130
+ const rawLine = stripInlineComment(lines[idx]);
131
+ if (!rawLine.trim()) continue;
132
+ if (/^\t|^ *\t/.test(rawLine)) {
133
+ throw new SyntaxError(`Invalid YAML tab indentation at line ${idx + 1}`);
134
+ }
135
+ const indent = rawLine.match(/^ */)[0].length;
136
+ const content = rawLine.trim();
137
+
138
+ while (stack.length > 1 && indent <= stack[stack.length - 1].indent) {
139
+ stack.pop();
140
+ }
141
+ const top = stack[stack.length - 1];
142
+
143
+ if (content === '-' || content.startsWith('- ')) {
144
+ const itemText = content.slice(2).trim();
145
+ if (!Array.isArray(top.container)) {
146
+ throw new SyntaxError(`Unexpected YAML list item at line ${idx + 1}`);
147
+ }
148
+ top.container.push(parseScalar(itemText));
149
+ continue;
150
+ }
151
+
152
+ const colonIdx = content.indexOf(':');
153
+ if (colonIdx === -1) {
154
+ throw new SyntaxError(`Invalid YAML syntax (missing ':') at line ${idx + 1}`);
155
+ }
156
+
157
+ const key = content.slice(0, colonIdx).trim().replace(/^['"]|['"]$/g, '');
158
+ const rest = content.slice(colonIdx + 1).trim();
159
+ if (!key) {
160
+ throw new SyntaxError(`Invalid YAML empty key at line ${idx + 1}`);
161
+ }
162
+
163
+ if (rest === '') {
164
+ // Peek next non-empty line to determine object vs array
165
+ let nextIsArray = false;
166
+ for (let j = idx + 1; j < lines.length; j++) {
167
+ const peek = stripInlineComment(lines[j]);
168
+ if (!peek.trim()) continue;
169
+ const peekIndent = peek.match(/^ */)[0].length;
170
+ if (peekIndent > indent && peek.trim().startsWith('- ')) {
171
+ nextIsArray = true;
172
+ }
173
+ break;
174
+ }
175
+ const child = nextIsArray ? [] : {};
176
+ if (top.container && typeof top.container === 'object' && !Array.isArray(top.container)) {
177
+ top.container[key] = child;
178
+ stack.push({ indent, container: child });
179
+ }
180
+ } else if (top.container && typeof top.container === 'object' && !Array.isArray(top.container)) {
181
+ top.container[key] = parseScalar(rest);
182
+ }
183
+ }
184
+
185
+ return root;
186
+ }
187
+
188
+ function mergePolicy(base, override) {
189
+ const result = cloneDefaultPolicy();
190
+ if (!override || typeof override !== 'object') return result;
191
+
192
+ for (const section of ['guards', 'readClamp', 'postTool', 'ciBudgetGate']) {
193
+ if (override[section] && typeof override[section] === 'object' && !Array.isArray(override[section])) {
194
+ result[section] = { ...result[section], ...override[section] };
195
+ }
196
+ }
197
+ if (Array.isArray(result.guards.secretAllow)) {
198
+ result.guards.secretAllow = result.guards.secretAllow
199
+ .map((item) => String(item || '').trim())
200
+ .filter(Boolean);
201
+ } else {
202
+ result.guards.secretAllow = [];
203
+ }
204
+ if (Array.isArray(result.readClamp.neverClampExt)) {
205
+ result.readClamp.neverClampExt = result.readClamp.neverClampExt
206
+ .map((item) => String(item || '').trim().toLowerCase())
207
+ .filter(Boolean)
208
+ .map((ext) => (ext.startsWith('.') ? ext : `.${ext}`));
209
+ } else {
210
+ result.readClamp.neverClampExt = [];
211
+ }
212
+ for (const [k, v] of Object.entries(override)) {
213
+ if (!(k in result)) {
214
+ result[k] = v;
215
+ }
216
+ }
217
+ return result;
218
+ }
219
+
220
+ const POLICY_CACHE = new Map();
221
+ const POLICY_CACHE_TTL_MS = 500;
222
+
223
+ export function clearBurnoffPolicyCache() {
224
+ POLICY_CACHE.clear();
225
+ }
226
+
227
+ /**
228
+ * Loads `.burnoff.yaml` (or `.burnoff.yml`) from `cwd` and merges with `DEFAULT_POLICY`.
229
+ */
230
+ export function loadBurnoffPolicy(cwd = process.cwd()) {
231
+ const baseDir = path.resolve(cwd || process.cwd());
232
+ const nowMs = Date.now();
233
+ const cached = POLICY_CACHE.get(baseDir);
234
+ if (cached && nowMs - cached.ts < POLICY_CACHE_TTL_MS) {
235
+ try {
236
+ if (cached.value.sourcePath) {
237
+ const st = fs.statSync(cached.value.sourcePath);
238
+ if (st.mtimeMs === cached.mtimeMs) {
239
+ return cached.value;
240
+ }
241
+ } else if (
242
+ !fs.existsSync(path.join(baseDir, '.burnoff.yaml')) &&
243
+ !fs.existsSync(path.join(baseDir, '.burnoff.yml'))
244
+ ) {
245
+ return cached.value;
246
+ }
247
+ } catch {
248
+ // ignore: stat/exists check failure invalidates cache entry cleanly
249
+ }
250
+ }
251
+
252
+ for (const name of ['.burnoff.yaml', '.burnoff.yml']) {
253
+ const candidate = path.join(baseDir, name);
254
+ if (!fs.existsSync(candidate)) continue;
255
+ let mtimeMs = 0;
256
+ try {
257
+ mtimeMs = fs.statSync(candidate).mtimeMs;
258
+ } catch {
259
+ // ignore: fallback mtimeMs = 0
260
+ }
261
+ try {
262
+ const raw = fs.readFileSync(candidate, 'utf8');
263
+ const parsed = parseSimpleYaml(raw);
264
+ const rawCiBudgetGate =
265
+ parsed?.ciBudgetGate && typeof parsed.ciBudgetGate === 'object' && !Array.isArray(parsed.ciBudgetGate)
266
+ ? { ...parsed.ciBudgetGate }
267
+ : {};
268
+ const value = {
269
+ ...mergePolicy(DEFAULT_POLICY, parsed),
270
+ rawCiBudgetGate,
271
+ sourcePath: candidate,
272
+ exists: true
273
+ };
274
+ if (POLICY_CACHE.size > 64) POLICY_CACHE.clear();
275
+ POLICY_CACHE.set(baseDir, { ts: nowMs, mtimeMs, value });
276
+ return value;
277
+ } catch (err) {
278
+ const value = {
279
+ ...cloneDefaultPolicy(),
280
+ rawCiBudgetGate: {},
281
+ sourcePath: candidate,
282
+ exists: true,
283
+ parseError: true,
284
+ parseErrorMessage: err?.message || 'Invalid YAML syntax'
285
+ };
286
+ if (POLICY_CACHE.size > 64) POLICY_CACHE.clear();
287
+ POLICY_CACHE.set(baseDir, { ts: nowMs, mtimeMs, value });
288
+ return value;
289
+ }
290
+ }
291
+
292
+ const value = {
293
+ ...cloneDefaultPolicy(),
294
+ sourcePath: null,
295
+ exists: false
296
+ };
297
+ if (POLICY_CACHE.size > 64) POLICY_CACHE.clear();
298
+ POLICY_CACHE.set(baseDir, { ts: nowMs, mtimeMs: 0, value });
299
+ return value;
300
+ }
301
+
302
+ export default {
303
+ DEFAULT_POLICY,
304
+ parseSimpleYaml,
305
+ loadBurnoffPolicy,
306
+ clearBurnoffPolicyCache
307
+ };