Skip to content

Improve source-of-truth detection for adoption analysis #2

Closed

Description

@Zach677

Context

The analyzer should avoid adding a parallel workflow when a repo already has a source of truth for project generation, dependency management, or validation.

Scope

Improve detection for common workflow surfaces:

  • XcodeGen (project.yml, generated project patterns)
  • Fastlane
  • Bazel / Buck
  • Just
  • GitHub Actions workflows
  • custom scripts/ validation entrypoints
  • existing Makefile / mise interactions

Acceptance

  • preserve-existing-workflow does not recommend adding conflicting command surfaces.
  • JSON output explains the detected source_of_truth or existing command surfaces clearly enough for another Agent to act safely.
  • Regression tests cover at least Fastlane, XcodeGen, and one custom script workflow.

Activity

  1. linear-code commented on May 20, 2026

    @linear-code
  2. Zach677 commented on Jun 12, 2026

    @Zach677
    OwnerAuthor

    Scoping this down: XcodeGen, Fastlane, and custom scripts/ entrypoints are the surfaces this template's audience actually hits, so they stay in scope. Bazel and Buck detection is deferred until a real repository that uses them shows up.

    Related note for whoever picks this up: SKILL.md's Scenario Guidance section duplicates some of the analyzer's advice prose. When adding new detection surfaces, single-source that guidance instead of growing both copies.

  3. Zach677 commented on Jul 18, 2026

    @Zach677
    OwnerAuthor

    @Zach677 Fixed on main in 746b08c. The analyzer now preserves XcodeGen as the project source of truth, reports Fastlane and root validation scripts as existing command surfaces without proposing parallel mise or DevKit workflows, and rejects external symlink evidence; CI passed across tooling, app builds, and Catalyst tests.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions