feat(captures): discover installed protocol and field definitions (#2496)

* feat(captures): discover installed protocol and field definitions

* test(captures): isolate the direct glossary oracle profile

* test(captures): accept padded kernel limit reports

* fix(captures): detach every retained glossary column

* fix(captures): describe every field discovery CLI option

* fix(captures): retain discovery operation across cleanup retries

---------

Co-authored-by: N0zoM1z0 <161784452+N0zoM1z0@users.noreply.github.com>
This commit is contained in:
Olorin
2026-10-13 15:55:25 +09:00
committed by GitHub
co-authored by N0zoM1z0
parent b9ee921560
commit 9c34c091b3
19 changed files with 1095 additions and 219 deletions
@@ -32,6 +32,9 @@ it.each([false, true])(
silentLogger,
{},
{
inspectFields: async () => {
throw new Error("Unexpected field discovery call");
},
inspect: async () => err(original),
close: async () => {
await Promise.resolve();
@@ -87,6 +90,9 @@ it("rejects an oversized selector budget before the CLI invokes its service", as
silentLogger,
{},
{
inspectFields: async () => {
throw new Error("Unexpected field discovery call");
},
inspect: async () => {
called = true;
throw new Error("Must not inspect");
@@ -125,6 +131,9 @@ it("rejects conflicting output options before the CLI invokes its service", asyn
silentLogger,
{},
{
inspectFields: async () => {
throw new Error("Unexpected field discovery call");
},
inspect: async () => {
called = true;
throw new Error("Must not inspect");