Skip to content

Add interactive prompt for configuration file setup (filters & publishing overrides) #120

Open

Description

@petehauge

Problem

After running apiops init to scaffold the repo and the identity prompt to connect GitHub & Azure, there is no guided experience for setting up configuration files (extraction filters and publishing overrides). Users must manually create and edit these files, which is error-prone and requires deep knowledge of the configuration schema.

Context — Current Onboarding Flow

  1. apiops init — scaffolds the repo structure and CI/CD pipelines
  2. Identity prompt — connects GitHub & Azure (OIDC, service principals, etc.)
  3. First extraction — pulls down the current APIM state into the repo
  4. ❌ Missing step — no guided setup for configuration files

Proposed Solution

Add a new interactive prompt (e.g., apiops configure or a post-extraction prompt) that helps users produce well-structured configuration files after their first extraction. The prompt should:

1. Review Extracted Files

  • Scan the extracted APIM artifacts to understand what resources exist (APIs, named values, backends, products, etc.)
  • Identify resources that commonly need per-environment overrides (e.g., named values with secrets, backend URLs, etc.)

2. Generate Filter Configuration

  • Walk the user through which APIs/resources to include or exclude from publishing
  • Produce the appropriate filter/extraction configuration file

3. Generate Publishing Override Configuration

4. Interactive & Best-Effort

  • The prompt should be conversational — guide the user through decisions rather than requiring upfront knowledge
  • Make sensible defaults and best-effort suggestions based on the extracted artifacts
  • Allow the user to review and confirm before writing files

Acceptance Criteria

  • New interactive prompt is available to run after the first extraction
  • Prompt scans extracted artifacts and identifies resources needing overrides
  • Prompt interactively asks users about environment-specific values (especially secrets/production placeholders)
  • Generates filter configuration for extraction
  • Generates per-environment publishing override configuration files
  • Uses {#[TOKEN_NAME]#} placeholder syntax for secret values
  • Provides sensible defaults and best-effort suggestions
  • Documentation explains when and how to run this prompt in the onboarding flow

Activity

  1. changed the title [-]feat: Add interactive prompt for configuration file setup (filters & publishing overrides)[/-] [+]Add interactive prompt for configuration file setup (filters & publishing overrides)[/+] on Jun 8, 2026
  2. github-actions commented on Jun 22, 2026

    @github-actions

    🏗️ Squad Triage — ApiOpsLead (🏗️ Tech Lead)

    Issue: #120 — Add interactive prompt for configuration file setup (filters & publishing overrides)
    Assigned to: ApimExpert (🔵 APIM Expert)
    Reason: Issue relates to backend/API work

    Team roster:

    • ApiOpsLead (🏗️ Tech Lead) → label: squad:apiopslead
    • ApimExpert (🔵 APIM Expert) → label: squad:apimexpert
    • ApicExpert (🟣 APIC Expert) → label: squad:apicexpert
    • TypeScriptDev (🔷 TypeScript Developer) → label: squad:typescriptdev
    • NodeJsDev (🟢 Node.js Developer) → label: squad:nodejsdev
    • TestEngineer (🧪 Test Engineer) → label: squad:testengineer
    • OpenSourceExpert (⚖️ Open Source Expert) → label: squad:opensourceexpert
    • CodeReviewer (🔍 Code Reviewer & Standards Enforcer) → label: squad:codereviewer
    • AzdoExpert (🔶 Azure DevOps Expert) → label: squad:azdoexpert
    • GitHubExpert (⚫ GitHub Expert) → label: squad:githubexpert
    • DocWriter (📝 Technical Writer) → label: squad:docwriter
    • SecurityExpert (🔒 Security Expert) → label: squad:securityexpert
    • Ralph (🔄 Work Monitor) → label: squad:ralph

    To reassign, remove the current squad:* label and add the correct one.

  3. added a commit that references this issue on Jun 22, 2026
    31d1dbf
  4. github-actions commented on Aug 7, 2026

    @github-actions

    ⚠️ Stale issue notice — This issue has had no activity for 30 day(s).

    It will be automatically closed after 60 days of inactivity.

    To keep this issue open:

    • Leave a comment describing the current status, or
    • Remove the stale label.

    This notice was posted automatically by the stale issue workflow.

  5. added
    staleNo activity for 30+ days — will be closed if no further activity
    on Aug 7, 2026
  6. added
    P2Next sprint
    and removed
    staleNo activity for 30+ days — will be closed if no further activity
    on Aug 27, 2026
  7. added
    staleNo activity for 30+ days — will be closed if no further activity
    on Sep 27, 2026
  8. github-actions commented on Sep 27, 2026

    @github-actions

    ⚠️ Stale issue notice — This issue has had no activity for 30 day(s).

    It will be automatically closed after 60 days of inactivity.

    To keep this issue open:

    • Leave a comment describing the current status, or
    • Remove the stale label.

    This notice was posted automatically by the stale issue workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P2Next sprintgo:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membersquad:apimexpertAssigned to ApimExpert (🔵 APIM Expert)staleNo activity for 30+ days — will be closed if no further activity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions