본문으로 건너뛰기

파일 · 명령 참조

qzx auditWorkspace

기능

워크스페이스를 변경하지 않고 정리 후보를 검토할 수 있도록 콘텐츠 지문이 포함된 결정론적 계획을 만듭니다.

명령 성숙도: Alpha

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

동작 및 내장 보호

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

이 작업은 직접 실행됩니다

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

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

권한 상승 없이 작동하도록 설계되었습니다

감사는 워크스페이스 내용을 절대 수정하지 않습니다. 기본적으로 완전한 읽기 전용이며 plan_file은 콘텐츠 주소 기반의 단일 JSON 계획을 명시적으로 만들 수 있지만 기존 파일은 덮어쓰지 않습니다. 아티팩트, 로그, 백업, 이름 패턴, 링크, 특수 항목 및 재구성 제안은 검토용으로만 남습니다.

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

정확한 구문

qzx auditWorkspace [path] [categories] [max_files] [plan_file] --json

매개변수

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

이름유형필수기본값설명
pathstr아니요"."감사할 워크스페이스 디렉터리
categoriesstr아니요"build,temp,artifacts,duplicates,reorganizations"쉼표로 구분한 범주: build, temp, artifacts, duplicates, reorganizations
max_filesint아니요15000검사할 비디렉터리 항목의 최대 개수
plan_filestr아니요선언되지 않음계획을 저장할 선택적 새 JSON 파일. 기존 파일은 절대 덮어쓰지 않음

입력 예제

qzx auditWorkspace .

파일을 쓰지 않고 현재 워크스페이스 검사

qzx auditWorkspace . --categories build,temp,duplicates --plan-file qzx-repair-plan.json

build, 임시 항목 및 중복 계획을 저장해 나중에 repairWorkspace에서 검증

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

관찰된 출력 예제

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

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

{
    "success": true,
    "status": "complete",
    "message": "Workspace audit complete: 1 executable cleanup action(s) and 0 review-only finding(s), totaling 28 recoverable byte(s). Plan saved to 'C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\repair-workspace\\plan.json'.",
    "details": {
        "path": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\repair-workspace\\workspace",
        "workspace_unchanged": true,
        "plan_file": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\repair-workspace\\plan.json",
        "plan": {
            "schema_version": 1,
            "root": "C:\\Team Dropbox\\Valis Idealis\\Ale\\Programacion\\QZX - Quick Zap Exchange\\artifacts\\qzx-evidence\\repair-workspace\\workspace",
            "categories": [
                "build",
                "temp",
                "artifacts",
                "duplicates",
                "reorganizations"
            ],
            "max_files": 15000,
            "scan_complete": true,
            "scanned_files": 1,
            "scanned_directories": 0,
            "ignored_paths": [],
            "scan_errors": [],
            "actions": [
                {
                    "category": "temp",
                    "kind": "delete_file",
                    "path": "debug.tmp",
                    "reason": "Temporary editor or tool output selected for explicit cleanup.",
                    "executable": true,
                    "size_bytes": 28,
                    "fingerprint": {
                        "type": "file",
                        "size_bytes": 28,
                        "sha256": "a4be5b5eeff332365000a7d71223443e63df5d51a58fdb60aa682b8b01d22266"
                    },
                    "id": "act-76685ad35f1fd085e962"
                }
            ],
            "summary": {
                "total_actions": 1,
                "executable_actions": 1,
                "review_only_actions": 0,
                "recoverable_bytes": 28,
                "category_counts": {
                    "build": 0,
                    "temp": 1,
                    "artifacts": 0,
                    "duplicates": 0,
                    "reorganizations": 0
                }
            },
            "plan_id": "plan-70b0f1e9ef689794bc9423b4e17812fad340a3316bb5ddf912c29483aa6d05b5"
        }
    },
    "meta": {
        "command": "auditWorkspace",
        "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": 31.418,
        "schema_version": 1
    }
}
JSON 결과 계약 보기
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "required": [
        "success",
        "message",
        "meta"
    ],
    "properties": {
        "success": {
            "type": "boolean"
        },
        "message": {
            "type": "string"
        },
        "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
        },
        "details": {
            "oneOf": [
                {
                    "type": "object",
                    "properties": {
                        "path": [],
                        "workspace_unchanged": {
                            "type": "boolean"
                        },
                        "plan_file": [],
                        "plan": []
                    },
                    "additionalProperties": true
                },
                {
                    "type": "object",
                    "properties": {
                        "path": []
                    },
                    "additionalProperties": true
                },
                {
                    "type": "object",
                    "properties": {
                        "path": [],
                        "plan": [],
                        "plan_file": []
                    },
                    "additionalProperties": true
                }
            ]
        },
        "error": [],
        "error_code": {
            "type": "string"
        },
        "status": {
            "type": "string"
        }
    },
    "additionalProperties": true
}

오류 및 제한

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

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

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

근거 및 출처

테스트
같은 모듈 이름의 전용 테스트 파일을 찾지 못했지만 테스트 커버리지가 전혀 없다는 뜻은 아닙니다.
문서 채널
개발 문서 0.2.2.0.9 · main · sha256:cfba936e39931c286ca23add0ae546693db17d8b316e7cbc3891d26642d9b7e8
제공 여부
0.2.2.0.9 또는 이전

계속 살펴보기

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

모든 QZX 명령 살펴보기