clearotron 0.7.0-beta.2 → 0.7.0-beta.3

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.
Files changed (131) hide show
  1. package/INSTALL.md +5 -5
  2. package/QUICKSTART.md +4 -4
  3. package/README.md +2 -2
  4. package/bin/README.md +3 -4
  5. package/bin/clearotron.mjs +1 -1
  6. package/bin/onboard.mjs +28 -40
  7. package/bin/status.mjs +11 -0
  8. package/build-info.json +2 -2
  9. package/docs/DELIVERY.md +30 -6
  10. package/docs/architecture/04-configuration-reference.md +1 -0
  11. package/driver/CHANGELOG.md +21 -0
  12. package/driver/compose-read.mjs +4 -3
  13. package/driver/contract-arm2-baseline.json +1 -2
  14. package/driver/contract-dictation-registry.mjs +7 -48
  15. package/driver/contract-e3-backlog.mjs +55 -52
  16. package/driver/contract-e3-baseline.json +22 -7
  17. package/driver/contract-vocabulary.mjs +4 -2
  18. package/driver/coverage-form.mjs +4 -0
  19. package/driver/coverage-rows-run.mjs +68 -4
  20. package/driver/engine/anthropic-agent.mjs +10 -13
  21. package/driver/engine/common.mjs +34 -22
  22. package/driver/engine/health.mjs +251 -0
  23. package/driver/engine/jx-turn.mjs +2 -1
  24. package/driver/engine/mcp/codex-config.mjs +16 -1
  25. package/driver/engine/mcp/crowd-note.mjs +1 -1
  26. package/driver/engine/mcp/gather-config.mjs +34 -9
  27. package/driver/engine/mcp/perplexity-server.mjs +33 -23
  28. package/driver/engine/mcp/recording-server.mjs +67 -58
  29. package/driver/engine/mcp/unit-note-server.mjs +2 -0
  30. package/driver/engine/openai-agent.mjs +9 -24
  31. package/driver/engine/probe.mjs +24 -7
  32. package/driver/findings-model.mjs +54 -0
  33. package/driver/jx-units.mjs +139 -30
  34. package/driver/knockout-assess-record.mjs +2 -2
  35. package/driver/knockout-correction-check.mjs +119 -0
  36. package/driver/knockout-correction-record.mjs +1 -1
  37. package/driver/knockout-frame-record.mjs +24 -10
  38. package/driver/knockout-review-record.mjs +35 -430
  39. package/driver/ladder/dispatch.mjs +4 -2
  40. package/driver/ladder/form-repair.mjs +5 -5
  41. package/driver/ladder/form-sync.mjs +4 -6
  42. package/driver/ladder/next-rung.mjs +10 -0
  43. package/driver/ladder/repair-messages.mjs +37 -65
  44. package/driver/ladder/stage.mjs +3 -3
  45. package/driver/ladder/turn-signals.mjs +4 -14
  46. package/driver/manual-paragraphs.mjs +22 -2
  47. package/driver/mark-logos.mjs +20 -5
  48. package/driver/package.json +1 -1
  49. package/driver/pipeline-knockout.mjs +2 -2
  50. package/driver/predelivery-lint.mjs +39 -7
  51. package/driver/product-fault.mjs +53 -0
  52. package/driver/publish/knockout.mjs +2 -1
  53. package/driver/publish/render.mjs +13 -7
  54. package/driver/recording-agreement.mjs +6 -4
  55. package/driver/register-band-run.mjs +2 -2
  56. package/driver/register-digest-record.mjs +31 -9
  57. package/driver/register-unit-record.mjs +10 -1
  58. package/driver/repair-composers.mjs +12 -11
  59. package/driver/repair-contract.mjs +6 -6
  60. package/driver/repair-targets.mjs +7 -6
  61. package/driver/run-outcome.mjs +8 -0
  62. package/driver/runner.mjs +42 -3
  63. package/driver/skills/README.md +5 -4
  64. package/driver/skills/blind-frame/SKILL.md +1 -1
  65. package/driver/skills/case-law-citation/SKILL.md +1 -1
  66. package/driver/skills/clearance-common-law/SKILL.md +6 -423
  67. package/driver/skills/clearance-common-law/grid.md +272 -0
  68. package/driver/skills/clearance-common-law/meaning.md +142 -0
  69. package/driver/skills/clearance-common-law/perplexity-prompts.md +4 -2
  70. package/driver/skills/clearance-register/SKILL.md +7 -174
  71. package/driver/skills/clearance-register/digest.md +89 -25
  72. package/driver/skills/clearance-register/providers/clarivate-questions.md +154 -0
  73. package/driver/skills/clearance-register/providers/clarivate.md +5 -149
  74. package/driver/skills/clearance-register/providers/signa-questions.md +120 -0
  75. package/driver/skills/clearance-register/providers/signa.md +3 -114
  76. package/driver/skills/clearance-register/providers/uspto-local.md +3 -3
  77. package/driver/skills/clearance-register/register-recipes.md +10 -10
  78. package/driver/skills/clearance-register/status-rules.md +2 -2
  79. package/driver/skills/clearance-register/unit.md +96 -54
  80. package/driver/skills/clearance-search/delivery-contract.md +11 -49
  81. package/driver/skills/clearance-search/firm-wide-reasoning.md +10 -13
  82. package/driver/skills/clearance-search/look-at-what-you-have.md +7 -0
  83. package/driver/skills/clearance-search/phase2-execution.md +12 -117
  84. package/driver/skills/clearance-search/report-card-rules.md +2 -2
  85. package/driver/skills/clearance-search/report-prose.md +30 -23
  86. package/driver/skills/clearance-search/synthesis-rules.md +27 -69
  87. package/driver/skills/clearance-search/worked-examples.md +11 -16
  88. package/driver/skills/clearance-variants/SKILL.md +7 -7
  89. package/driver/skills/clearance-variants/transliteration-scripts.md +2 -2
  90. package/driver/skills/frame-diff/SKILL.md +1 -1
  91. package/driver/skills/knockout-assess/SKILL.md +54 -41
  92. package/driver/skills/knockout-frame/SKILL.md +13 -12
  93. package/driver/skills/knockout-register-read/SKILL.md +2 -10
  94. package/driver/skills/matter-frame/SKILL.md +2 -2
  95. package/driver/skills/narrative-refutation/SKILL.md +7 -6
  96. package/driver/skills/placement-inquiry/SKILL.md +3 -3
  97. package/driver/skills/skeptic/SKILL.md +111 -0
  98. package/driver/skills/whatif-memo/SKILL.md +5 -2
  99. package/driver/stage-declarations.mjs +6 -0
  100. package/driver/stages-knockout.mjs +36 -38
  101. package/driver/stages.mjs +69 -64
  102. package/driver/steps/delivery.mjs +6 -4
  103. package/driver/steps/open-run.mjs +2 -0
  104. package/driver/steps/overview-and-cards.mjs +2 -2
  105. package/driver/steps/register-sweep.mjs +20 -1
  106. package/driver/steps/synthesis.mjs +28 -11
  107. package/driver/suite-census.json +213 -57
  108. package/driver/synthesis-record.mjs +24 -2
  109. package/driver/verify-knockout.mjs +23 -3
  110. package/driver/whatif-memo-run.mjs +39 -10
  111. package/driver/whatif-queue.mjs +53 -7
  112. package/mcp-server/CHANGELOG.md +4 -0
  113. package/mcp-server/lib/ops.mjs +19 -10
  114. package/mcp-server/lib/whatif.mjs +7 -6
  115. package/mcp-server/package.json +1 -1
  116. package/mcp-server/server.mjs +55 -19
  117. package/package.json +1 -1
  118. package/portal-ui/package.json +1 -1
  119. package/providers/clarivate/src/adapter.js +3 -0
  120. package/providers/jx/src/nativeread.js +5 -3
  121. package/providers/oauth-mcp-bridge/CHANGELOG.md +4 -0
  122. package/providers/oauth-mcp-bridge/package.json +1 -1
  123. package/providers/perplexity/src/core.js +7 -2
  124. package/providers/signa/src/adapter.js +3 -0
  125. package/scripts/e2e-first-time.mjs +2 -2
  126. package/shared/connector-signin-probe.mjs +1 -1
  127. package/shared/names-in-force.mjs +1 -0
  128. package/skills/clearotron-account/SKILL.md +21 -11
  129. package/skills/clearotron-client/SKILL.md +15 -15
  130. package/skills/clearotron-ops/COURIER.md +5 -1
  131. package/skills/clearotron-ops/SKILL.md +21 -14
@@ -19,10 +19,10 @@ a yes.
19
19
  **1. Is it a new matter?** The matter is the mark, not the thread. A forwarded reply quotes the original
20
20
  request beneath it, which makes a follow-up look like a fresh request, so check `list_runs` for the mark
21
21
  (in flight and recently delivered) and your own sent confirmation for the thread first. A bare "proceed"
22
- or a thank-you never starts a second search: reply once that the search is already running, and stop. A
23
- different mark in the same thread is a distinct matter and its own search. A changed instruction while
24
- a run is in flight goes in through `feed_context`. Only the requester's explicit "run it again" starts a
25
- second search of the same mark, with `dupOverride: true`.
22
+ or a thank-you never starts a second search: reply once that the search is already submitted, and stop. A
23
+ different mark in the same thread is a distinct matter and its own search. A newly named applicant, or
24
+ marks to exclude, go in through `feed_context` while a run is in flight; it carries nothing else. Only
25
+ the requester's explicit "run it again" starts a second search of the same mark, with `dupOverride: true`.
26
26
 
27
27
  **2. Read the brief out of the request.** Ask only for what is both impossible to infer and material.
28
28
  - The mark or marks, and what kind each is: a word, a logo, a slogan.
@@ -59,8 +59,12 @@ reports in the confirmation, above all a search or a scope narrower than the wor
59
59
  worldwide.
60
60
  - **Given:** what the request stated, said back briefly.
61
61
 
62
- End with **"Starting now on this understanding — reply to correct anything."**, and call `start_run`
63
- with the same arguments at once.
62
+ End with **"Submitted on this understanding — reply to correct anything."** Call `start_run` with the
63
+ same arguments at once. If validation refuses the submission, correct the named input and try once more.
64
+ If the ID is already queued or processing, check the existing order. If the outcome is unknown, check its
65
+ status before trying again. Confirm submission only after acceptance or after verifying that this order
66
+ was already submitted. Give the requester the actionable reason in plain words. Keep raw diagnostics for
67
+ staff.
64
68
 
65
69
  **5. What holds a search back.** Only two things: a mark that cannot be made out (absent, or with no
66
70
  clearly likely reading), and goods and classes both absent. Ask for the missing item, and start when the
@@ -71,11 +75,10 @@ answer arrives. Nothing else holds a search:
71
75
  - An unknown applicant never holds one. Lead the second group with the question, set
72
76
  `customerUnknown: true`, and start at once:
73
77
 
74
- > Who is the applicant? I've started the search — it doesn't depend on the answer — but until the
75
- > applicant is named I can't separate their own marks from third-party conflicts: an identical or
76
- > near-identical hit is reported as an ordinary conflict, carrying a note to disregard it if it's the
77
- > applicant's own prior filing. Reply as early as you can — I'll fold it in on a best-effort basis
78
- > while the search is still running.
78
+ > Who is the applicant? Until the applicant is named I can't separate their own marks from third-party
79
+ > conflicts: an identical or near-identical hit is reported as an ordinary conflict, carrying a note to
80
+ > disregard it if it's the applicant's own prior filing. Reply as early as you can — I'll fold it in on a
81
+ > best-effort basis while the search is still running.
79
82
 
80
83
  The answer goes in through `feed_context`. Never promise that an answer arriving any time before
81
84
  delivery will be folded in: a late answer is best effort.
@@ -105,8 +108,8 @@ Extract from the request, faithfully (verbatim beats paraphrase):
105
108
  - **`customer`** — the applicant/owner name as stated. Omitting it arms the engine's late-bind
106
109
  watch; supply it later via `feed_context` when the requester answers.
107
110
  - **`upfrontInstructions`** — the requester's per-mark guidance, VERBATIM. Do not summarize away
108
- constraints ("run X only", "Y is our own mark, not a conflict"). (Mid-run guidance goes through
109
- `feed_context`, whose field is `instructions`.)
111
+ constraints ("run X only", "Y is our own mark, not a conflict"). (`feed_context` takes only the
112
+ applicant and exclusions; it carries no instructions.)
110
113
  - **`jurisdictions`** — the territories, when the requester names them ("EU and US only"). Present,
111
114
  they are AUTHORITATIVE: the search is told not to widen past them. Omit and the account's own
112
115
  default territories apply. Names or codes both read; max 20. Each search accepts its own geography
@@ -144,6 +147,10 @@ The call returns the accepted job (or a validation refusal telling you exactly w
144
147
 
145
148
  ## While a run is in flight
146
149
 
150
+ - **Submitted is not started.** Acceptance means the order was submitted. The engine claims a submitted
151
+ search when a slot is free, then checks that it can run. Report a start once the matching run has a
152
+ status, and give its actual state. A search that fails before it starts reaches you as a
153
+ `pre-run-failed` outbox event.
147
154
  - **`get_run` / `list_runs`** — state, current step, verdict when reached. Answer a requester's "how is
148
155
  it going?" from what these return. An engine you cannot reach and a search that has made no progress
149
156
  are different facts: say "I could not reach the engine" for the first and "no progress since <time>"
@@ -159,7 +166,7 @@ The call returns the accepted job (or a validation refusal telling you exactly w
159
166
  ## Discipline
160
167
 
161
168
  - **One submission per request.** The engine's queue is the handoff; do not re-submit on silence —
162
- check `get_run` instead. Failures REACH YOU as outbox events; silence means it is still working.
169
+ check `get_run` instead. Failures REACH YOU as outbox events. Check the order's status before reporting progress.
163
170
  - **You are not the analyst.** Never editorialize engine output toward the requester; the packets
164
171
  and reports are the deliverable, written by the engine (see `COURIER.md`).
165
172
  - **Least privilege.** Your token should carry only the verbs you use (`mcp-server/packs/ops/CONNECT.md`); if a call is