gortex icon indicating copy to clipboard operation
gortex copied to clipboard

docs(temporal): Java EE / Jakarta EE edge-resolver spec + design + plan

Open avfirsov opened this issue 5 months ago • 2 comments

What

Adds the Java EE / Jakarta EE edge-resolver design docs (no code):

  • docs/java-ee-edge-resolvers.md — the spec/ТЗ: problem (Java EE wires components declaratively via annotations/descriptors → ~30% lost edges on a large monolith), per-subsystem rules (JMS, EJB, REST, SOAP, Servlet, CDI), synthetic nodes, edge-origin classification, priorities, acceptance criteria + metrics.
  • docs/design/06-javaee-synthesizer.md — how it maps onto gortex internals: the FrameworkSynthesizer extract→resolve split, layer-ownership table (EJB/CDI/JMS = synthesizer EdgeCalls; REST/SOAP = contract enrichment EdgeMatches; filter-chain = ordered-edge pass), EdgeImplements/EdgeExtends subtype resolution, contract-matcher reuse for cross-repo, confidence tiers, and settled decisions (ambiguity → hidden-speculative; @Resource signal-priority; @Alternative/@Specializes; audience via MetaSpeculative).
  • docs/design/07-javaee-implementation-plan.md — phased execution plan (0 shared infra, A EJB+CDI, B REST/Servlet, C JMS, D XML descriptors, E SOAP) with file touch-points, edge tiers, tests, sequencing and risk gates.

Why

Captures the design + roadmap for closing gortex's Java EE blind spots (today Java symbols index via tree-sitter but CDI/EJB/JMS/JAX-RS dispatch edges are missing) so the implementation can land as reviewable, independently-shippable PRs. Grounded in the actual gortex synthesizer/contract machinery (file:line touch-points in §12 of doc 06).

Docs-only — no code changes.

avfirsov avatar Jun 15 '26 05:06 avfirsov

Friendly ping @zzet 🙂 — CI is green (9/9) and the branch is MERGEABLE / CLEAN (no conflicts, not behind main). This one is docs-only (Java EE / Jakarta EE edge-resolver spec + design + plan), so it's low-risk to land. Happy to rebase or address any feedback whenever you get a chance. Thanks!

avfirsov avatar Jun 16 '26 11:06 avfirsov

Hey @avfirsov, I prefer to keep the documents in English in the repository. As well as I have to think if such type of docs are necessary to have in git or better to have a different format. Problem with those docs that they have to be maintained (not outdated).

zzet avatar Jun 16 '26 16:06 zzet