POWorkspaceagentic kit · product owner
← All runs

Reaching out about agentic-kit.site

Author backlog · innovation-group · po-fb4ef635

completedJira: KAN-150, KAN-151, KAN-152, KAN-153
[po-ticket-author running] Pipeline started — https://github.com/N-iX-GenAI-Value-LAB/observability-server/actions/runs/30194066349
[po-ticket-author running] Phase discovery started — restating intent and resolving open decisions for AI automation in PO Workspace
[po-ticket-author running] Phase discovery completed — 6 open decisions resolved. Starting story decomposition.
[po-ticket-author running] Phase story started — decomposing intent into 2 epics and 4 sprint-sized stories
[po-ticket-author running] Phase story completed — 2 epics, 4 stories authored with typed Jira fields. Starting AC phase.
[po-ticket-author running] Phase ac completed — 17 Given/When/Then bullets across 4 stories. Backlog lint passed (strict). Creating Jira issues.

Backlog

Epic: AI-Assisted Pipeline Run Triggering3 stories
  1. Auto-populate PO Workspace intent form using AI context inference
    • Given I am a Product Owner on the PO Workspace trigger page and my clipboard contains a product feature description of at least 10 words, When the page finishes loading, Then the intent textarea is pre-populated with the clipboard text and a banner element with data-testid='ai-prefill-banner' is visible reading 'AI pre-filled from clipboard — edit or clear below'.
    • Given the intent textarea is pre-populated from clipboard and the banner is visible, When I click the element with data-testid='clear-ai-suggestion', Then the textarea value is set to an empty string, the banner element is removed from the DOM, and focus is placed on the textarea.
    • Given my clipboard is empty or contains fewer than 10 words, When the page finishes loading, Then the intent textarea value is an empty string and no element with data-testid='ai-prefill-banner' exists in the DOM.
    • Given the browser clipboard read permission is denied (PermissionState='denied'), When the page finishes loading, Then the intent textarea remains empty, no banner is shown, and console.warn is called once with the message 'Clipboard access denied — skipping AI pre-fill'.
  2. One-click re-run of last successful pipeline configuration
    • Given I have at least one completed PO pipeline run stored in session history, When I open the PO Workspace trigger page, Then a button with data-testid='rerun-last-config' is visible above the intent form, and its label includes the previous run's team slug and the first 60 characters of its intent text.
    • Given the 'Re-run last config' button is visible, When I click it, Then the intent textarea is set to the previous run's intent value, the team selector value is set to the previous run's team slug, and a confirmation banner with data-testid='rerun-banner' reads 'Loaded last run — click Run Pipeline to confirm.'
    • Given no completed pipeline runs exist in session history, When I open the PO Workspace trigger page, Then document.querySelector('[data-testid="rerun-last-config"]') returns null (the button is not rendered in the DOM).
    • Given the 'Re-run last config' button is visible and I populate the form with its values, When the POST /flows/po/submit request returns HTTP 503, Then the Run Pipeline button returns to its idle label 'Run Pipeline', an inline error element with data-testid='submit-error' reads 'Pipeline submission failed — try again', and the intent textarea and team selector retain their populated values.
  3. AI-suggested team mapping based on intent content
    • Given I am typing in the intent textarea and the current value reaches at least 20 characters, When 800 ms elapse without further keystrokes (debounce), Then a tooltip with data-testid='team-suggestion-tooltip' appears near the team selector displaying 'Suggested: <team-slug> (NN%)' where NN is the confidence score returned by the suggestion endpoint.
    • Given the team suggestion tooltip is visible, When I click the suggested team in the tooltip, Then the team selector value is set to the suggested team slug, the tooltip element is removed from the DOM, and no further suggestion fires for this typing session.
    • Given the team suggestion tooltip is visible, When I manually select a different team from the dropdown, Then the tooltip element is removed from the DOM and no further suggestion tooltip appears for the remainder of the current intent session.
    • Given the suggestion API returns HTTP 200 with an empty suggestions array, When the 800 ms debounce fires, Then no element with data-testid='team-suggestion-tooltip' is rendered and no console error is logged.
    • Given the suggestion API returns HTTP 500 or the request exceeds 2000 ms without a response, When the debounce fires, Then no tooltip is rendered, the intent form remains fully interactive, and console.warn is called with the message 'Team suggestion unavailable'.
Epic: Automation Configuration and Controls1 story
  1. Opt-in AI automation toggle in PO Workspace session settings
    • Given I am on the PO Workspace settings panel and the AI Assistance toggle with data-testid='ai-assist-toggle' shows state OFF, When I click the toggle, Then the toggle aria-checked attribute changes to 'true', localStorage.getItem('po_workspace_ai_assist') returns 'true', and a toast notification with data-testid='settings-toast' reads 'AI Assistance enabled'.
    • Given the AI Assistance toggle shows state ON, When I click the toggle to turn it OFF, Then the toggle aria-checked attribute changes to 'false', localStorage.getItem('po_workspace_ai_assist') returns 'false', any element with data-testid='ai-prefill-banner' is removed from the DOM, and the toast reads 'AI Assistance disabled'.
    • Given localStorage contains po_workspace_ai_assist='false', When I navigate to the PO Workspace trigger page, Then no element with data-testid='ai-prefill-banner' is in the DOM, document.querySelector('[data-testid="rerun-last-config"]') returns null, and no element with data-testid='team-suggestion-tooltip' is rendered during the session.
    • Given localStorage is unavailable (SecurityError thrown on setItem), When I click the AI Assistance toggle, Then the toggle reflects the new state in the UI for the current session, a warning banner with data-testid='storage-warning' reads 'Setting not saved — storage unavailable', and all AI features respect the toggled state until the page is refreshed.