@codyswann/lisa 2.217.2 → 2.217.4
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/dist/cli/doctor-monitor-thresholds.d.ts +11 -0
- package/dist/cli/doctor-monitor-thresholds.d.ts.map +1 -0
- package/dist/cli/doctor-monitor-thresholds.js +81 -0
- package/dist/cli/doctor-monitor-thresholds.js.map +1 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +2 -0
- package/dist/cli/doctor.js.map +1 -1
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-monitor/SKILL.md +64 -0
- package/plugins/lisa/skills/lisa-monitor/SKILL.md +64 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-monitor/SKILL.md +64 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/skills/lisa-monitor/SKILL.md +64 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-monitor/SKILL.md +64 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/skills/lisa-monitor/SKILL.md +64 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Find legacy monitor keys in committed and local config independently.
|
|
3
|
+
* @param targetPath - Project path to inspect
|
|
4
|
+
* @returns One named doctor check result
|
|
5
|
+
*/
|
|
6
|
+
export declare function checkLegacyMonitorThresholds(targetPath: string): Promise<{
|
|
7
|
+
name: string;
|
|
8
|
+
status: "ok" | "warn";
|
|
9
|
+
detail: string;
|
|
10
|
+
}>;
|
|
11
|
+
//# sourceMappingURL=doctor-monitor-thresholds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-monitor-thresholds.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-monitor-thresholds.ts"],"names":[],"mappings":"AAqEA;;;;GAIG;AACH,wBAAsB,4BAA4B,CAChD,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC;IACT,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CA6BD"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { existsSync } from "node:fs";
|
|
2
|
+
import { readFile } from "node:fs/promises";
|
|
3
|
+
import * as path from "node:path";
|
|
4
|
+
const MONITOR_THRESHOLD_CONFIG_CHECK_NAME = "Monitor threshold keys current?";
|
|
5
|
+
const CONFIG_FILES = [".lisa.config.json", ".lisa.config.local.json"];
|
|
6
|
+
const LEGACY_MONITOR_THRESHOLDS = [
|
|
7
|
+
{
|
|
8
|
+
legacy: "monitor.thresholds.sentryMinEvents24h",
|
|
9
|
+
current: "monitor.thresholds.minEvents24h",
|
|
10
|
+
property: "sentryMinEvents24h",
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
legacy: "monitor.thresholds.xrayFaultRatePct",
|
|
14
|
+
current: "monitor.thresholds.faultRatePct",
|
|
15
|
+
property: "xrayFaultRatePct",
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
/**
|
|
19
|
+
* Return an object-shaped value as a string-keyed record.
|
|
20
|
+
* @param value - Value to narrow
|
|
21
|
+
* @returns Record for objects, otherwise undefined
|
|
22
|
+
*/
|
|
23
|
+
function asRecord(value) {
|
|
24
|
+
return typeof value === "object" && value !== null
|
|
25
|
+
? value
|
|
26
|
+
: undefined;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Find legacy monitor threshold keys in one raw config file.
|
|
30
|
+
* Parse failures are reported by doctor's existing project-config check.
|
|
31
|
+
* @param targetPath - Project path to inspect
|
|
32
|
+
* @param fileName - Raw config file to inspect
|
|
33
|
+
* @returns Legacy-path migration findings
|
|
34
|
+
*/
|
|
35
|
+
async function legacyFindingsForFile(targetPath, fileName) {
|
|
36
|
+
const configPath = path.join(targetPath, fileName);
|
|
37
|
+
if (!existsSync(configPath))
|
|
38
|
+
return { findings: [] };
|
|
39
|
+
try {
|
|
40
|
+
const config = asRecord(JSON.parse(await readFile(configPath, "utf8")));
|
|
41
|
+
const monitor = asRecord(config?.["monitor"]);
|
|
42
|
+
const thresholds = asRecord(monitor?.["thresholds"]);
|
|
43
|
+
return {
|
|
44
|
+
findings: LEGACY_MONITOR_THRESHOLDS.filter(threshold => Object.hasOwn(thresholds ?? {}, threshold.property)).map(threshold => `${fileName}: ${threshold.legacy} -> ${threshold.current}`),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
catch {
|
|
48
|
+
return { findings: [], uninspectable: fileName };
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Find legacy monitor keys in committed and local config independently.
|
|
53
|
+
* @param targetPath - Project path to inspect
|
|
54
|
+
* @returns One named doctor check result
|
|
55
|
+
*/
|
|
56
|
+
export async function checkLegacyMonitorThresholds(targetPath) {
|
|
57
|
+
const inspections = await Promise.all(CONFIG_FILES.map(fileName => legacyFindingsForFile(targetPath, fileName)));
|
|
58
|
+
const findings = inspections.flatMap(inspection => inspection.findings);
|
|
59
|
+
const uninspectable = inspections.flatMap(inspection => inspection.uninspectable ? [inspection.uninspectable] : []);
|
|
60
|
+
return findings.length === 0 && uninspectable.length === 0
|
|
61
|
+
? {
|
|
62
|
+
name: MONITOR_THRESHOLD_CONFIG_CHECK_NAME,
|
|
63
|
+
status: "ok",
|
|
64
|
+
detail: "No legacy monitor threshold keys found",
|
|
65
|
+
}
|
|
66
|
+
: {
|
|
67
|
+
name: MONITOR_THRESHOLD_CONFIG_CHECK_NAME,
|
|
68
|
+
status: "warn",
|
|
69
|
+
detail: [
|
|
70
|
+
findings.length > 0
|
|
71
|
+
? `Replace legacy monitor threshold keys: ${findings.join(", ")}`
|
|
72
|
+
: undefined,
|
|
73
|
+
uninspectable.length > 0
|
|
74
|
+
? `Could not inspect monitor threshold keys in: ${uninspectable.join(", ")}`
|
|
75
|
+
: undefined,
|
|
76
|
+
]
|
|
77
|
+
.filter((message) => message !== undefined)
|
|
78
|
+
.join(". "),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=doctor-monitor-thresholds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-monitor-thresholds.js","sourceRoot":"","sources":["../../src/cli/doctor-monitor-thresholds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,MAAM,mCAAmC,GAAG,iCAAiC,CAAC;AAE9E,MAAM,YAAY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AC,OAAO,EAAqB,EAAE,CAAC,OAAO,KAAK,SAAS,CAAC;iBAC7D,IAAI,CAAC,IAAI,CAAC;SACd,CAAC;AACR,CAAC"}
|
package/dist/cli/doctor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,mDAAmD;AACnD,KAAK,YAAY,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AAO3C,oCAAoC;AACpC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,sCAAsC;AACtC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB;AAED,wCAAwC;AACxC,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wCAAwC;AACxC,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,OAAO,KAAK,CAAC;IACxB,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AA6SD;;;;;;GAMG;AACH,wBAAsB,SAAS,CAC7B,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,EAAE,aAAa,EACtB,YAAY,GAAE,OAAO,CAAC,kBAAkB,CAAM,GAC7C,OAAO,CAAC,YAAY,CAAC,CAiCvB"}
|
package/dist/cli/doctor.js
CHANGED
|
@@ -7,6 +7,7 @@ import { AGENTS_MD_FILENAME } from "../codex/agents-md-installer.js";
|
|
|
7
7
|
import { CLAUDE_MD_FILENAME } from "../claude/claude-md-installer.js";
|
|
8
8
|
import { migrateInstructionFiles } from "../core/instruction-files-migration.js";
|
|
9
9
|
import { createDetectorRegistry } from "../detection/index.js";
|
|
10
|
+
import { checkLegacyMonitorThresholds } from "./doctor-monitor-thresholds.js";
|
|
10
11
|
import { STARTERS } from "./starters.js";
|
|
11
12
|
import { runUpdateCheck } from "./update-check.js";
|
|
12
13
|
const VERSION_CHECK_NAME = "Lisa version current?";
|
|
@@ -285,6 +286,7 @@ export async function runDoctor(targetPath, options, dependencies = {}) {
|
|
|
285
286
|
const checks = [
|
|
286
287
|
await checkVersion(deps, options.offline === true),
|
|
287
288
|
await checkProjectConfig(resolvedTarget),
|
|
289
|
+
await checkLegacyMonitorThresholds(resolvedTarget),
|
|
288
290
|
await checkProjectType(resolvedTarget),
|
|
289
291
|
await checkInstructionFiles(resolvedTarget),
|
|
290
292
|
checkLegacyCodexOverlay(resolvedTarget),
|
package/dist/cli/doctor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.js","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAA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O,CAAC,OAAO,KAAK,IAAI,CAAC;QACxD,SAAS,CAAC,cAAc,CAAC;KAC1B,CAAC;IACF,MAAM,MAAM,GAAG,EAAE,MAAM,EAAE,CAAC;IAE1B,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;QACjB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAC9C,CAAC;SAAM,CAAC;QACN,IAAI,CAAC,KAAK,CACR,MAAM;aACH,GAAG,CACF,KAAK,CAAC,EAAE,CACN,GAAG,KAAK,CAAC,MAAM,CAAC,WAAW,EAAE,IAAI,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,EAAE,CACjE;aACA,IAAI,CAAC,IAAI,CAAC,CACd,CAAC;IACJ,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC,EAAE,CAAC;QAClD,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IACtB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"ws": ">=8.20.1"
|
|
96
96
|
},
|
|
97
97
|
"name": "@codyswann/lisa",
|
|
98
|
-
"version": "2.217.
|
|
98
|
+
"version": "2.217.4",
|
|
99
99
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
100
100
|
"main": "dist/index.js",
|
|
101
101
|
"exports": {
|
|
@@ -15,6 +15,70 @@ Spot-check application health, **audit observability completeness**, and **file
|
|
|
15
15
|
- `--all-gaps` — also file `recommended`-tier gaps (session replay, product analytics, etc.), not just `core`. Does not change anomaly thresholds.
|
|
16
16
|
- `max_candidates=<n>` — cap tickets filed this run (default 20; config `monitor.maxCandidates`).
|
|
17
17
|
|
|
18
|
+
## Monitor threshold compatibility
|
|
19
|
+
|
|
20
|
+
Before resolving anomaly thresholds, inspect the committed
|
|
21
|
+
`.lisa.config.json` and local `.lisa.config.local.json` separately with `jq`.
|
|
22
|
+
Use a literal, fixed-path projection that returns presence and value for only
|
|
23
|
+
these four exact paths; do not use `Read`, `cat`, interpolation, or a filter
|
|
24
|
+
that emits either entire config into agent context:
|
|
25
|
+
|
|
26
|
+
- `monitor.thresholds.minEvents24h`, then
|
|
27
|
+
`monitor.thresholds.sentryMinEvents24h`.
|
|
28
|
+
- `monitor.thresholds.faultRatePct`, then
|
|
29
|
+
`monitor.thresholds.xrayFaultRatePct`.
|
|
30
|
+
|
|
31
|
+
Run this fixed filter once with literal final argument `.lisa.config.json` and
|
|
32
|
+
once with literal final argument `.lisa.config.local.json` when the respective
|
|
33
|
+
file exists:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
jq 'def threshold($object; $name):
|
|
37
|
+
if ($object | has($name)) then
|
|
38
|
+
($object[$name] | type) as $type |
|
|
39
|
+
if $type == "number" then
|
|
40
|
+
if ($object[$name] | isfinite and (isnan | not)) then
|
|
41
|
+
{present: true, valid: true, type: "number", value: $object[$name]}
|
|
42
|
+
else
|
|
43
|
+
{present: true, valid: false, type: "non-finite-number"}
|
|
44
|
+
end
|
|
45
|
+
else
|
|
46
|
+
{present: true, valid: false, type: $type}
|
|
47
|
+
end
|
|
48
|
+
else
|
|
49
|
+
{present: false, valid: false, type: "missing"}
|
|
50
|
+
end;
|
|
51
|
+
(.monitor.thresholds | if type == "object" then . else {} end) as $t |
|
|
52
|
+
{
|
|
53
|
+
"monitor.thresholds.minEvents24h": threshold($t; "minEvents24h"),
|
|
54
|
+
"monitor.thresholds.sentryMinEvents24h": threshold($t; "sentryMinEvents24h"),
|
|
55
|
+
"monitor.thresholds.faultRatePct": threshold($t; "faultRatePct"),
|
|
56
|
+
"monitor.thresholds.xrayFaultRatePct": threshold($t; "xrayFaultRatePct")
|
|
57
|
+
}' .lisa.config.json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
A nonzero `jq` result fails threshold collection; do not treat an uninspectable
|
|
61
|
+
present file as if it were absent.
|
|
62
|
+
|
|
63
|
+
For each exact path, keep the raw `jq` presence/value result from each file;
|
|
64
|
+
do not inject defaults during this merge. Local presence overrides committed
|
|
65
|
+
presence per path. After that merge, resolve the current key before the legacy
|
|
66
|
+
key, then use default `1` for `monitor.thresholds.minEvents24h` or default `5`
|
|
67
|
+
for `monitor.thresholds.faultRatePct`. Current key wins over legacy key even
|
|
68
|
+
when its configured value is invalid.
|
|
69
|
+
|
|
70
|
+
Every configured threshold must be a finite JSON number. If the selected path
|
|
71
|
+
is null, a string, a boolean, an object, an array, or otherwise non-finite,
|
|
72
|
+
fail threshold collection and report the exact path and source without echoing
|
|
73
|
+
the invalid value; never fall through to a legacy value or default. Never quote
|
|
74
|
+
or report either whole config. The fixed `jq` projection itself must redact
|
|
75
|
+
invalid configured content: it emits only presence, validity, and a fixed type
|
|
76
|
+
classification, and includes the numeric `value` field only for a finite number.
|
|
77
|
+
For a valid resolution, the monitor report must include the resolved value and
|
|
78
|
+
source. Report only a validated numeric resolved value and one fixed source enum:
|
|
79
|
+
`local-current`, `committed-current`, `local-legacy`, `committed-legacy`, or
|
|
80
|
+
`default`.
|
|
81
|
+
|
|
18
82
|
## Orchestration: agent team
|
|
19
83
|
|
|
20
84
|
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
|
|
@@ -15,6 +15,70 @@ Spot-check application health, **audit observability completeness**, and **file
|
|
|
15
15
|
- `--all-gaps` — also file `recommended`-tier gaps (session replay, product analytics, etc.), not just `core`. Does not change anomaly thresholds.
|
|
16
16
|
- `max_candidates=<n>` — cap tickets filed this run (default 20; config `monitor.maxCandidates`).
|
|
17
17
|
|
|
18
|
+
## Monitor threshold compatibility
|
|
19
|
+
|
|
20
|
+
Before resolving anomaly thresholds, inspect the committed
|
|
21
|
+
`.lisa.config.json` and local `.lisa.config.local.json` separately with `jq`.
|
|
22
|
+
Use a literal, fixed-path projection that returns presence and value for only
|
|
23
|
+
these four exact paths; do not use `Read`, `cat`, interpolation, or a filter
|
|
24
|
+
that emits either entire config into agent context:
|
|
25
|
+
|
|
26
|
+
- `monitor.thresholds.minEvents24h`, then
|
|
27
|
+
`monitor.thresholds.sentryMinEvents24h`.
|
|
28
|
+
- `monitor.thresholds.faultRatePct`, then
|
|
29
|
+
`monitor.thresholds.xrayFaultRatePct`.
|
|
30
|
+
|
|
31
|
+
Run this fixed filter once with literal final argument `.lisa.config.json` and
|
|
32
|
+
once with literal final argument `.lisa.config.local.json` when the respective
|
|
33
|
+
file exists:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
jq 'def threshold($object; $name):
|
|
37
|
+
if ($object | has($name)) then
|
|
38
|
+
($object[$name] | type) as $type |
|
|
39
|
+
if $type == "number" then
|
|
40
|
+
if ($object[$name] | isfinite and (isnan | not)) then
|
|
41
|
+
{present: true, valid: true, type: "number", value: $object[$name]}
|
|
42
|
+
else
|
|
43
|
+
{present: true, valid: false, type: "non-finite-number"}
|
|
44
|
+
end
|
|
45
|
+
else
|
|
46
|
+
{present: true, valid: false, type: $type}
|
|
47
|
+
end
|
|
48
|
+
else
|
|
49
|
+
{present: false, valid: false, type: "missing"}
|
|
50
|
+
end;
|
|
51
|
+
(.monitor.thresholds | if type == "object" then . else {} end) as $t |
|
|
52
|
+
{
|
|
53
|
+
"monitor.thresholds.minEvents24h": threshold($t; "minEvents24h"),
|
|
54
|
+
"monitor.thresholds.sentryMinEvents24h": threshold($t; "sentryMinEvents24h"),
|
|
55
|
+
"monitor.thresholds.faultRatePct": threshold($t; "faultRatePct"),
|
|
56
|
+
"monitor.thresholds.xrayFaultRatePct": threshold($t; "xrayFaultRatePct")
|
|
57
|
+
}' .lisa.config.json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
A nonzero `jq` result fails threshold collection; do not treat an uninspectable
|
|
61
|
+
present file as if it were absent.
|
|
62
|
+
|
|
63
|
+
For each exact path, keep the raw `jq` presence/value result from each file;
|
|
64
|
+
do not inject defaults during this merge. Local presence overrides committed
|
|
65
|
+
presence per path. After that merge, resolve the current key before the legacy
|
|
66
|
+
key, then use default `1` for `monitor.thresholds.minEvents24h` or default `5`
|
|
67
|
+
for `monitor.thresholds.faultRatePct`. Current key wins over legacy key even
|
|
68
|
+
when its configured value is invalid.
|
|
69
|
+
|
|
70
|
+
Every configured threshold must be a finite JSON number. If the selected path
|
|
71
|
+
is null, a string, a boolean, an object, an array, or otherwise non-finite,
|
|
72
|
+
fail threshold collection and report the exact path and source without echoing
|
|
73
|
+
the invalid value; never fall through to a legacy value or default. Never quote
|
|
74
|
+
or report either whole config. The fixed `jq` projection itself must redact
|
|
75
|
+
invalid configured content: it emits only presence, validity, and a fixed type
|
|
76
|
+
classification, and includes the numeric `value` field only for a finite number.
|
|
77
|
+
For a valid resolution, the monitor report must include the resolved value and
|
|
78
|
+
source. Report only a validated numeric resolved value and one fixed source enum:
|
|
79
|
+
`local-current`, `committed-current`, `local-legacy`, `committed-legacy`, or
|
|
80
|
+
`default`.
|
|
81
|
+
|
|
18
82
|
## Orchestration: agent team
|
|
19
83
|
|
|
20
84
|
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
|
|
@@ -15,6 +15,70 @@ Spot-check application health, **audit observability completeness**, and **file
|
|
|
15
15
|
- `--all-gaps` — also file `recommended`-tier gaps (session replay, product analytics, etc.), not just `core`. Does not change anomaly thresholds.
|
|
16
16
|
- `max_candidates=<n>` — cap tickets filed this run (default 20; config `monitor.maxCandidates`).
|
|
17
17
|
|
|
18
|
+
## Monitor threshold compatibility
|
|
19
|
+
|
|
20
|
+
Before resolving anomaly thresholds, inspect the committed
|
|
21
|
+
`.lisa.config.json` and local `.lisa.config.local.json` separately with `jq`.
|
|
22
|
+
Use a literal, fixed-path projection that returns presence and value for only
|
|
23
|
+
these four exact paths; do not use `Read`, `cat`, interpolation, or a filter
|
|
24
|
+
that emits either entire config into agent context:
|
|
25
|
+
|
|
26
|
+
- `monitor.thresholds.minEvents24h`, then
|
|
27
|
+
`monitor.thresholds.sentryMinEvents24h`.
|
|
28
|
+
- `monitor.thresholds.faultRatePct`, then
|
|
29
|
+
`monitor.thresholds.xrayFaultRatePct`.
|
|
30
|
+
|
|
31
|
+
Run this fixed filter once with literal final argument `.lisa.config.json` and
|
|
32
|
+
once with literal final argument `.lisa.config.local.json` when the respective
|
|
33
|
+
file exists:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
jq 'def threshold($object; $name):
|
|
37
|
+
if ($object | has($name)) then
|
|
38
|
+
($object[$name] | type) as $type |
|
|
39
|
+
if $type == "number" then
|
|
40
|
+
if ($object[$name] | isfinite and (isnan | not)) then
|
|
41
|
+
{present: true, valid: true, type: "number", value: $object[$name]}
|
|
42
|
+
else
|
|
43
|
+
{present: true, valid: false, type: "non-finite-number"}
|
|
44
|
+
end
|
|
45
|
+
else
|
|
46
|
+
{present: true, valid: false, type: $type}
|
|
47
|
+
end
|
|
48
|
+
else
|
|
49
|
+
{present: false, valid: false, type: "missing"}
|
|
50
|
+
end;
|
|
51
|
+
(.monitor.thresholds | if type == "object" then . else {} end) as $t |
|
|
52
|
+
{
|
|
53
|
+
"monitor.thresholds.minEvents24h": threshold($t; "minEvents24h"),
|
|
54
|
+
"monitor.thresholds.sentryMinEvents24h": threshold($t; "sentryMinEvents24h"),
|
|
55
|
+
"monitor.thresholds.faultRatePct": threshold($t; "faultRatePct"),
|
|
56
|
+
"monitor.thresholds.xrayFaultRatePct": threshold($t; "xrayFaultRatePct")
|
|
57
|
+
}' .lisa.config.json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
A nonzero `jq` result fails threshold collection; do not treat an uninspectable
|
|
61
|
+
present file as if it were absent.
|
|
62
|
+
|
|
63
|
+
For each exact path, keep the raw `jq` presence/value result from each file;
|
|
64
|
+
do not inject defaults during this merge. Local presence overrides committed
|
|
65
|
+
presence per path. After that merge, resolve the current key before the legacy
|
|
66
|
+
key, then use default `1` for `monitor.thresholds.minEvents24h` or default `5`
|
|
67
|
+
for `monitor.thresholds.faultRatePct`. Current key wins over legacy key even
|
|
68
|
+
when its configured value is invalid.
|
|
69
|
+
|
|
70
|
+
Every configured threshold must be a finite JSON number. If the selected path
|
|
71
|
+
is null, a string, a boolean, an object, an array, or otherwise non-finite,
|
|
72
|
+
fail threshold collection and report the exact path and source without echoing
|
|
73
|
+
the invalid value; never fall through to a legacy value or default. Never quote
|
|
74
|
+
or report either whole config. The fixed `jq` projection itself must redact
|
|
75
|
+
invalid configured content: it emits only presence, validity, and a fixed type
|
|
76
|
+
classification, and includes the numeric `value` field only for a finite number.
|
|
77
|
+
For a valid resolution, the monitor report must include the resolved value and
|
|
78
|
+
source. Report only a validated numeric resolved value and one fixed source enum:
|
|
79
|
+
`local-current`, `committed-current`, `local-legacy`, `committed-legacy`, or
|
|
80
|
+
`default`.
|
|
81
|
+
|
|
18
82
|
## Orchestration: agent team
|
|
19
83
|
|
|
20
84
|
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
|
|
@@ -15,6 +15,70 @@ Spot-check application health, **audit observability completeness**, and **file
|
|
|
15
15
|
- `--all-gaps` — also file `recommended`-tier gaps (session replay, product analytics, etc.), not just `core`. Does not change anomaly thresholds.
|
|
16
16
|
- `max_candidates=<n>` — cap tickets filed this run (default 20; config `monitor.maxCandidates`).
|
|
17
17
|
|
|
18
|
+
## Monitor threshold compatibility
|
|
19
|
+
|
|
20
|
+
Before resolving anomaly thresholds, inspect the committed
|
|
21
|
+
`.lisa.config.json` and local `.lisa.config.local.json` separately with `jq`.
|
|
22
|
+
Use a literal, fixed-path projection that returns presence and value for only
|
|
23
|
+
these four exact paths; do not use `Read`, `cat`, interpolation, or a filter
|
|
24
|
+
that emits either entire config into agent context:
|
|
25
|
+
|
|
26
|
+
- `monitor.thresholds.minEvents24h`, then
|
|
27
|
+
`monitor.thresholds.sentryMinEvents24h`.
|
|
28
|
+
- `monitor.thresholds.faultRatePct`, then
|
|
29
|
+
`monitor.thresholds.xrayFaultRatePct`.
|
|
30
|
+
|
|
31
|
+
Run this fixed filter once with literal final argument `.lisa.config.json` and
|
|
32
|
+
once with literal final argument `.lisa.config.local.json` when the respective
|
|
33
|
+
file exists:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
jq 'def threshold($object; $name):
|
|
37
|
+
if ($object | has($name)) then
|
|
38
|
+
($object[$name] | type) as $type |
|
|
39
|
+
if $type == "number" then
|
|
40
|
+
if ($object[$name] | isfinite and (isnan | not)) then
|
|
41
|
+
{present: true, valid: true, type: "number", value: $object[$name]}
|
|
42
|
+
else
|
|
43
|
+
{present: true, valid: false, type: "non-finite-number"}
|
|
44
|
+
end
|
|
45
|
+
else
|
|
46
|
+
{present: true, valid: false, type: $type}
|
|
47
|
+
end
|
|
48
|
+
else
|
|
49
|
+
{present: false, valid: false, type: "missing"}
|
|
50
|
+
end;
|
|
51
|
+
(.monitor.thresholds | if type == "object" then . else {} end) as $t |
|
|
52
|
+
{
|
|
53
|
+
"monitor.thresholds.minEvents24h": threshold($t; "minEvents24h"),
|
|
54
|
+
"monitor.thresholds.sentryMinEvents24h": threshold($t; "sentryMinEvents24h"),
|
|
55
|
+
"monitor.thresholds.faultRatePct": threshold($t; "faultRatePct"),
|
|
56
|
+
"monitor.thresholds.xrayFaultRatePct": threshold($t; "xrayFaultRatePct")
|
|
57
|
+
}' .lisa.config.json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
A nonzero `jq` result fails threshold collection; do not treat an uninspectable
|
|
61
|
+
present file as if it were absent.
|
|
62
|
+
|
|
63
|
+
For each exact path, keep the raw `jq` presence/value result from each file;
|
|
64
|
+
do not inject defaults during this merge. Local presence overrides committed
|
|
65
|
+
presence per path. After that merge, resolve the current key before the legacy
|
|
66
|
+
key, then use default `1` for `monitor.thresholds.minEvents24h` or default `5`
|
|
67
|
+
for `monitor.thresholds.faultRatePct`. Current key wins over legacy key even
|
|
68
|
+
when its configured value is invalid.
|
|
69
|
+
|
|
70
|
+
Every configured threshold must be a finite JSON number. If the selected path
|
|
71
|
+
is null, a string, a boolean, an object, an array, or otherwise non-finite,
|
|
72
|
+
fail threshold collection and report the exact path and source without echoing
|
|
73
|
+
the invalid value; never fall through to a legacy value or default. Never quote
|
|
74
|
+
or report either whole config. The fixed `jq` projection itself must redact
|
|
75
|
+
invalid configured content: it emits only presence, validity, and a fixed type
|
|
76
|
+
classification, and includes the numeric `value` field only for a finite number.
|
|
77
|
+
For a valid resolution, the monitor report must include the resolved value and
|
|
78
|
+
source. Report only a validated numeric resolved value and one fixed source enum:
|
|
79
|
+
`local-current`, `committed-current`, `local-legacy`, `committed-legacy`, or
|
|
80
|
+
`default`.
|
|
81
|
+
|
|
18
82
|
## Orchestration: agent team
|
|
19
83
|
|
|
20
84
|
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
|
|
@@ -15,6 +15,70 @@ Spot-check application health, **audit observability completeness**, and **file
|
|
|
15
15
|
- `--all-gaps` — also file `recommended`-tier gaps (session replay, product analytics, etc.), not just `core`. Does not change anomaly thresholds.
|
|
16
16
|
- `max_candidates=<n>` — cap tickets filed this run (default 20; config `monitor.maxCandidates`).
|
|
17
17
|
|
|
18
|
+
## Monitor threshold compatibility
|
|
19
|
+
|
|
20
|
+
Before resolving anomaly thresholds, inspect the committed
|
|
21
|
+
`.lisa.config.json` and local `.lisa.config.local.json` separately with `jq`.
|
|
22
|
+
Use a literal, fixed-path projection that returns presence and value for only
|
|
23
|
+
these four exact paths; do not use `Read`, `cat`, interpolation, or a filter
|
|
24
|
+
that emits either entire config into agent context:
|
|
25
|
+
|
|
26
|
+
- `monitor.thresholds.minEvents24h`, then
|
|
27
|
+
`monitor.thresholds.sentryMinEvents24h`.
|
|
28
|
+
- `monitor.thresholds.faultRatePct`, then
|
|
29
|
+
`monitor.thresholds.xrayFaultRatePct`.
|
|
30
|
+
|
|
31
|
+
Run this fixed filter once with literal final argument `.lisa.config.json` and
|
|
32
|
+
once with literal final argument `.lisa.config.local.json` when the respective
|
|
33
|
+
file exists:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
jq 'def threshold($object; $name):
|
|
37
|
+
if ($object | has($name)) then
|
|
38
|
+
($object[$name] | type) as $type |
|
|
39
|
+
if $type == "number" then
|
|
40
|
+
if ($object[$name] | isfinite and (isnan | not)) then
|
|
41
|
+
{present: true, valid: true, type: "number", value: $object[$name]}
|
|
42
|
+
else
|
|
43
|
+
{present: true, valid: false, type: "non-finite-number"}
|
|
44
|
+
end
|
|
45
|
+
else
|
|
46
|
+
{present: true, valid: false, type: $type}
|
|
47
|
+
end
|
|
48
|
+
else
|
|
49
|
+
{present: false, valid: false, type: "missing"}
|
|
50
|
+
end;
|
|
51
|
+
(.monitor.thresholds | if type == "object" then . else {} end) as $t |
|
|
52
|
+
{
|
|
53
|
+
"monitor.thresholds.minEvents24h": threshold($t; "minEvents24h"),
|
|
54
|
+
"monitor.thresholds.sentryMinEvents24h": threshold($t; "sentryMinEvents24h"),
|
|
55
|
+
"monitor.thresholds.faultRatePct": threshold($t; "faultRatePct"),
|
|
56
|
+
"monitor.thresholds.xrayFaultRatePct": threshold($t; "xrayFaultRatePct")
|
|
57
|
+
}' .lisa.config.json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
A nonzero `jq` result fails threshold collection; do not treat an uninspectable
|
|
61
|
+
present file as if it were absent.
|
|
62
|
+
|
|
63
|
+
For each exact path, keep the raw `jq` presence/value result from each file;
|
|
64
|
+
do not inject defaults during this merge. Local presence overrides committed
|
|
65
|
+
presence per path. After that merge, resolve the current key before the legacy
|
|
66
|
+
key, then use default `1` for `monitor.thresholds.minEvents24h` or default `5`
|
|
67
|
+
for `monitor.thresholds.faultRatePct`. Current key wins over legacy key even
|
|
68
|
+
when its configured value is invalid.
|
|
69
|
+
|
|
70
|
+
Every configured threshold must be a finite JSON number. If the selected path
|
|
71
|
+
is null, a string, a boolean, an object, an array, or otherwise non-finite,
|
|
72
|
+
fail threshold collection and report the exact path and source without echoing
|
|
73
|
+
the invalid value; never fall through to a legacy value or default. Never quote
|
|
74
|
+
or report either whole config. The fixed `jq` projection itself must redact
|
|
75
|
+
invalid configured content: it emits only presence, validity, and a fixed type
|
|
76
|
+
classification, and includes the numeric `value` field only for a finite number.
|
|
77
|
+
For a valid resolution, the monitor report must include the resolved value and
|
|
78
|
+
source. Report only a validated numeric resolved value and one fixed source enum:
|
|
79
|
+
`local-current`, `committed-current`, `local-legacy`, `committed-legacy`, or
|
|
80
|
+
`default`.
|
|
81
|
+
|
|
18
82
|
## Orchestration: agent team
|
|
19
83
|
|
|
20
84
|
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.217.
|
|
3
|
+
"version": "2.217.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.217.
|
|
3
|
+
"version": "2.217.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.217.
|
|
3
|
+
"version": "2.217.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.217.
|
|
3
|
+
"version": "2.217.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.217.
|
|
3
|
+
"version": "2.217.4",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -15,6 +15,70 @@ Spot-check application health, **audit observability completeness**, and **file
|
|
|
15
15
|
- `--all-gaps` — also file `recommended`-tier gaps (session replay, product analytics, etc.), not just `core`. Does not change anomaly thresholds.
|
|
16
16
|
- `max_candidates=<n>` — cap tickets filed this run (default 20; config `monitor.maxCandidates`).
|
|
17
17
|
|
|
18
|
+
## Monitor threshold compatibility
|
|
19
|
+
|
|
20
|
+
Before resolving anomaly thresholds, inspect the committed
|
|
21
|
+
`.lisa.config.json` and local `.lisa.config.local.json` separately with `jq`.
|
|
22
|
+
Use a literal, fixed-path projection that returns presence and value for only
|
|
23
|
+
these four exact paths; do not use `Read`, `cat`, interpolation, or a filter
|
|
24
|
+
that emits either entire config into agent context:
|
|
25
|
+
|
|
26
|
+
- `monitor.thresholds.minEvents24h`, then
|
|
27
|
+
`monitor.thresholds.sentryMinEvents24h`.
|
|
28
|
+
- `monitor.thresholds.faultRatePct`, then
|
|
29
|
+
`monitor.thresholds.xrayFaultRatePct`.
|
|
30
|
+
|
|
31
|
+
Run this fixed filter once with literal final argument `.lisa.config.json` and
|
|
32
|
+
once with literal final argument `.lisa.config.local.json` when the respective
|
|
33
|
+
file exists:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
jq 'def threshold($object; $name):
|
|
37
|
+
if ($object | has($name)) then
|
|
38
|
+
($object[$name] | type) as $type |
|
|
39
|
+
if $type == "number" then
|
|
40
|
+
if ($object[$name] | isfinite and (isnan | not)) then
|
|
41
|
+
{present: true, valid: true, type: "number", value: $object[$name]}
|
|
42
|
+
else
|
|
43
|
+
{present: true, valid: false, type: "non-finite-number"}
|
|
44
|
+
end
|
|
45
|
+
else
|
|
46
|
+
{present: true, valid: false, type: $type}
|
|
47
|
+
end
|
|
48
|
+
else
|
|
49
|
+
{present: false, valid: false, type: "missing"}
|
|
50
|
+
end;
|
|
51
|
+
(.monitor.thresholds | if type == "object" then . else {} end) as $t |
|
|
52
|
+
{
|
|
53
|
+
"monitor.thresholds.minEvents24h": threshold($t; "minEvents24h"),
|
|
54
|
+
"monitor.thresholds.sentryMinEvents24h": threshold($t; "sentryMinEvents24h"),
|
|
55
|
+
"monitor.thresholds.faultRatePct": threshold($t; "faultRatePct"),
|
|
56
|
+
"monitor.thresholds.xrayFaultRatePct": threshold($t; "xrayFaultRatePct")
|
|
57
|
+
}' .lisa.config.json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
A nonzero `jq` result fails threshold collection; do not treat an uninspectable
|
|
61
|
+
present file as if it were absent.
|
|
62
|
+
|
|
63
|
+
For each exact path, keep the raw `jq` presence/value result from each file;
|
|
64
|
+
do not inject defaults during this merge. Local presence overrides committed
|
|
65
|
+
presence per path. After that merge, resolve the current key before the legacy
|
|
66
|
+
key, then use default `1` for `monitor.thresholds.minEvents24h` or default `5`
|
|
67
|
+
for `monitor.thresholds.faultRatePct`. Current key wins over legacy key even
|
|
68
|
+
when its configured value is invalid.
|
|
69
|
+
|
|
70
|
+
Every configured threshold must be a finite JSON number. If the selected path
|
|
71
|
+
is null, a string, a boolean, an object, an array, or otherwise non-finite,
|
|
72
|
+
fail threshold collection and report the exact path and source without echoing
|
|
73
|
+
the invalid value; never fall through to a legacy value or default. Never quote
|
|
74
|
+
or report either whole config. The fixed `jq` projection itself must redact
|
|
75
|
+
invalid configured content: it emits only presence, validity, and a fixed type
|
|
76
|
+
classification, and includes the numeric `value` field only for a finite number.
|
|
77
|
+
For a valid resolution, the monitor report must include the resolved value and
|
|
78
|
+
source. Report only a validated numeric resolved value and one fixed source enum:
|
|
79
|
+
`local-current`, `committed-current`, `local-legacy`, `committed-legacy`, or
|
|
80
|
+
`default`.
|
|
81
|
+
|
|
18
82
|
## Orchestration: agent team
|
|
19
83
|
|
|
20
84
|
You are "inside an agent team" only if you are yourself a spawned teammate or subagent — you were spawned into a team context, or your context names a team lead you report to. A lead/root session that has previously spawned subagents is still the lead and retains full authority to create this flow's team.
|