Parent
Epic: #200 — unic-spec-review plugin.
What to build
Give the review the shared context it reasons from, computed once per run and injected into the agents that need it.
Two parts:
- Existing Confluence comments. Extend the vendored
atlassian-fetch with a Confluence comment-read path (footer and inline comments) so the review can take prior discussion on the page into account. Read-only.
- Landscape Brief. Add
landscape-detector, which derives a single Landscape Brief from repo manifests and file listing plus user-declared out-of-repo adjacent systems: detected stack, test setup and frameworks, available tooling, a reachable-prod flag, and the declared adjacent systems. The technology landscape is never hardcoded. The reviewer can declare adjacent systems (e.g. .NET services, the CMS) during intake.
The Landscape Brief is computed once during preflight and made available to inject into the Testability, Feasibility, Spec-versus-Live, and Non-functional agents (those agents arrive in S4; this slice produces and exposes the Brief plus the comment context). Mirrors how unic-pr-review computes Doc Context once and injects it.
Acceptance criteria
Blocked by
Parent
Epic: #200 — unic-spec-review plugin.
What to build
Give the review the shared context it reasons from, computed once per run and injected into the agents that need it.
Two parts:
atlassian-fetchwith a Confluence comment-read path (footer and inline comments) so the review can take prior discussion on the page into account. Read-only.landscape-detector, which derives a single Landscape Brief from repo manifests and file listing plus user-declared out-of-repo adjacent systems: detected stack, test setup and frameworks, available tooling, a reachable-prod flag, and the declared adjacent systems. The technology landscape is never hardcoded. The reviewer can declare adjacent systems (e.g. .NET services, the CMS) during intake.The Landscape Brief is computed once during preflight and made available to inject into the Testability, Feasibility, Spec-versus-Live, and Non-functional agents (those agents arrive in S4; this slice produces and exposes the Brief plus the comment context). Mirrors how
unic-pr-reviewcomputes Doc Context once and injects it.Acceptance criteria
atlassian-fetchcan read existing Confluence comments (footer and inline) for a page via the REST API with injectedfetch; read-only, no writes.landscape-detectorproduces a Landscape Brief from repo manifests + file listing + declared adjacent systems, with the stack/test-setup/tooling/reachable-prod/adjacent-systems fields; no hardcoded stack assumptions.node:testunit tests coverlandscape-detectorand theatlassian-fetchcomment-read path with injected deps; no live services.CHANGELOG.mdbullets under[Unreleased]and bumps the patch version;verify:changelogpasses. No em dash in authored text (except the mandated CHANGELOG version header).Blocked by
atlassian-fetch+ classifier rails).