@f-o-h/cli 0.1.42 → 0.1.44

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.
@@ -0,0 +1,19 @@
1
+ {
2
+ "schema_version": "external_agent_metadata.v1",
3
+ "docs_pages_used": [
4
+ "https://frontofhouse.okii.uk/llms.txt",
5
+ "https://frontofhouse.okii.uk/guides/cli-install-and-upgrade"
6
+ ],
7
+ "decisions": [
8
+ "Used setup --phone-mode observe because FOH_CLI_SPEND_POLICY=no_spend was active.",
9
+ "Used UK Buyer Qualification template because proof/certification requires decision-rich scenarios."
10
+ ],
11
+ "blocker_reason_codes": [
12
+ "simulation_certification_failed"
13
+ ],
14
+ "artifacts_created": [
15
+ "run.json",
16
+ "commands.ndjson",
17
+ "external-agent-metadata.json"
18
+ ]
19
+ }
@@ -55,6 +55,7 @@
55
55
  "replay_packet": null,
56
56
  "knowledge_packet": null,
57
57
  "improvement_packet": "improvement-packet.json",
58
+ "agent_metadata": "external-agent-metadata.json",
58
59
  "notes": "notes.md"
59
60
  },
60
61
  "summary": "Agent installed the CLI but could not identify the shortest widget proof path without human direction.",
@@ -4,6 +4,12 @@
4
4
  "source_type": "knowledge_miss",
5
5
  "reason_code": "knowledge_query_no_match",
6
6
  "promotion_decision": "fix_docs",
7
+ "owner_subsystem": "docs",
8
+ "routing": {
9
+ "owner_subsystem": "docs",
10
+ "promotion_decision": "fix_docs",
11
+ "reason_family": "docs"
12
+ },
7
13
  "ids": {
8
14
  "org_id": "org_example",
9
15
  "agent_id": "agent_example",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@f-o-h/cli",
3
- "version": "0.1.42",
3
+ "version": "0.1.44",
4
4
  "description": "FOH CLI - AI-operator provisioning tool for Front Of House",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://frontofhouse.okii.uk/schemas/external-agent-metadata.schema.json",
4
+ "title": "FOH External Agent Metadata",
5
+ "type": "object",
6
+ "required": ["schema_version", "docs_pages_used"],
7
+ "properties": {
8
+ "schema_version": { "const": "external_agent_metadata.v1" },
9
+ "docs_pages_used": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "string",
13
+ "pattern": "^https://frontofhouse\\.okii\\.uk(?:/.*)?$"
14
+ }
15
+ },
16
+ "decisions": {
17
+ "type": "array",
18
+ "items": { "type": "string" }
19
+ },
20
+ "blocker_reason_codes": {
21
+ "type": "array",
22
+ "items": { "type": "string" }
23
+ },
24
+ "artifacts_created": {
25
+ "type": "array",
26
+ "items": { "type": "string" }
27
+ }
28
+ },
29
+ "additionalProperties": true
30
+ }
@@ -90,6 +90,7 @@
90
90
  "replay_packet": { "type": ["string", "null"] },
91
91
  "knowledge_packet": { "type": ["string", "null"] },
92
92
  "improvement_packet": { "type": ["string", "null"] },
93
+ "agent_metadata": { "type": ["string", "null"] },
93
94
  "notes": { "type": ["string", "null"] }
94
95
  },
95
96
  "additionalProperties": true
@@ -6,10 +6,12 @@
6
6
  "required": [
7
7
  "schema_version",
8
8
  "created_at",
9
- "source_type",
10
- "reason_code",
11
- "promotion_decision",
12
- "ids",
9
+ "source_type",
10
+ "reason_code",
11
+ "promotion_decision",
12
+ "owner_subsystem",
13
+ "routing",
14
+ "ids",
13
15
  "evidence",
14
16
  "next_commands"
15
17
  ],
@@ -29,10 +31,30 @@
29
31
  ]
30
32
  },
31
33
  "reason_code": { "type": "string", "minLength": 1 },
32
- "promotion_decision": {
33
- "type": "string",
34
- "enum": ["ignore", "fix_docs", "fix_config", "fix_cli", "fix_api", "fix_runtime", "add_test"]
35
- },
34
+ "promotion_decision": {
35
+ "type": "string",
36
+ "enum": ["ignore", "fix_docs", "fix_config", "fix_cli", "fix_api", "fix_runtime", "add_test"]
37
+ },
38
+ "owner_subsystem": {
39
+ "type": "string",
40
+ "enum": ["docs", "cli", "api_contract", "runtime", "voice_contact", "dojo_certification", "infra_runner", "product_ux"]
41
+ },
42
+ "routing": {
43
+ "type": "object",
44
+ "required": ["owner_subsystem", "promotion_decision", "reason_family"],
45
+ "properties": {
46
+ "owner_subsystem": {
47
+ "type": "string",
48
+ "enum": ["docs", "cli", "api_contract", "runtime", "voice_contact", "dojo_certification", "infra_runner", "product_ux"]
49
+ },
50
+ "promotion_decision": {
51
+ "type": "string",
52
+ "enum": ["ignore", "fix_docs", "fix_config", "fix_cli", "fix_api", "fix_runtime", "add_test"]
53
+ },
54
+ "reason_family": { "type": "string", "minLength": 1 }
55
+ },
56
+ "additionalProperties": false
57
+ },
36
58
  "ids": {
37
59
  "type": "object",
38
60
  "properties": {