Appearance
Handoff: SVC-013-formula-runtime-boundary-audit formula-docx-service runtime boundary audit
Scope
- Service/area:
formula-docx-service - Task pack:
docs/agents/service-tasks/formula-docx-service.md - Goal: accept the bounded
SVC-013runtime-adapter evidence for the existing external Go Formula DOCX runtime and the docx-import-service adapter contract. - Non-goals: creating
services/formula-docx-service, public route promotion, OpenAPI service publication, K8s service promotion, MathType/OLE full corpus parity, or changes to legacy source under/Users/velikho/Desktop/WORKING/HOCTAPAZ/.
Docs Read
go-platform/docs/architecture/service-responsibility-matrix.mdgo-platform/docs/architecture/legacy-api-map.mdgo-platform/docs/agents/service-agent-execution-queue.jsongo-platform/docs/agents/service-agent-closeout-ledger.jsongo-platform/docs/agents/service-tasks/formula-docx-service.mdgo-platform/docs/agents/service-tasks/import-mathtype-conversion-boundary.mdgo-platform/docs/agents/agent-handoff-format.mdgo-platform/docs/api/docx-import-service.mdgo-platform/docs/qa/service-agent-goal-completion-audit.mdgo-platform/docs/qa/service-agent-readiness-smoke.md
Legacy Evidence Read
runtimes/go-formula-docx/**/Users/velikho/Desktop/WORKING/HOCTAPAZ/node-platform/apps/api/src/modules/formula-recognition/**/Users/velikho/Desktop/WORKING/HOCTAPAZ/node-platform/apps/api/src/modules/exam-paper-templates/**- External runtime and legacy source were read-only evidence only; no runtime source changes are claimed.
Files Changed
go-platform/docs/agents/handoffs/SVC-013-formula-runtime-boundary-audit.mdgo-platform/docs/agents/service-agent-closeout-ledger.jsongo-platform/docs/agents/service-agent-closeout-ledger.md
Behavior Implemented
- No new runtime code was implemented in this handoff.
- Existing audited docx-import-service adapter uses
GO_FORMULA_DOCX_URLor baseline fallback and calls/v1/import/docx/simple. - Existing audited adapter mapping preserves parser stats, latency, annotated fallback, warnings, and review-safety warnings.
- Existing audited runtime/deploy guards keep
go-formula-docxas an internal runtime image, not a deployableservices/formula-docx-serviceboundary.
Tests And Verification
- Command:
sh scripts/test/go-formula-runtime-coverage.sh - Result: passed.
- Evidence: runtime coverage verified Compose/Helm internal
GO_FORMULA_DOCX_URL,RUNTIME_IMAGES, and absence from deployable service lists. - Command:
GOTOOLCHAIN=go1.25.11 go test ./services/docx-import-service/internal/parser/docx -count=1 - Result: passed.
- Evidence: parser adapter package passed.
- Command:
GOTOOLCHAIN=go1.25.11 go test ./services/docx-import-service/... -count=1 - Result: passed.
- Evidence: all docx-import-service packages passed with the current runtime adapter contract.
Route State
- Legacy route: default
/api/exam-importremains legacy-proxied indeploy/gateway/routes.json. - Native route: formula-docx has no public route and no service-local
/v1route in Go platform. - Gateway state: no route table targets
formula-docx-service; this row is runtime-adapter evidence only. - Rollback: keep the current import-service adapter fallback and internal runtime wiring. Do not create or route a
formula-docx-serviceunless a later ADR explicitly promotes the runtime.
Data Notes
- Tables touched: none.
- Migration run: none.
- Validation report: not applicable because no data was migrated or backfilled.
Risks / Blockers
- MathType/OLE deterministic parity corpus, materialized refs, and status/download/accounting tests remain future import-service adapter work.
- No public API, default route, or deployable
formula-docx-servicepromotion is accepted here. - Runtime changes outside
go-platformrequire a separate user-approved task.
Next Step
- Keep MathType/OLE work inside import-service adapter tests and docs unless an ADR promotes the Go Formula runtime into a formal deployable service boundary.