Issue #1: Refactor and rethink of the plan attributes #2
Loading…
Reference in a new issue
No description provided.
Delete branch "issue/1-plan-attributes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Drops redundant, non-operator-facing attributes from the plan detail page (
/plans/[id]): the fullId(UUID, already the route param),Commit(opaque hash, always empty for steps plans),Kind(raw remediation|diagnostic enum that drives agent-role scoring, not an operator decision), and the audit-onlyownerIdbadge (per ADR-005 the organization is the only owner key; ownerId is audit-only). Updates UC-FE-41 to match. Closes #1.Presentation-only: middleware model, DB schema and API contract untouched — every field stays on
Plan.Gates (all exit 0): docs/use-cases/_check.py; scripts/check-ai-headers.py; scripts/check-type-mirror.py; dashboard bun run test (230 passed); dashboard bun run check (0 errors); dashboard bun run build.
Flagged for review: (1)
Kindis functional in coordinator.ts — restore that row if the page should advertise remediation vs diagnostic; (2)ownerIdbadge still rendered on /plans, sources, installs (tests pin those strings) — out of scope; (3) UC-FE-41 drift: it listed a Share button that does not exist.579562d5e4toda64615c24da64615c24tof90c374333Rebased onto
develop(now33143a0) and force-pushed with--force-with-lease: the branch was cut from the olddevelop(7259c35) andmain/develophad since added the git-plans work (0032, run-branch selector, tab scroll).Conflict resolution, both edits kept where they are independent:
develop's Run-branch selector block andsetRunBranch, anddevelop'soverflow-x-autotab list;ownerIdbadge,Id,Commit,Kind;UC-FE-41merged (version 2026-10-03, issue's story, facts-card list without Id/Commit/Kind).Verified on the rebased tip
f90c374:svelte-check0 errors,bun run test238 passed,bun run buildok,docs/use-cases/_check.pyok.