Skip to content

audit: constant backed slug literal in data-machine (25) #1786

@homeboy-ci

Description

@homeboy-ci

Audit: constant backed slug literal

Component: data-machine
Count: 28 findings
Last run: https://github.com/Extra-Chill/data-machine/actions/runs/25473779213
Updated: 2026-05-07T03:09:07Z
Homeboy: homeboy 0.158.0+d6fcc445 | Action: Extra-Chill/homeboy-action@v2

Findings

File Description Suggestion
inc/Engine/Bundle/AgentBundleFlowFile.php Raw slug literal prompt_queue at line 128 duplicates constant DM_System_Task_Config_Passthrough_QueueAbility_Stub::SLOT_PROMPT_QUEUE Use DM_System_Task_Config_Passthrough_QueueAbility_Stub::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
inc/Engine/Bundle/AgentBundleFlowFile.php Raw slug literal prompt_queue at line 128 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
inc/Engine/Bundle/AgentBundleFlowFile.php Raw slug literal prompt_queue at line 128 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
inc/Engine/Bundle/AgentBundleFlowFile.php Raw slug literal prompt_queue at line 128 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
inc/Engine/Bundle/AgentBundleFlowFile.php Raw slug literal prompt_queue at line 128 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
inc/Engine/Bundle/AgentBundleFlowFile.php Raw slug literal prompt_queue at line 128 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
inc/Engine/Bundle/AgentBundleFlowFile.php Raw slug literal prompt_queue at line 128 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
inc/Engine/Bundle/AgentBundleFlowFile.php Raw slug literal prompt_queue at line 128 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
inc/Engine/Bundle/AgentBundleFlowFile.php Raw slug literal prompt_queue at line 128 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
inc/migrations/site-md.php Raw slug literal data-machine at line 369 duplicates constant DrainCommand::GROUP Use DrainCommand::GROUP instead of repeating the literal slug so the constant remains the source of truth.
inc/migrations/site-md.php Raw slug literal data-machine at line 369 duplicates constant DrainJobAbility::GROUP Use DrainJobAbility::GROUP instead of repeating the literal slug so the constant remains the source of truth.
inc/migrations/site-md.php Raw slug literal data-machine at line 369 duplicates constant RecurringScheduler::GROUP Use RecurringScheduler::GROUP instead of repeating the literal slug so the constant remains the source of truth.
inc/migrations/site-md.php Raw slug literal data-machine at line 425 duplicates constant DrainCommand::GROUP Use DrainCommand::GROUP instead of repeating the literal slug so the constant remains the source of truth.
inc/migrations/site-md.php Raw slug literal data-machine at line 425 duplicates constant DrainJobAbility::GROUP Use DrainJobAbility::GROUP instead of repeating the literal slug so the constant remains the source of truth.
inc/migrations/site-md.php Raw slug literal data-machine at line 425 duplicates constant RecurringScheduler::GROUP Use RecurringScheduler::GROUP instead of repeating the literal slug so the constant remains the source of truth.
tests/pending-action-helper-approval-envelope-smoke.php Raw slug literal data-machine at line 122 duplicates constant DrainCommand::GROUP Use DrainCommand::GROUP instead of repeating the literal slug so the constant remains the source of truth.
tests/pending-action-helper-approval-envelope-smoke.php Raw slug literal data-machine at line 122 duplicates constant DrainJobAbility::GROUP Use DrainJobAbility::GROUP instead of repeating the literal slug so the constant remains the source of truth.
tests/pending-action-helper-approval-envelope-smoke.php Raw slug literal data-machine at line 122 duplicates constant RecurringScheduler::GROUP Use RecurringScheduler::GROUP instead of repeating the literal slug so the constant remains the source of truth.
tests/queue-payload-split-smoke.php Raw slug literal prompt_queue at line 514 duplicates constant DM_System_Task_Config_Passthrough_QueueAbility_Stub::SLOT_PROMPT_QUEUE Use DM_System_Task_Config_Passthrough_QueueAbility_Stub::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
tests/queue-payload-split-smoke.php Raw slug literal prompt_queue at line 514 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
tests/queue-payload-split-smoke.php Raw slug literal prompt_queue at line 514 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
tests/queue-payload-split-smoke.php Raw slug literal prompt_queue at line 514 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
tests/queue-payload-split-smoke.php Raw slug literal prompt_queue at line 514 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
tests/queue-payload-split-smoke.php Raw slug literal prompt_queue at line 514 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
tests/queue-payload-split-smoke.php Raw slug literal prompt_queue at line 514 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
tests/queue-payload-split-smoke.php Raw slug literal prompt_queue at line 514 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
tests/queue-payload-split-smoke.php Raw slug literal prompt_queue at line 514 duplicates constant QueueAbility::SLOT_PROMPT_QUEUE Use QueueAbility::SLOT_PROMPT_QUEUE instead of repeating the literal slug so the constant remains the source of truth.
tests/transcript-policy-smoke.php Raw slug literal datamachine_persist_pipeline_transcripts at line 50 duplicates constant PipelineTranscriptPolicy::OPTION_NAME Use PipelineTranscriptPolicy::OPTION_NAME instead of repeating the literal slug so the constant remains the source of truth.

Autofix status

❌ No fixer available for constant_backed_slug_literal


Maintained automatically by Homeboy Action on each CI run until resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions