Skip to content

Commit 3baf08a

Browse files
committed
chore: stage rescue - refactor commands, standardize, and fix docs prompt
1 parent 458a4f6 commit 3baf08a

14 files changed

Lines changed: 191 additions & 399 deletions

File tree

backend/src/automations/push/commands/standardize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { generateUuid } from '@/utils/common';
55
export const StandardizeCommand: ISlashCommand = {
66
name: 'standardize',
77
description: 'Full repo audit & fix using explicit active standardizations.',
8-
async handle(args, ctx, metadata): Promise<CommandResult | null> {
8+
async handle(_args, ctx, metadata): Promise<CommandResult | null> {
99
if (!metadata.issueNumber) {
1010
return { type: 'reply', body: "❌ Error: Cannot run standardize outside of an issue or PR context." };
1111
}

backend/src/automations/push/fixers/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import type { D1Database } from '@cloudflare/workers-types';
2-
31
export interface PushContext {
42
env: Env;
53
executionCtx: ExecutionContext;

backend/src/automations/push/gardener/commands/fix-all.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

backend/src/automations/push/gardener/commands/fix-types.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

backend/src/automations/push/gardener/commands/implement.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

backend/src/automations/push/gardener/commands/resolve-conflicts.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

backend/src/automations/push/gardener/commands/types.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

backend/src/automations/push/gardener/fixers/worker-type-fixer.ts

Lines changed: 0 additions & 208 deletions
This file was deleted.

backend/src/automations/push/gardener/types.ts

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)