Skip to content

Commit 39fd145

Browse files
committed
chore(rebrand): fileyard → fileorganize (v3 deep rename)
5/27 v3 核弹方案:彻底深层改名。 变更: - 仓内所有旧名字符串替换为新名(5 种大小写形态) - README.md h1 / package.json name / pyproject.toml name 改为新名 - @scope/* npm packages 改为新 scope - GitHub URL 统一 lowercase - 文件名 / 目录名含旧 slug 的改为新 slug - .archive/ 加到 .gitignore(5/26 v2 漏 ignore,5/27 v3 修正) 未动: - lock 文件(须独立重生)
1 parent a2e8e82 commit 39fd145

286 files changed

Lines changed: 1713 additions & 1701 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clusterfuzzlite/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM gcr.io/oss-fuzz-base/base-builder-python@sha256:6bb326cd90cc82d526add050b67b92bf53f900d5f61aa9abd74cc2f04f622dc9
22

3-
WORKDIR $SRC/fileyard
4-
COPY . $SRC/fileyard
3+
WORKDIR $SRC/fileorganize
4+
COPY . $SRC/fileorganize
55
COPY .clusterfuzzlite/build.sh $SRC/build.sh
6-
COPY .clusterfuzzlite/requirements.txt $SRC/fileyard/.clusterfuzzlite/requirements.txt
7-
ENV PYTHONPATH=$SRC/fileyard
6+
COPY .clusterfuzzlite/requirements.txt $SRC/fileorganize/.clusterfuzzlite/requirements.txt
7+
ENV PYTHONPATH=$SRC/fileorganize
88

9-
RUN python3 -m pip install --disable-pip-version-check --require-hashes -r $SRC/fileyard/.clusterfuzzlite/requirements.txt
9+
RUN python3 -m pip install --disable-pip-version-check --require-hashes -r $SRC/fileorganize/.clusterfuzzlite/requirements.txt

.clusterfuzzlite/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -euo pipefail
33

4-
cd "$SRC/fileyard"
5-
export PYTHONPATH="${PYTHONPATH:-$SRC/fileyard}"
4+
cd "$SRC/fileorganize"
5+
export PYTHONPATH="${PYTHONPATH:-$SRC/fileorganize}"
66

77
compile_python_fuzzer tests/fuzz/fuzz_safe_join.py

.clusterfuzzlite/project.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
homepage: https://github.com/xiaojiou176-open/fileyard
1+
homepage: https://github.com/xiaojiou176-open/fileorganize
22
language: python
33
primary_contact: 125581657+xiaojiou176@users.noreply.github.com
4-
main_repo: https://github.com/xiaojiou176-open/fileyard
4+
main_repo: https://github.com/xiaojiou176-open/fileorganize

.devcontainer/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ARG GITLEAKS_SHA256_AMD64
1212
ARG GITLEAKS_SHA256_ARM64
1313
ARG TARGETARCH
1414

15-
LABEL org.opencontainers.image.source="https://github.com/xiaojiou176-open/fileyard"
15+
LABEL org.opencontainers.image.source="https://github.com/xiaojiou176-open/fileorganize"
1616

1717
RUN rm -f /etc/apt/sources.list.d/yarn.list /etc/apt/sources.list.d/yarn.list.save
1818

@@ -71,15 +71,15 @@ RUN set -eux; \
7171
echo "${GITLEAKS_SHA256} /tmp/gitleaks.tar.gz" | sha256sum -c -; \
7272
tar -xzf /tmp/gitleaks.tar.gz -C /tmp gitleaks; \
7373
install -m 0755 /tmp/gitleaks /usr/local/bin/gitleaks; \
74-
python -m venv /opt/fileyard-ci-venv; \
75-
/opt/fileyard-ci-venv/bin/python -m pip install --disable-pip-version-check --require-hashes -r /tmp/organizer-build/requirements-pip.lock.txt; \
76-
/opt/fileyard-ci-venv/bin/python -m pip install --require-hashes -r /tmp/organizer-build/requirements.lock.txt; \
74+
python -m venv /opt/fileorganize-ci-venv; \
75+
/opt/fileorganize-ci-venv/bin/python -m pip install --disable-pip-version-check --require-hashes -r /tmp/organizer-build/requirements-pip.lock.txt; \
76+
/opt/fileorganize-ci-venv/bin/python -m pip install --require-hashes -r /tmp/organizer-build/requirements.lock.txt; \
7777
awk 'BEGIN {emit=0} /^setuptools==/ {emit=1} emit {print} emit && /^ # via/ {exit}' \
7878
/tmp/organizer-build/requirements-dev.lock.txt > /tmp/organizer-build/setuptools-bootstrap.txt; \
7979
test -s /tmp/organizer-build/setuptools-bootstrap.txt; \
80-
/opt/fileyard-ci-venv/bin/python -m pip install --require-hashes -r /tmp/organizer-build/setuptools-bootstrap.txt; \
81-
/opt/fileyard-ci-venv/bin/python -m pip install --require-hashes -r /tmp/organizer-build/requirements-dev.lock.txt; \
82-
cat /tmp/organizer-build/requirements.lock.txt /tmp/organizer-build/requirements-dev.lock.txt | sha256sum | awk '{print $1}' > /opt/fileyard-ci-venv/.movi_req_hash; \
80+
/opt/fileorganize-ci-venv/bin/python -m pip install --require-hashes -r /tmp/organizer-build/setuptools-bootstrap.txt; \
81+
/opt/fileorganize-ci-venv/bin/python -m pip install --require-hashes -r /tmp/organizer-build/requirements-dev.lock.txt; \
82+
cat /tmp/organizer-build/requirements.lock.txt /tmp/organizer-build/requirements-dev.lock.txt | sha256sum | awk '{print $1}' > /opt/fileorganize-ci-venv/.fileorganize_req_hash; \
8383
node -v; \
8484
npm -v; \
8585
gitleaks version; \

.devcontainer/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"TZ": "America/Los_Angeles"
1818
},
1919
"remoteEnv": {
20-
"FILEYARD_IN_CONTAINER": "1",
21-
"FILEYARD_ALLOW_HOST_EXECUTION": "0"
20+
"FILEORGANIZE_IN_CONTAINER": "1",
21+
"FILEORGANIZE_ALLOW_HOST_EXECUTION": "0"
2222
},
23-
"postCreateCommand": "bash tooling/runtime/bootstrap_env.sh && ~/.cache/fileyard/venv/default/bin/python -m playwright install --with-deps chromium",
23+
"postCreateCommand": "bash tooling/runtime/bootstrap_env.sh && ~/.cache/fileorganize/venv/default/bin/python -m playwright install --with-deps chromium",
2424
"customizations": {
2525
"vscode": {
2626
"extensions": [

.env.example

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# =========================
2-
# Fileyard environment template
2+
# Fileorganize environment template
33
# SSOT facts: contracts/runtime/env_contract_registry.yaml
44
# Policy / explain: docs/env_contract.md
5-
# For a durable runtime file, copy the keys you need into <workspace-root>/.fileyard/env/runtime.env.
5+
# For a durable runtime file, copy the keys you need into <workspace-root>/.fileorganize/env/runtime.env.
66
# The repository root .env file is local-only convenience and is not a supported runtime source.
7-
# Sensitive values policy: only set via <workspace-root>/.fileyard/env/runtime.env or shell environment variables.
7+
# Sensitive values policy: only set via <workspace-root>/.fileorganize/env/runtime.env or shell environment variables.
88
# =========================
99

1010
# [Minimal template - required]
@@ -14,9 +14,9 @@ GEMINI_MODEL=gemini-3-flash-preview
1414
# Enable them only when needed; they are not part of the minimum local setup.
1515

1616
# [runtime-optional - live integration]
17-
# FILEYARD_RUN_LIVE_TESTS=0
18-
# FILEYARD_LIVE_TEST_URL=
19-
# FILEYARD_LIVE_COVERAGE_FILE=
17+
# FILEORGANIZE_RUN_LIVE_TESTS=0
18+
# FILEORGANIZE_LIVE_TEST_URL=
19+
# FILEORGANIZE_LIVE_COVERAGE_FILE=
2020
# LIVE_COVERAGE_FILE=
2121
# LIVE_HEARTBEAT_INTERVAL_SECONDS=20
2222
# LIVE_MAX_DURATION_SECONDS=600
@@ -26,39 +26,39 @@ GEMINI_MODEL=gemini-3-flash-preview
2626
# This key is required when `strict_integrity=true` (the default for CLI/Web rollback).
2727
# Disabling strict integrity weakens rollback verification guarantees and should only
2828
# be used in tightly controlled debugging scenarios.
29-
# FILEYARD_ROLLBACK_HMAC_KEY=
29+
# FILEORGANIZE_ROLLBACK_HMAC_KEY=
3030

3131
# [runtime-optional - container execution]
32-
# FILEYARD_ALLOW_HOST_EXECUTION=0
33-
# FILEYARD_ALLOW_EXTERNAL=0
34-
# FILEYARD_COMPOSE_FILE=docker-compose.yml
35-
# FILEYARD_COMPOSE_SERVICE=fileyard-ci
36-
# FILEYARD_CI_IMAGE=ghcr.io/<owner>/fileyard-ci@sha256:<digest>
37-
# FILEYARD_PREBUILT_VENV_DIR=/opt/fileyard-ci-venv
38-
# FILEYARD_WORKSPACE_ROOT=<workspace-root>
39-
# FILEYARD_INPUT_ROOT=<workspace-root>/data/raw
40-
# FILEYARD_OUTPUT_ROOT=<workspace-root>/data/organized
41-
# FILEYARD_MANIFEST_ROOT=<workspace-root>/.fileyard/manifests
42-
# FILEYARD_ARTIFACT_ROOT=<workspace-root>/.fileyard/artifacts
43-
# FILEYARD_EVIDENCE_BUNDLE_PATH=<workspace-root>/.fileyard/artifacts/evidence-bundle.json
44-
# FILEYARD_RUN_BUNDLE_ROOT=<workspace-root>/.fileyard/runs
45-
# FILEYARD_RUN_DIR=
46-
# FILEYARD_RUN_EVENTS_PATH=
47-
# FILEYARD_RUN_STDERR_PATH=
48-
# FILEYARD_RUN_SUMMARY_PATH=
49-
# FILEYARD_RUN_EVIDENCE_INDEX_PATH=
50-
# FILEYARD_WEB_API_HOST=127.0.0.1
51-
# FILEYARD_WEB_API_PORT=18080
52-
# FILEYARD_WEBUI_HOST=127.0.0.1
53-
# FILEYARD_WEBUI_PORT=5173
54-
# FILEYARD_VENV_DIR=~/.cache/fileyard/venv/default
55-
# FILEYARD_ATOMIC_ALLOWLIST=
56-
# FILEYARD_ATOMIC_MAX_FILES=12
57-
# FILEYARD_ATOMIC_MAX_LINES=400
58-
# FILEYARD_CLI_REPORT_BUDGET_MS=1500
59-
# FILEYARD_PRE_PUSH_MODE=standard
60-
# FILEYARD_REQUIRE_NON_EMPTY_RANGE=0
61-
# FILEYARD_ROLLBACK_RTO_BUDGET_MS=3000
32+
# FILEORGANIZE_ALLOW_HOST_EXECUTION=0
33+
# FILEORGANIZE_ALLOW_EXTERNAL=0
34+
# FILEORGANIZE_COMPOSE_FILE=docker-compose.yml
35+
# FILEORGANIZE_COMPOSE_SERVICE=fileorganize-ci
36+
# FILEORGANIZE_CI_IMAGE=ghcr.io/<owner>/fileorganize-ci@sha256:<digest>
37+
# FILEORGANIZE_PREBUILT_VENV_DIR=/opt/fileorganize-ci-venv
38+
# FILEORGANIZE_WORKSPACE_ROOT=<workspace-root>
39+
# FILEORGANIZE_INPUT_ROOT=<workspace-root>/data/raw
40+
# FILEORGANIZE_OUTPUT_ROOT=<workspace-root>/data/organized
41+
# FILEORGANIZE_MANIFEST_ROOT=<workspace-root>/.fileorganize/manifests
42+
# FILEORGANIZE_ARTIFACT_ROOT=<workspace-root>/.fileorganize/artifacts
43+
# FILEORGANIZE_EVIDENCE_BUNDLE_PATH=<workspace-root>/.fileorganize/artifacts/evidence-bundle.json
44+
# FILEORGANIZE_RUN_BUNDLE_ROOT=<workspace-root>/.fileorganize/runs
45+
# FILEORGANIZE_RUN_DIR=
46+
# FILEORGANIZE_RUN_EVENTS_PATH=
47+
# FILEORGANIZE_RUN_STDERR_PATH=
48+
# FILEORGANIZE_RUN_SUMMARY_PATH=
49+
# FILEORGANIZE_RUN_EVIDENCE_INDEX_PATH=
50+
# FILEORGANIZE_WEB_API_HOST=127.0.0.1
51+
# FILEORGANIZE_WEB_API_PORT=18080
52+
# FILEORGANIZE_WEBUI_HOST=127.0.0.1
53+
# FILEORGANIZE_WEBUI_PORT=5173
54+
# FILEORGANIZE_VENV_DIR=~/.cache/fileorganize/venv/default
55+
# FILEORGANIZE_ATOMIC_ALLOWLIST=
56+
# FILEORGANIZE_ATOMIC_MAX_FILES=12
57+
# FILEORGANIZE_ATOMIC_MAX_LINES=400
58+
# FILEORGANIZE_CLI_REPORT_BUDGET_MS=1500
59+
# FILEORGANIZE_PRE_PUSH_MODE=standard
60+
# FILEORGANIZE_REQUIRE_NON_EMPTY_RANGE=0
61+
# FILEORGANIZE_ROLLBACK_RTO_BUDGET_MS=3000
6262

6363
# [runtime-optional - script safety overrides]
6464
# CLEAN_CACHE_ROOT=
@@ -71,15 +71,15 @@ GEMINI_MODEL=gemini-3-flash-preview
7171
# PYTEST_MAX_DURATION_SECONDS=0
7272

7373
# [runtime-optional - observability context]
74-
# FILEYARD_TRACE_ID=
75-
# FILEYARD_SESSION_ID=
76-
# FILEYARD_REQUEST_ID=
77-
# FILEYARD_USER_ID=cli_anonymous
74+
# FILEORGANIZE_TRACE_ID=
75+
# FILEORGANIZE_SESSION_ID=
76+
# FILEORGANIZE_REQUEST_ID=
77+
# FILEORGANIZE_USER_ID=cli_anonymous
7878

7979
# [ci-only / test-only placeholders, do not set manually]
80-
# FILEYARD_IN_CONTAINER=1
81-
# FILEYARD_ENABLE_TEST_HOOKS=0
82-
# FILEYARD_APPLY_CRASH_AT=
80+
# FILEORGANIZE_IN_CONTAINER=1
81+
# FILEORGANIZE_ENABLE_TEST_HOOKS=0
82+
# FILEORGANIZE_APPLY_CRASH_AT=
8383
# PYTEST_CURRENT_TEST=
8484
# PRE_COMMIT_FROM_REF=
8585
# PRE_COMMIT_TO_REF=

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Security report
4-
url: https://github.com/xiaojiou176-open/fileyard/blob/main/SECURITY.md
4+
url: https://github.com/xiaojiou176-open/fileorganize/blob/main/SECURITY.md
55
about: Read SECURITY.md first; if GitHub private vulnerability reporting is enabled later, use that entrypoint.
66
- name: Usage and support boundary
7-
url: https://github.com/xiaojiou176-open/fileyard/blob/main/SUPPORT.md
7+
url: https://github.com/xiaojiou176-open/fileorganize/blob/main/SUPPORT.md
88
about: Read the limited-maintenance support policy before opening a request.

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Feature request
2-
description: Suggest a workflow or product improvement for Fileyard
2+
description: Suggest a workflow or product improvement for Fileorganize
33
title: "[Feature]: "
44
labels:
55
- enhancement

0 commit comments

Comments
 (0)