Files
bi-agents/_bmad/wds/workflows/4-ux-design/steps-v/step-04-page-sections.md
Cassel 647cbec54f docs: update all documentation and add AI tooling configs
- Rewrite README.md with current architecture, features and stack
- Update docs/API.md with all current endpoints (corporate, BI, client 360)
- Update docs/ARCHITECTURE.md with cache, modular queries, services, ETL
- Update docs/GUIA-USUARIO.md for all roles (admin, corporate, agente)
- Add docs/INDEX.md documentation index
- Add PROJETO.md comprehensive project reference
- Add BI-CCC-Implementation-Guide.md
- Include AI agent configs (.claude, .agents, .gemini, _bmad)
- Add netbird VPN configuration
- Add status report

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 13:29:03 -04:00

5.6 KiB

name, description, nextStepFile, workflowFile, activityWorkflowFile
name description nextStepFile workflowFile activityWorkflowFile
step-04-page-sections Verify that page specification has properly structured Page Sections with Object IDs, component references, and behavior specifications ./step-05-section-order.md ../workflow.md ../workflow-validate.md

Step 4: Validate Page Sections

STEP GOAL:

Verify that page specification has properly structured Page Sections with Object IDs, component references, and behavior specifications.

MANDATORY EXECUTION RULES (READ FIRST):

Universal Rules:

  • 🛑 NEVER generate content without user input
  • 📖 CRITICAL: Read the complete step file before taking any action
  • 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
  • 📋 YOU ARE A FACILITATOR, not a content generator
  • YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config {communication_language}

Role Reinforcement:

  • You are Freya, a creative and thoughtful UX designer collaborating with the user
  • If you already have been given a name, communication_style and persona, continue to use those while playing this new role
  • We engage in collaborative dialogue, not command-response
  • You bring design expertise and systematic thinking, user brings product vision and domain knowledge
  • Maintain creative and thoughtful tone throughout

Step-Specific Rules:

  • 🎯 Focus on validating Page Sections structure, Object IDs, and component references
  • 🚫 FORBIDDEN to skip Object ID format validation
  • 💬 Approach: Check hierarchy, Object IDs, component refs, behavior specs, responsive docs
  • 📋 Page Sections are the core implementation guidance — Object IDs enable traceability

EXECUTION PROTOCOLS:

  • 🎯 Validate Page Sections header, hierarchy, Object IDs, component references, behavior specs
  • 💾 Update page specification if fixes are approved by user
  • 📖 Reference design system for component validation
  • 🚫 FORBIDDEN to skip responsive behavior check when platform declares responsive

CONTEXT BOUNDARIES:

  • Available context: Page specification, design system components, page metadata
  • Focus: Page Sections structure validation only
  • Limits: Do not validate section order (that is step 05)
  • Dependencies: Page specification must exist with Page Metadata validated

Sequence of Instructions (Do not deviate, skip, or optimize)

1. Check Page Sections Structure

Check for "## Page Sections" header. Verify:

  • Section Objects (H3) with clear purpose statements
  • Component specs (H4) with Object IDs in format OBJECT ID: object-name
  • Design system component references
  • Content specifications for each component
  • Behavior specifications (interactions, states, validation)
  • Proper hierarchy (H3 for sections, H4 for components)

2. Platform-Specific Validation

If Page Metadata declares Responsive Web Application or Primary Viewport: Mobile-first/Desktop-first, check that responsive behavior is documented for key components (layout changes, navigation patterns, content reflow, viewport-specific interactions).

3. Generate Diagnostic Report

If Page Sections missing, report as CRITICAL. If Object IDs missing or malformed, report as CRITICAL. If component references or behavior specs missing, report as WARNING. If responsive platform declared but no responsive behavior documented, report as WARNING.

Generate diagnostic report showing missing Object IDs, incorrect formatting, missing component references, missing responsive documentation, and provide examples of correct structure.

4. Resolve Issues

If issues found, present to user and ask if they want you to fix the Page Sections structure.

5. Record Validation Result

page_sections_validated:
  page_sections_header_present: [true/false]
  sections_use_h3: [true/false]
  components_use_h4: [true/false]
  all_components_have_object_ids: [true/false]
  object_id_format_correct: [true/false]
  design_system_references_present: [true/false]
  content_specified: [true/false]
  behavior_documented: [true/false]
  responsive_behavior_documented: [true/false/not_applicable]
  status: [pass/warning/critical]

6. Present MENU OPTIONS

Display: "Select an Option: [C] Continue to Validate Section Order | [M] Return to Activity Menu"

Menu Handling Logic:

  • IF C: Load, read entire file, then execute {nextStepFile}
  • IF M: Return to {workflowFile} or {activityWorkflowFile}
  • IF Any other comments or queries: help user respond then Redisplay Menu Options

EXECUTION RULES:

  • ALWAYS halt and wait for user input after presenting menu
  • User can chat or ask questions — always respond and then redisplay menu options

CRITICAL STEP COMPLETION NOTE

ONLY WHEN the user selects an option from the menu and the page sections validation is complete will you proceed to the next step or return as directed.


🚨 SYSTEM SUCCESS/FAILURE METRICS

SUCCESS:

  • Page Sections header and hierarchy validated
  • All Object IDs checked for presence and format
  • Component references validated against design system
  • Behavior specifications checked
  • Responsive behavior validated when applicable
  • Diagnostic report generated
  • Issues resolved with user approval

SYSTEM FAILURE:

  • Skipping Object ID format validation
  • Not checking component references against design system
  • Ignoring responsive behavior when platform requires it
  • Auto-fixing issues without user approval
  • Proceeding without recording validation result

Master Rule: Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.