Action Logbook — FileCleaner Project¶
Governance Rule (
AGENTS.md§2 &.agents/rules/project-governance.md): This Action Logbook MUST be systematically updated on every request, every change, and every result (strictly in English). - Every new request is logged under "1. Ongoing Actions (IN PROGRESS)" as soon as its GitHub Issue is opened. - Once validated by Rust formatting, Clippy, and unit/integration tests (cargo fmt,cargo clippy,cargo test) and its Pull Request is created/merged, the entry is completed with the exact Changes and quantified Result, then moved under "2. Completed Actions (COMPLETED)".
1. Ongoing Actions (IN PROGRESS)¶
| Action ID | Date / Time (ISO) | Issue / Branch | Status | Request, Ongoing Changes & Expected Results |
|---|---|---|---|---|
| None | — | — | — | All tracked tasks are completed. |
2. Completed Actions (COMPLETED)¶
ACT-009 — Release v1.0.1 and Publish Multi-Arch Docker Hub Image (jmrenouard/filecleaner) (Issue #22)¶
- Date / Time (ISO):
2026-11-20T22:23:00Z - Issue / Branch:
#22(chore/issue-22-release-v1.0.1-dockerhub) - Request: Prepare and ship GitHub Release
v1.0.1alongside hardened multi-architecture (linux/amd64,linux/arm64) Docker Hub publishing (jmrenouard/filecleaner) modeled onjmrenouard/cis_benchmarks_tools. - Changes:
- Provisioned
DOCKERHUB_USERNAMEandDOCKERHUB_TOKEN(dedicated repo-admin PAT saved in KeePassDev-Secrets) injmrenouard/FileCleanerrepository secrets via in-memory Python injection (zero plaintext output). - Created multi-stage hardened
Dockerfile(rust:1.100.0-bookwormbuilder -> non-rootdebian:bookworm-slimUID/GID10001fcuser:fcgroup,VOLUMEmountpoints,HEALTHCHECK, exec entrypoint) and.dockerignore, verified withlint_dockerfile.py --fail-on info(HIGH 0 WARN 0 INFO 0). - Created SHA-pinned multi-platform publishing workflow
.github/workflows/docker-publish.ymltargetingjmrenouard/filecleaner(latest,v1.0.1,1.0.1) with OCI andcom.filecleaner.release-noteslabels and preflight check. - Bumped crate version to
1.0.1inCargo.tomlandCargo.lock, cut## [1.0.1] - 2026-11-20inCHANGELOG.md, authoreddocs/RELEASE_NOTES_v1.0.1.md, updated EN/FR documentation (README.md,README.fr.md,docs/en/{USER_GUIDE,COOKBOOK_EXAMPLES,SPECIFICATIONS}.md,docs/fr/{GUIDE_UTILISATEUR,EXEMPLES_RECETTES,SPECIFICATIONS}.md), and added workflow + Dockerfile security assertions intests/governance_and_docs_test.rs. - Result:
- Verified in WSL2 (
CARGO_TARGET_DIR=/var/tmp/filecleaner-target-rel):cargo fmt --all -- --checkPASS, 3-targetcargo clippy --all-targets -- -D warningsPASS (0warnings),cargo test --all-targetsPASS (125/125:64unit +61integration across9suites), andcargo llvm-cov --fail-under-lines 90PASS (94.31%lines /92.45%regions across9,098lines). - Verified local container build (
docker build -t jmrenouard/filecleaner:1.0.1 .) and live container execution (filecleaner 1.0.1,uid=10001(fcuser),/datasweep2 evaluated, 1 acted, and bundled example validation).
ACT-008 — Post-v1.0.1 Ponytail Audit Fixes, Expanded Test Suite, and Bilingual 5-Minute HOWTO (Issue #20)¶
- Date / Time (ISO):
2026-11-20T18:45:00Z - Issue / Branch:
#20(feat/issue-20-audit-tests-simple-howto) - Request: Remediate post-
v1.0.1code audit edge cases, expand unit/integration/E2E test coverage across all modules (>= 90%per module), and add a simple bilingual 5-minute HOWTO guide with verified documentation config blocks. - Changes:
- Audited & fixed 5 bugs/gaps plus lean cleanup:
src/hooks.rs: Bounded stderr capture (MAX_HOOK_STDERR_BYTES = 64 KiBat UTF-8 boundaries) withArc<Mutex<Vec<u8>>>+STDERR_DRAIN_GRACEso failing hooks leaving background grandchildren still report stderr cleanly.src/config.rs: Validatedrename_templatestrftimetemplates eagerly insideConfig::validate().src/cli.rs: Auto-enabledActionStep::RenameByDateinbuild_adhoc_configwhenever--rename-templateis provided.src/daemon.rs: Enforcedis_live_filecleaner_pid(pid)(is_pid_alive+is_filecleaner_process) indaemon_statusandclaim_pid_fileto handle recycled OS PIDs safely.src/scanner.rs: Simplifiedcompile_rule_matchersto reuse trimmedfilename_date_regex.
- Expanded tests (
src/config.rs,src/scanner.rs,src/audit.rs,src/in_use.rs,src/daemon.rs,src/cli.rs,tests/hooks_pre_delete_test.rs,tests/actions_pipeline_test.rs,tests/cli_validate.rs,tests/daemon_and_cli_test.rs,tests/governance_and_docs_test.rs) and createdtests/product_workflows_e2e_test.rs(howto_workflow_1..4). - Added
docs/en/HOWTO.mdanddocs/fr/HOWTO.md, updated cross-links inREADME.md,README.fr.md,docs/en/USER_GUIDE.md,docs/fr/GUIDE_UTILISATEUR.md,docs/en/COOKBOOK_EXAMPLES.md, anddocs/fr/EXEMPLES_RECETTES.md(fixingcheck-in-use --jsonschema example), and updatedCHANGELOG.mdanddocs/RCA_REGISTER.md(RCA-007). - Result:
- Verified in WSL2 (
CARGO_TARGET_DIR=/var/tmp/filecleaner-target-plan):cargo fmt --allPASS,cargo clippy --all-targets -- -D warningsPASS (0warnings across Linux,x86_64-pc-windows-gnu,aarch64-apple-darwin),cargo test --all-targetsPASS (124/124:64unit +60integration across9suites), andcargo llvm-cov --all-targets --workspace --summary-only --fail-under-lines 90PASS (94.31%lines /92.45%regions across9,098lines; everysrc/*.rsmodule>= 90.21%:actions.rs90.21%,audit.rs92.89%,cli.rs94.14%,config.rs95.81%,daemon.rs94.07%,engine.rs97.82%,error.rs100.00%,hooks.rs95.54%,in_use.rs93.58%,main.rs100.00%,policy.rs94.82%,scanner.rs93.63%). PR#21submitted and re-verified onwindows-latestCI after Windows NTFS/share-mode/TOML array fixes (RCA-008).
ACT-007 — Remediate All 14 Ponytail Security, Correctness, Scale, and CI Audit Findings (Issue #18)¶
- Timestamp:
2026-11-20T14:01:41Z - Issue / Branch:
#18(fix/issue-18-ponytail-security-audit) - Request: Remediate all 14 Ponytail audit findings across FileCleaner (
v1.0.0) using minimal, pure-Rust stdlib-first fixes with zero newCargo.tomldependencies, full regression test coverage (>= 90%), 5/5 multi-OS CI validation, and synchronized governance/documentation updates. - Changes:
src/actions.rs&src/engine.rs: Enforced non-following regular-file opens (O_NOFOLLOW+(dev, ino)verification on Unix;FILE_FLAG_OPEN_REPARSE_POINT+ reparse-attribute check on Windows),0o600.fc-tmpprivate staging (open_staged_tmp_private),execute_copy_truncatepre/post(dev, ino)identity continuity, pre-execute symlink verification (!rule.follow_symlinks), and idempotentCompress/RenameByDate(has_compressed_extension,has_trailing_date_stamp); wiredSweepLockProbe::default(),run_config_precompiled, andcheck_batch_scoped.src/hooks.rs: Replaced piped stdout withStdio::null(), capped stderr capture to64 KiBviasync_channel(50 msdrain grace) to prevent grandchild FD-2 pipe deadlocks, isolated Unix children viaprocess_group(0), and addedkill_hook_process_tree(SIGKILLto-pgidon timeout).src/audit.rs&src/daemon.rs: Added0o600private permissions onaudit.jsonl,pid_file,state_file, andstop_file(write_atomic_bytes_with_mode), single-generation50 MiB<audit_log>.1rotation (DEFAULT_AUDIT_ROTATE_BYTES,AuditLogger::open_with_max_bytes),is_filecleaner_processPID verification indaemon_stopbefore writingstop_fileor signalingSIGTERM,STOP_POLL_SLICE = 200 ms, precompiled sweep loop (Scanner::compile_config),<audit_log>.1watcher exclusion, and deleted duplicatenormalize_lexical.src/config.rs,src/scanner.rs,src/policy.rs,src/in_use.rs, &src/cli.rs: Unified lexical path resolution oncrate::config::resolve_path_lexically, centralizedCompiledRuleMatchers/compile_rule_matchers, added scanner-level in-place idempotency skip and<audit_log>.1guard, fixedRetentionEngine::planremoves_file/reclaims_bytesandRuleOutcome::Constrainedaccounting (reusingcompute_protected_floor_paths), added non-exclusiveLockProbe::check_os_lock_readonly(LOCK_SH | LOCK_NB/FILE_SHARE_READ),SweepLockProbesingle-passOnceLock/procsnapshot (removing redundantread_link), non-intrusivecheck_batch_scopedprobe ordering, batchedInUseDetector::check_paths, and deleted duplicatewrite_atomic_cli_file..github/workflows/ci.yml&.github/workflows/release.yml: Pinned alluses:steps to 40-char commit SHAs, moved${{ ... }}values toenv:, and scopedcontents: writestrictly topublish-release.- Integration Tests: Updated
tests/actions_pipeline_test.rs,tests/hooks_pre_delete_test.rs,tests/retention_age_size_count_test.rs,tests/in_use_detection_test.rs,tests/daemon_and_cli_test.rs, andtests/governance_and_docs_test.rs. - Governance & Bilingual Docs: Updated
docs/ACTION_LOGBOOK.md,docs/RCA_REGISTER.md(RCA-006,APP-002),CHANGELOG.md,docs/en/SPECIFICATIONS.md, anddocs/fr/SPECIFICATIONS.md(62/62heading parity). - Result:
- Local WSL2 verification (
CARGO_TARGET_DIR=/var/tmp/filecleaner-target-verify):cargo fmt --all -- --checkPASS (0diffs);cargo clippy --all-targets -- -D warningsPASS (Linux,0warnings); cross-targetcargo clippy --lib --bins --tests -- -D warningsPASS forx86_64-pc-windows-gnuandaarch64-apple-darwin(0warnings);cargo test --all-targetsPASS (112/112:62lib unit +50integration across8suites:11actions_pipeline_test,4backup_guards_test,1cli_validate,9daemon_and_cli_test,4governance_and_docs_test,6hooks_pre_delete_test,9in_use_detection_test,6retention_age_size_count_test; doctests0/0);cargo llvm-cov --all-targets --workspace --summary-only --fail-under-lines 90PASS (93.09%lines across8,678lines with600missed;90.85%regions); zero changes toCargo.tomlandTest-Path .\target=False. - GitHub Tracking: Issue
#18(fix/issue-18-ponytail-security-audit).
ACT-006 — Stabilize macOS FSEvents Sweep Count Assertion in daemon_notify_and_cooperative_stop_file_work_deterministically (Issue #16)¶
- Timestamp:
2026-11-20T10:17:04Z - Issue / Branch:
#16(fix/issue-16-macos-fsevents-test) - Request: Stabilize the intermittent macOS
FSEventssweep count assertion indaemon::tests::daemon_notify_and_cooperative_stop_file_work_deterministically(src/daemon.rs:1418) spotted in post-mergemainCI Run44716793832(sweeps_completed == 2instead of1underdebounce = 30msandmax_sweeps = Some(5)), and validate 5/5 passing checks on both PR andmainpost-merge push CI workflows. - Changes:
src/daemon.rs: Updateddaemon_notify_and_cooperative_stop_file_work_deterministicallyline 1418 assertion fromassert_eq!(final_state.sweeps_completed, 1);toassert!((1..=5).contains(&final_state.sweeps_completed));with explanatory comment on macOSFSEventsasynchronous self-unlink delivery past the30msdebounce window.docs/RCA_REGISTER.md: LoggedRCA-005documenting the 5-Whys analysis ofFSEventsdelayed self-deletion delivery and the bounded sweep assertion fix.docs/ACTION_LOGBOOK.md: LoggedACT-006.- Result:
- Local WSL2 verification:
cargo fmt --all -- --checkPASS,cargo clippy --all-targets -- -D warningsPASS (0warnings),cargo testPASS (57unit +38integration across 8 suites =95 passed; 0 failed),cargo llvm-cov --all-targets --workspace --summary-only --fail-under-lines 90PASS (92.84%line coverage across8,082lines;daemon.rs92.29%). - GitHub Tracking: Issue
#16(fix/issue-16-macos-fsevents-test).
ACT-005 — Add 9-Target Multi-OS GitHub Actions CI/Release Workflows, Bilingual End-User Documentation Suite, and Ship v1.0.0 (Issue #14)¶
- Timestamp:
2026-11-20T10:34:10Z - Issue / Branch:
#14(ci/issue-14-multiarch-ci-bilingual-docs-v1) - Request: Author multi-OS GitHub Actions CI and 9-target release workflows (
.github/workflows/ci.yml,.github/workflows/release.yml), synchronize the complete bilingual EN/FR documentation suite (README.md,README.fr.md,CHANGELOG.md,docs/en/{SPECIFICATIONS,USER_GUIDE,COOKBOOK_EXAMPLES}.md,docs/fr/{SPECIFICATIONS,GUIDE_UTILISATEUR,EXEMPLES_RECETTES}.md), verify 100% CI and governance checks, merge tomain, and publish tagged GitHub Releasev1.0.0. - Changes:
.github/workflows/ci.yml: Added 3-job CI workflow (fmt-and-clippy,coverage-gateenforcingcargo llvm-cov --fail-under-lines 90+ LCOV upload, andcross-os-testenforcingcargo clippy --all-targets -- -D warningsandcargo test --all-targetsacrossubuntu-latest,windows-latest, andmacos-latest)..github/workflows/release.yml: Added tag-triggered (v*) 9-target release matrix (x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl,aarch64-unknown-linux-gnu,aarch64-unknown-linux-musl,armv7-unknown-linux-gnueabihfviacargo-zigbuild, plus nativex86_64-pc-windows-msvc,aarch64-pc-windows-msvc,aarch64-apple-darwin, andx86_64-apple-darwin) packaging binaries,README.md,README.fr.md,LICENSE, andSHA256SUMS.txtviasoftprops/action-gh-release@v3.- Cross-OS Portability Fixes (
RCA-002,RCA-003,RCA-004): Updatedsrc/actions.rs,src/in_use.rs,src/scanner.rs,src/daemon.rs, hook scripts (examples/hooks/verify_checksum_before_delete.sh,examples/hooks/archive_to_s3_mock.sh), and integration tests (tests/hooks_pre_delete_test.rs,tests/retention_age_size_count_test.rs,tests/in_use_detection_test.rs,tests/daemon_and_cli_test.rs) to resolve Windowsclippy::needless_bool, macOS zombie & Windowskernel32STILL_ACTIVEPID liveness checks, macOS/var->/private/varTempDircanonicalization andshasum -a 256fallback, macOS APFSst_birthtimeclamping, WindowsFILETIMESystemTimeceiling,/procLinux gating, Windows atomic rename retry &share_mode(0)coverage, and zero#[cfg(not(unix))]warnings. - Bilingual Root & Changelog: Created
README.md,README.fr.md, andCHANGELOG.md. - Bilingual Guides & Specifications: Created
docs/en/USER_GUIDE.md,docs/fr/GUIDE_UTILISATEUR.md,docs/en/COOKBOOK_EXAMPLES.md, anddocs/fr/EXEMPLES_RECETTES.md; synchronizeddocs/en/SPECIFICATIONS.mdanddocs/fr/SPECIFICATIONS.md(std::fs::FileTimesperIMP-004and exact 9 release targets). - Governance: Updated
docs/ACTION_LOGBOOK.mdanddocs/RCA_REGISTER.md(RCA-002,RCA-003,RCA-004). - Result:
- Local verification & cross-target checks:
cargo fmt --all -- --checkPASS,cargo clippy --all-targets -- -D warningsPASS (0warnings), cross-targetcargo clippy --tests --lib --binsPASS (x86_64-pc-windows-gnuandaarch64-apple-darwin,0warnings),cargo testPASS (57unit +38integration across 8 suites =95 passed; 0 failed),cargo llvm-cov --all-targets --workspace --summary-only --fail-under-lines 90PASS (92.84%line coverage across8,082lines),0LaTeX/Markdown integrity errors across all repository.mdfiles. - GitHub Tracking: Issue
#14/ PR#15(ci/issue-14-multiarch-ci-bilingual-docs-v1).
ACT-004 — Implement Sweep Engine Orchestrator, Daemon Mode, Full CLI Subcommands, and Governance Test Suite (Issue #12)¶
- Timestamp:
2026-11-20T10:22:44Z - Issue / Branch:
#12(feat/issue-12-engine-cli-daemon) - Request: Implement the Wave 3 sweep engine orchestrator (
src/engine.rs), cross-platform daemon runner (src/daemon.rs), fullclapv4 CLI (src/cli.rs,src/main.rs), end-to-end CLI/daemon tests (tests/daemon_and_cli_test.rs), and automated governance/LaTeX math integrity tests (tests/governance_and_docs_test.rs), removing[lints.cargo]unused-dependency suppressions fromCargo.toml. - Changes:
Cargo.toml&Cargo.lock: Removed[lints.cargo] unused_dependencies = "allow", removed deprecatedfiletime = "0.2"(replaced bystd::fs::FileTimesinsrc/actions.rs, logged asIMP-004), and enabledctrlcterminationfeature.src/engine.rs: AddedSweepEngine::run_config/run_liveexecuting the strict 6-phase pipeline (Scan -> InUseProbe -> BackupGuard -> RetentionEval -> PreHook -> Execute), emitting all 8AuditEventKindevents, enforcing dry-run/planparity, mid-sweep shutdown safety, and deterministic exit codes (0,1,3).src/daemon.rs: AddedDaemonRunnersupportingInterval/Notify/Hybrid(notify::RecommendedWatcher+ debounce),sweep_on_start, atomic.fc-tmppid_file(live PID -> exit4) & live JSONstate_file(version: "1.0.0"),ctrlc(SIGINT/SIGTERM) + cooperativestop_fileshutdown,--max-sweeps,daemon_status,daemon_stop, andgenerate_service_template(systemd,launchd,windows-task).src/cli.rs&src/main.rs: Implemented fullclapv4 CLI (--config,--dry-run,--json,-v,-q,--audit-log;run/clean,plan,check-in-use,validate,init,daemon {run, status, stop, service-template}) with documented exit codes (0,1,2,3,4,10).src/lib.rs: Exportedcli,daemon, andenginemodules alongside Wave 1/2 modules.- Integration Tests:
tests/daemon_and_cli_test.rs(6E2E tests) andtests/governance_and_docs_test.rs(3governance/SVG/PNG/LaTeX syntax integrity tests). - Governance Registers: Updated
docs/ACTION_LOGBOOK.mdanddocs/RCA_REGISTER.md(RCA-001,IMP-004). - Result:
cargo fmt --all -- --check: PASS (0diffs).cargo clippy --all-targets -- -D warnings: PASS (0warnings).cargo test: PASS (57unit tests +37integration tests across 8 suites =94 passed; 0 failed).cargo llvm-cov --all-targets --workspace --summary-only --fail-under-lines 90: PASS (92.67%–92.68%line coverage across8,075lines:actions.rs88.80%,audit.rs95.73%,cli.rs91.87%,config.rs94.69%,daemon.rs92.53%,engine.rs97.39%,error.rs100.00%,hooks.rs94.22%,in_use.rs87.56%,main.rs100.00%,policy.rs92.99%,scanner.rs90.79%).- Independent Audit: Approved by
@verifier(94/94passed,92.67%line coverage). - GitHub Tracking: Issue
#12/ PR#13(feat/issue-12-engine-cli-daemon).
ACT-003 — Implement Lifecycle Action Pipeline, Pure-Rust Compression, Pre-Delete Hooks, and JSONL Audit Log (Issue #8)¶
- Timestamp:
2026-11-20T10:03:39Z - Issue / Branch:
#8(feat/issue-8-actions-compression-hooks) - Request: Implement the Wave 2 ordered lifecycle action pipeline (
src/actions.rs), direct-argv pre-delete hook runner (src/hooks.rs), structured JSONL audit logging (src/audit.rs), validated configuration/hook examples (examples/), and integration test suites (tests/actions_pipeline_test.rs,tests/hooks_pre_delete_test.rs), merged cleanly with Wave 2 Core (Issue #7). - Changes:
src/hooks.rs: AddedHookCandidate,HookVerdict,HookFailureDisposition,HookRunner,ProcessHookRunner,evaluate_hook,expand_hook_args,format_action_summary, andhook_error_dispositionwith directCommand::newargv invocation (zero shell),FILECLEANER_*env vars, concurrent stdout/stderr draining,try_wait()timeout +kill()/wait()reaping,ETXTBSYretry,skip_exit_code = 42veto, andHookFailurePolicy::{AbortFile, AbortRule, WarnAndContinue}.src/actions.rs: AddedWorkingTarget,ActionReport,ActionExecutor::execute_pipeline,move_with_cross_fs_fallback,move_with_cross_fs_fallback_hook,copy_and_verify_sha256,execute_copy_truncate,compute_file_sha256, andverify_file_sha256coveringRenameByDate, pure-RustCompress(Gzip,Lz4,Brotli,Zip),Movewith.fc-tmp.<pid>.<seq>+sync_all()+ SHA-256 cross-FS verification,CopyTruncate, collision-safeTrash,Delete, and zero-mutationDryRunparity.src/audit.rs: AddedAuditEventKind,AuditEntry, synchronousAuditLogger,RuleSummaryRow,SweepSummary, andformat_bytes_human.src/lib.rs: Merged Wave 2 Core & Actions exports cleanly across all 8 modules (actions,audit,config,error,hooks,in_use,policy,scanner).- Examples & Hooks:
examples/postgres-backups.toml,examples/app-logs-rotation.toml,examples/incoming-spool.yaml,examples/hooks/archive_to_s3_mock.sh,examples/hooks/verify_checksum_before_delete.sh. - Integration Tests:
tests/actions_pipeline_test.rsandtests/hooks_pre_delete_test.rs. - Governance: Updated
docs/ACTION_LOGBOOK.md. - Result (Combined Wave 2
main+ Issue#8): cargo fmt --all -- --check: PASS (0diffs).cargo clippy --all-targets -- -D warnings: PASS (0warnings).cargo test: PASS (44unit tests +28integration tests across 6 suites =72 passed; 0 failed).cargo llvm-cov --all-targets --workspace --summary-only --fail-under-lines 90: PASS (91.74%line coverage across4,711lines:actions.rs88.69%,audit.rs95.16%,config.rs94.61%,error.rs100.00%,hooks.rs93.93%,in_use.rs87.23%,main.rs100.00%,policy.rs92.38%,scanner.rs90.79%).- Independent Audit: Approved by
@verifier(38/38standalone,92.82%standalone) and verified post-merge (72/72,91.74%). - GitHub Tracking: Issue
#8/ PR#11(feat/issue-8-actions-compression-hooks).
ACT-002 — Implement Directory Scanner, Multi-Probe In-Use Detector, and Backup-Guarded Retention Engine (Issue #7)¶
- Timestamp:
2026-11-20T09:57:09Z - Issue / Branch:
#7(feat/issue-7-retention-safety-inuse) - Request: Implement the Wave 2 core scanning, 6-layer active-writer detection, and mathematical backup-guarded retention planner (
src/scanner.rs,src/in_use.rs,src/policy.rs) with full unit and integration test suites (tests/retention_age_size_count_test.rs,tests/backup_guards_test.rs,tests/in_use_detection_test.rs). - Changes:
.gitignore: Added/.worktrees/exclusion so isolated parallel agent worktrees stay untracked.src/scanner.rs: AddedClock(SystemClock,FixedClock),ScannedFile,ScanReport, andScanner::scan_ruleenforcing non-symlink default traversal,.fc-tmp/control-file exclusion, glob/regex include/exclude precedence, byte-range bounds, fail-closedCreated/FilenameDatetimestamp resolution, and deterministic newest-first ordering.src/in_use.rs: AddedInUseReason,InUseReport,InUseBatchResult, injectableLockProbe+OsLockProbe(Unixflock, Linux/proc/*/fdinode scan with fail-closedEACCESdiagnostics, Windowsshare_mode(0)),ProcFdProbeOutcome,InUseDetector::check_batch(with batched single-sleep two-pointstability_window& future-mtime fail-closedmin_idle_age), andcheck_single/check_single_with.src/policy.rs: AddedRuleOutcome(Ok,Frozen,Constrained),DecisionKind,CandidateDecision,SweepPlan, andRetentionEngine::planimplementingF_valid, staleness dead-man's-switch freezes, unconditionalmin_keep_filesfloor, busy-file exclusion,CombineMode::{Any, All}, andEvictionOrder::{OldestFirst, LargestFirst}.src/lib.rs: Exportedin_use,policy, andscannermodules with public re-exports.- Integration Tests:
tests/retention_age_size_count_test.rs,tests/backup_guards_test.rs, andtests/in_use_detection_test.rs. - Governance Registers: Updated
docs/ACTION_LOGBOOK.mdanddocs/RCA_REGISTER.md(IMP-003). - Result:
cargo fmt --all -- --check: PASS (0diffs).cargo clippy --all-targets -- -D warnings: PASS (0warnings).cargo test: PASS (32unit tests +16integration tests =48 passed; 0 failed).cargo llvm-cov --all-targets --workspace --summary-only --fail-under-lines 90: PASS (92.00%line coverage across3,112lines:config.rs94.61%,error.rs100.00%,in_use.rs87.23%,main.rs100.00%,policy.rs92.38%,scanner.rs90.79%).- Independent Audit: Approved by
@verifier. - GitHub Tracking: Issue
#7/ PR#10(feat/issue-7-retention-safety-inuse).
ACT-001 — Establish Governance, Bilingual Specifications, Brand Identity, and Cargo v1.0.0 Contract (Issue #1)¶
- Timestamp:
2026-11-20T09:26:41Z - Issue / Branch:
#1(docs/issue-1-governance-specs-branding) - Request: Initialize the
jmrenouard/FileCleanerrepository with Apache-2.0 license,.gitignore/.gitattributes, SSH remote, MicroLLM-derived governance (AGENTS.md,.agents/rules/*,.github/dependabot.yml,docs/ACTION_LOGBOOK.md,docs/RCA_REGISTER.md), official brand identity assets (docs/assets/logo.svg,docs/assets/logo.png,docs/assets/header-banner.svg), formal bilingual specifications (docs/en/SPECIFICATIONS.md,docs/fr/SPECIFICATIONS.md), dev-team session transcript (docs/team-sessions/team-session-2026-11-20.md), and the initial compiling Rustv1.0.0Cargo scaffold (Cargo.toml,src/error.rs,src/config.rs,src/lib.rs,src/main.rs,tests/cli_validate.rs). - Changes:
- Repository Root & GitHub Foundation (root commit
efac08conmain):.gitignore,.gitattributes,LICENSE(Apache-2.0, Copyright 2026 Jean-Marie Renouard / LightPath), public repojmrenouard/FileCleanerover SSH (git@github.com:jmrenouard/FileCleaner.git). - Governance & Automation (English-Only):
AGENTS.md,.agents/rules/github-workflow.md,.agents/rules/git-workflow.md,.agents/rules/project-governance.md,.agents/rules/language-policy.md,.agents/rules/latex-math-in-markdown.md,.github/dependabot.yml,docs/ACTION_LOGBOOK.md,docs/RCA_REGISTER.md(IMP-001,IMP-002,APP-001,IDEA-001..IDEA-004). - Brand Identity Assets:
docs/assets/logo.svg,docs/assets/logo.png(512x512),docs/assets/header-banner.svg(1260x420). - Bilingual Formal Specifications & Team Alignment:
docs/en/SPECIFICATIONS.md,docs/fr/SPECIFICATIONS.md(62/62matched headings,22/22column-0 display math equations, zero\operatorname),docs/team-sessions/team-session-2026-11-20.md. - Rust v1.0.0 Cargo Scaffold & Tests:
Cargo.toml,Cargo.lock,src/error.rs,src/config.rs,src/lib.rs,src/main.rs,tests/cli_validate.rs(pure-Rust dependencies verified viacargo tree; aligned schema coveringConfig,DaemonConfig/DaemonMode,AuditConfig,RuleConfig,TimeBasis,CombineMode,EvictionOrder,BackupGuardConfig,InUseConfig,HookConfig/HookFailurePolicy,ActionStep,CompressionFormat,parse_bytes,parse_duration_str,Config::from_file, andConfig::validate). - Result:
cargo fmt --all -- --check: PASS (0formatting diffs).cargo clippy --all-targets -- -D warnings: PASS (0warnings,0errors).cargo test: PASS (13unit tests insrc/lib.rs+1integration test intests/cli_validate.rs=14 passed; 0 failed).cargo llvm-cov --summary-only --fail-under-lines 90: PASS (94.80%line coverage across1,269lines:src/config.rs94.61%,src/error.rs100.00%,src/main.rs100.00%).- Spec validation: All canonical TOML/YAML examples in
docs/en/SPECIFICATIONS.md§2.6 verified withfilecleaner validate(exit0). - GitHub tracking: Issue
#1/ PR#2(docs/issue-1-governance-specs-branding).