You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(portal): the per-patch log view for owners and admins #412
Part of #384. Implements the log view of spec §17; decisions the contract point 11, identity points 5 and 8, the view as picked on the design ticket.
What to build
A per-patch log page in the portal, reached from the patch card: the patch's invocations newest first, each an invocation tree reading "Alice · Sales CRM v12 · leads.import (action)" with its operation rows beneath ("warehouse.customers.list · as Alice", "leads.create (mutation) · as the patch"), outcome, timing and ctx.log lines. Owners open it for their own patches, admins for every patch, and reassignment moves the owner's access. The page says the log is an attribution record, not an access audit, and that ctx.log text is the patch's own. It is bounded and paged by cursor, composed from the shared component set under ui-consistency, and reads the runtime_invocations and runtime_calls columns as they are. The per-connection recent-calls list is unchanged.
Admitted at merge
Owners and admins read tier 2 logs.
Done when
An owner sees their patch's tree and not another owner's; an admin sees every patch; a reassigned patch's old owner is refused; a failed action shows the connection call that succeeded before it failed.
Surfaces
The Portal glossary if a term is added, docs/product.md (who reads the log), ui-consistency.
Activity
fix(portal): bound log reads and name the connection a call went to
fix(portal): bound log reads and name the connection a call went to
feat(portal): show a patch's log to its owner and admins (#451)