본문으로 건너뛰기

파일 · 명령 참조

qzx repairWorkspace

기능

auditWorkspace에서 저장한 계획을 검증하고 변경되지 않은 선택된 정리 작업만 적용합니다.

명령 성숙도: Alpha

실제 사용과 피드백에 사용할 수 있지만 인터페이스와 동작은 아직 바뀔 수 있습니다. 현재 개발 체크아웃에 대한 평가입니다. 이후의 각 불변 릴리스 태그는 해당 버전에 포함된 정확한 평가를 보존합니다. PyPI 0.2.2.0.9에서 사용할 수 있습니다. 문서는 alpha 체크아웃 0.2.2.0.9에 해당합니다.

동작 및 내장 보호

실제 모드는 요청한 변경 사항을 적용합니다

미리보기 제공

네이티브 프로그램을 호출하지 않고 작동합니다

네트워크를 사용하지 않고 작동합니다

현재 권한을 사용하며 결과는 달라질 수 있습니다

미리보기가 기본 동작입니다. 실제 복구에는 auditWorkspace가 저장한 완전한 계획, 실행 가능한 작업의 명시적 식별자, 변경되지 않은 콘텐츠 지문, dry_run=false, apply=true 및 실패 보호가 있는 워크스페이스 백업이 필요합니다. 선택 항목은 정리 전에 같은 워크스페이스 내부 staging에 격리되며 검토 전용 발견 항목은 절대 적용할 수 없습니다.

QZX는 실제 변경 전에 복구 파일을 만듭니다. 이를 의도적으로 생략하기로 결정한 경우에만 --dangerously-bypass-approvals-and-sandbox/--yolo를 사용하세요.

이 안전 분류는 2026-09-05에 OpenAI GPT-5.6 Sol가 구현 다이제스트 sha256:dd5295cd267097ab0e54e7cb7e02105099db87446652192be1d31fad5da527e5를 기준으로 검토했습니다.

정확한 구문

qzx repairWorkspace [path] [plan_file] [action_ids] [dry_run] [apply] --json

매개변수

밀거나 가로 스크롤 막대를 사용해 모든 열을 확인하세요.

이름유형필수기본값설명
pathstr아니요"."저장된 계획에 해당하는 워크스페이스 디렉터리
plan_filestr아니요선언되지 않음auditWorkspace가 만든 JSON 계획
action_idsstr아니요선언되지 않음운영자가 검토한 실행 가능한 작업 식별자를 쉼표로 구분
dry_runbool아니요true워크스페이스를 변경하지 않고 검증 및 미리보기
applybool아니요false선택한 작업을 명시적으로 승인하며 dry_run=false 필요

입력 예제

qzx repairWorkspace . --plan-file qzx-repair-plan.json

저장된 계획을 검증하고 실행 가능한 작업 나열

qzx repairWorkspace . --plan-file qzx-repair-plan.json --action-ids act-123,act-456 --dry-run false --apply

워크스페이스를 백업하고 두 작업을 재검증한 뒤 적용

전체 구조화 페이로드를 받으려면 --json을 추가하세요: qzx repairWorkspace [path] [plan_file] [action_ids] [dry_run] [apply] --json

관찰된 출력 예제

Windows 11의 QZX 0.2.2.0.9에서 캡처했으며 종료 코드는 0입니다. 호스트에 따라 달라지는 값과 실행 시간은 변할 수 있습니다.

예제 명령: qzx repairWorkspace ../artifacts/qzx-evidence/repair-workspace/workspace --plan-file ../artifacts/qzx-evidence/repair-workspace/plan.json --json

{
    "success": true,
    "status": "preview",
    "message": "Repair plan 'plan-70b0f1e9ef689794bc9423b4e17812fad340a3316bb5ddf912c29483aa6d05b5' is valid and unchanged. 1 executable action(s) are available; 0 selected. Nothing was changed.",
    "details": {
        "path": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\repair-workspace\\workspace",
        "plan_file": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\repair-workspace\\plan.json",
        "plan_id": "plan-70b0f1e9ef689794bc9423b4e17812fad340a3316bb5ddf912c29483aa6d05b5",
        "dry_run_mode": true,
        "apply_requested": false,
        "workspace_unchanged": true,
        "selected_actions": [],
        "executable_actions": [
            {
                "category": "temp",
                "executable": true,
                "fingerprint": {
                    "sha256": "a4be5b5eeff332365000a7d71223443e63df5d51a58fdb60aa682b8b01d22266",
                    "size_bytes": 28,
                    "type": "file"
                },
                "id": "act-76685ad35f1fd085e962",
                "kind": "delete_file",
                "path": "debug.tmp",
                "reason": "Temporary editor or tool output selected for explicit cleanup.",
                "size_bytes": 28
            }
        ],
        "review_only_actions": []
    },
    "meta": {
        "command": "repairWorkspace",
        "command_maturity": {
            "stage": "alpha",
            "label": "Alpha",
            "sequence": 2,
            "public_executable": true,
            "stability": "interface_may_change",
            "summary": "Available for real use and feedback while its interface and behavior can still evolve.",
            "promotion_review_required": false,
            "assessment_scope": "development_checkout"
        },
        "duration_ms": 8.58,
        "schema_version": 1
    }
}
JSON 결과 계약 보기
{
    "type": "object",
    "properties": {
        "success": {
            "type": "boolean"
        },
        "message": {
            "type": "string"
        },
        "status": {
            "type": "string",
            "enum": [
                "preview",
                "applied",
                "rolled_back",
                "recovery_required",
                "cleanup_incomplete"
            ]
        },
        "error_code": {
            "type": "string"
        },
        "error": {
            "type": "string"
        },
        "details": {
            "type": "object",
            "additionalProperties": true
        },
        "meta": {
            "type": "object",
            "required": [
                "command",
                "command_maturity",
                "duration_ms",
                "schema_version"
            ],
            "properties": {
                "command": {
                    "type": "string"
                },
                "command_maturity": {
                    "type": "object",
                    "required": [
                        "stage",
                        "label",
                        "sequence",
                        "public_executable",
                        "stability",
                        "summary",
                        "promotion_review_required",
                        "assessment_scope"
                    ],
                    "properties": {
                        "stage": {
                            "type": "string"
                        },
                        "label": {
                            "type": "string"
                        },
                        "sequence": {
                            "type": "integer"
                        },
                        "public_executable": {
                            "type": "boolean"
                        },
                        "stability": {
                            "type": "string"
                        },
                        "summary": {
                            "type": "string"
                        },
                        "promotion_review_required": {
                            "type": "boolean"
                        },
                        "assessment_scope": {
                            "type": "string"
                        },
                        "note": {
                            "type": "string"
                        },
                        "review": {
                            "type": "object",
                            "required": [
                                "reviewed_on",
                                "rationale",
                                "evidence"
                            ],
                            "properties": {
                                "reviewed_on": {
                                    "type": "string",
                                    "format": "date"
                                },
                                "rationale": {
                                    "type": "string"
                                },
                                "evidence": {
                                    "type": "array",
                                    "minItems": 1,
                                    "items": {
                                        "type": "string"
                                    }
                                },
                                "replacement": {
                                    "type": "string"
                                }
                            },
                            "additionalProperties": false
                        }
                    },
                    "additionalProperties": true
                },
                "duration_ms": {
                    "type": "number"
                },
                "schema_version": {
                    "type": "integer"
                }
            },
            "additionalProperties": true
        }
    },
    "additionalProperties": true,
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "required": [
        "message",
        "meta",
        "success"
    ]
}

오류 및 제한

공개 계약은 실패 시 success=false와 설명적인 message를 요구합니다. 이 카탈로그는 아직 명령별 오류 분류 체계를 선언하지 않으므로 결과를 확인하고 존재하지 않는 코드를 추정하지 마세요.

QZX는 alpha 단계입니다. 선택적 종속성, 권한 및 호스트 기능에 따라 결과가 달라질 수 있습니다.

근거 흐름: 캡처 및 다이제스트 검증 완료.

근거 및 출처

문서 채널
개발 문서 0.2.2.0.9 · main · sha256:cfba936e39931c286ca23add0ae546693db17d8b316e7cbc3891d26642d9b7e8
제공 여부
0.2.2.0.9 또는 이전

계속 살펴보기

이 명령들도 파일 범주에 속합니다. 비교하여 작업에 가장 적합한 작업을 선택하세요.

모든 QZX 명령 살펴보기