{"modulePath":"github.com/SaintsFlow/edigate","version":"v0.1.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/SaintsFlow/edigate/cmd/edigate","name":"main","synopsis":"Command edigate runs the gateway: config -\u003e database pool -\u003e migrations -\u003e edge + MCP server, the partner entrance and the operator entrance -\u003e HTTP server (/mcp, /edi/inbound, /ops/, /healthz), the relay that delivers the outbox (to the ERP, the warehouse and, as AS2 transmissions, to the partner) and the saga runner.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/cmd/edigatectl","name":"main","synopsis":"Command edigatectl is the operator tool of the gateway.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/adapters","name":"adapters","synopsis":"Package adapters holds the clients through which the relay performs effects in other systems.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/approval","name":"approval","synopsis":"Package approval holds the parts of the approval requests (flow P7) that are not SQL: what the operator is shown, how long a request lives, and the loop that closes requests whose time is over.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/audit","name":"audit","synopsis":"Package audit makes the audit log tamper-evident: a hash chain over the rows of a tenant, signed anchors every 100 rows (in the database and in a file outside it), and a check that finds an edited row or a cut tail.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/config","name":"config","synopsis":"Package config loads the gateway settings: an optional YAML file (flag --config) overridden by environment variables, checked at start.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/contracts","name":"contracts","synopsis":"Package contracts holds the JSON Schemas (draft 2020-12) of tool inputs and outputs, and the closed schemas of the quarantined reader's answers (notes/).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/decimal","name":"decimal","synopsis":"Package decimal reads and writes non-negative decimal numbers as whole counts of a small unit, so that money and quantities never pass through a floating point number.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/edge","name":"edge","synopsis":"Package edge is the gate in front of the gateway's two HTTP entrances: /mcp for agents and /edi/inbound for partners (the second is in internal/inbound).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/edi/document","name":"document","synopsis":"Package document holds the types of the stored document body and reads it back for the agent.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/edi/outbound","name":"outbound","synopsis":"Package outbound builds the documents the gateway sends to a partner: the 855 (order acknowledgment) and the 856 (ship notice).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/edi/x12","name":"x12","synopsis":"Package x12 is a strict reader and writer of ANSI X12 004010 interchanges.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/inbound","name":"inbound","synopsis":"Package inbound is the HTTP entrance for partners: POST /edi/inbound.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/mcpserver","name":"mcpserver","synopsis":"Package mcpserver registers the gateway's tools in the go-sdk server.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/mode","name":"mode","synopsis":"Package mode names the configurations the gateway can play (flag --mode, variable EDIGATE_MODE).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/ops","name":"ops","synopsis":"Package ops is the HTTP entrance of operators: /ops/.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/policy","name":"policy","synopsis":"Package policy asks the embedded OPA whether a tool call may go on, and at which price: at once, after one operator, or after two.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/quarantine","name":"quarantine","synopsis":"Package quarantine is the one place where a model reads partner text (control M5, flow P3).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/rpcerr","name":"rpcerr","synopsis":"Package rpcerr is the single error format of the gateway.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/sanitize","name":"sanitize","synopsis":"Package sanitize turns an accepted X12 set into what the agent may see: the typed body and the notes (control M1, the white list).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/store","name":"store","synopsis":"Package store owns the PostgreSQL pool, the embedded goose migrations and every SQL query of the gateway.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/store/storetest","name":"storetest","synopsis":"Package storetest gives tests a throwaway migrated database.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/taint","name":"taint","synopsis":"Package taint stops a reference to a note from reaching a tool that has an effect (control M3).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/tools","name":"tools","synopsis":"Package tools holds the services behind the MCP tools.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/txn","name":"txn","synopsis":"Package txn holds the pure parts of the guarantee \"at most one effect per business key\": the idempotency key (invariant I2), the hash of the request and the order payload (this file and order.go), and the relay that delivers the outbox (relay.go).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/txn/saga","name":"saga","synopsis":"Package saga drives the sagas (invariant I5): it looks at the open sagas again and again and does what each one needs next.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/internal/upstream","name":"upstream","synopsis":"The linter of tool descriptions: a signal for the administrator who pins a tool, not a border (control M2).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/mocks/control","name":"control","synopsis":"Package control holds the knobs of the mocks per tenant, for the slots of the benchmark.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/mocks/onec","name":"main","synopsis":"Command mock-onec runs mock-1c, the stand's stand-in for the 1C HTTP service.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/mocks/onec/server","name":"server","synopsis":"Package server is mock-1c: a small HTTP service that behaves like the HTTP service of a 1C installation for sales orders, for the test stand.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/mocks/partner","name":"main","synopsis":"Command partner-emulator runs the stand's trading partner (see mocks/partner/server).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/mocks/partner/server","name":"server","synopsis":"Package server is partner-emulator: the stand's trading partner that receives the documents the gateway sends and answers them the way a real partner does.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/mocks/wms","name":"main","synopsis":"Command mock-wms runs mock-wms, the stand's stand-in for the warehouse system.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/mocks/wms/server","name":"server","synopsis":"Package server is mock-wms: a small HTTP service that behaves like the warehouse system for the test stand.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/policies","name":"policies","synopsis":"Package policies embeds the Rego policy and its data into the binary, so that the gateway needs no files at run time.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/servers/adversarial/adversary","name":"adversary","synopsis":"Package adversary builds the three hostile MCP servers of the test stand.","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/servers/adversarial/common","name":"common","synopsis":"Package common is the shell of the three hostile MCP servers of the test stand (evil-validator, shadow-carrier, rugpull-rates).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/servers/adversarial/evil-validator","name":"main","synopsis":"Command evil-validator runs the hostile server with a poisoned description (TL-01).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/servers/adversarial/rugpull-rates","name":"main","synopsis":"Command rugpull-rates runs the hostile server whose description changes after RUGPULL_AFTER calls (default 3) of get_rates (TL-03, TL-04).","isRedistributable":true},{"path":"github.com/SaintsFlow/edigate/servers/adversarial/shadow-carrier","name":"main","synopsis":"Command shadow-carrier runs the hostile server with a tool that shadows a tool of the gateway (TL-02).","isRedistributable":true}],"total":40}}
