Phase A — http-capability-gateway↔BoJ contract, policy workflow, example spec#74
Phase A — http-capability-gateway↔BoJ contract, policy workflow, example spec#74hyperpolymath wants to merge 3 commits into
Conversation
…xample Verb Governance Spec
Phase A of the http-capability-gateway tier-2 wiring programme
(ADR 0004 / docs/integration/http-capability-gateway-plan.md).
A1: docs/integration/http-capability-gateway-boj-contract.md — the
normative HTTP contract between the gateway (front) and BoJ's
unified Zig API gnosis handler (back): transport, port allocation,
forwarded headers, the X-Trust-Level trusted-proxy invariant, and
error/circuit-breaker semantics.
A2: docs/integration/http-capability-gateway-policy-workflow.md —
the Verb Governance Spec authoring, review, load, and hot-reload
workflow.
A3: config/gateway-policy-boj-example.yaml — a DSL v1 example policy
derived from docs/specification/openapi.yaml, conforming to the
schema documented in the integration audit §2.
Documentation only. No gateway or BoJ code changed; the example
policy is not loaded by any running service. Build is unaffected.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 28 issues detected
View findings[
{
"reason": "Stale AI session file -- delete",
"type": "stale",
"file": "GEMINI.md",
"action": "delete",
"rule_module": "root_hygiene",
"severity": "medium"
},
{
"reason": "Issue in quality.yml",
"type": "missing_workflow",
"file": "quality.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in security-policy.yml",
"type": "missing_workflow",
"file": "security-policy.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/sanctify-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/academic-workflow-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/fireflag-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/ephapax-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/bofig-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/hesiod-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
…ntion) The estate repo-structure governance gate rejects a new top-level `config/` directory: boj-server's established convention is the existing `configs/` (plural) directory (see configs/config.ncl). The integration plan named the path `config/` (singular); this adapts to the real tree per the plan's documented Phase A "surface drift" risk. - configs/gateway-policy-boj-example.yaml (was config/...) - doc references in the A1 contract and A2 workflow updated to configs/ - A2 §1 gains an explicit path note recording the plan-vs-repo correction Documentation only; no code changed. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
Scope/attribution note (automated CI triage). This PR is documentation-only: two Markdown files under None of the 28 Hypatia findings are introduced by this PR — all are pre-existing, repo-wide conditions that report on every PR and would fail identically on
The one diff-attributable nit — a stray top-level 🤖 Generated with Claude Code Generated by Claude Code |
|
Programme coordination — http-capability-gateway tier-2 wiring (Refs hyperpolymath/standards#91) A second programme session checked the channel and is standing down for this run to avoid duplication. Status:
Next action: once #74's CI is green and the branch is updated against Scope note: 🤖 Generated with Claude Code Generated by Claude Code |
|
Superseded by #78 (commit b733860), the canonical Phase A — http-capability-gateway↔BoJ contract + policy authoring workflow + example spec — already merged to |
🔍 Hypatia Security ScanFindings: 28 issues detected
View findings[
{
"reason": "Stale AI session file -- delete",
"type": "stale",
"file": "GEMINI.md",
"action": "delete",
"rule_module": "root_hygiene",
"severity": "medium"
},
{
"reason": "Issue in quality.yml",
"type": "missing_workflow",
"file": "quality.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in security-policy.yml",
"type": "missing_workflow",
"file": "security-policy.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/sanctify-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/academic-workflow-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/fireflag-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/ephapax-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/bofig-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/boj-server/boj-server/cartridges/hesiod-mcp/adapter/mod.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
Phase A — Contract Definition (weeks 1–2)
First materially-advancing PR of the http-capability-gateway tier-2 wiring
programme. Delivers all three Phase A artefacts from
docs/integration/http-capability-gateway-plan.md. Documentation only — nogateway or BoJ code changed; the build is unaffected (plan acceptance
criterion: "No code changes to gateway or BoJ gnosis handler").
Deliverables
docs/integration/http-capability-gateway-boj-contract.md— thenormative gateway↔BoJ HTTP contract. Resolves the Phase A transport
indecision risk (staging = TCP loopback :7700; production = Unix socket
preferred, TCP fallback), enumerates the forwarded-header set, and states
the
X-Trust-Leveltrusted-proxy invariant as RFC-2119 MUSTs handed toPhase C as seam-test obligations. Fail-closed error/circuit-breaker
semantics documented.
docs/integration/http-capability-gateway-policy-workflow.md— wherethe Verb Governance Spec lives (
config/gateway-policy.yaml, this repo),the authorship + review + openapi-coupling gate, the validation procedure,
the k9-svc rolling-redeploy hot-reload path, and the
global_verbsdefault-public sharp edge with BoJ's default-deny mitigation.
config/gateway-policy-boj-example.yaml— a DSL v1 worked examplederived route-by-route from
docs/specification/openapi.yaml, conformingto the schema in the integration audit §2. Example/fixture only; no service
loads it.
Scope note
This session's GitHub tool scope is restricted to
hyperpolymath/boj-serverand
hyperpolymath/http-capability-gateway;hyperpolymath/standardsis notreachable from here, so the standards issues could not be read or commented
on directly. Phase A lands entirely in
boj-serverper the plan, so the workitself is unaffected; the issue references below are recorded for tracking.
Refs hyperpolymath/standards#91
Closes hyperpolymath/standards#96
🤖 Generated with Claude Code
Generated by Claude Code