3.1 KiB
FAIL
Checked: cargo check --workspace, cargo clippy --workspace --all-targets (clean), cargo test --workspace (3 passed), cargo fmt --check (clean), tests/scripts/apps-start.sh (8 of 8 pass), tests/scripts/agents_md.py (pass). Every file is under 500 lines and every comment is within limits. All eight app manifests match and inherit the AGPL license from the workspace.
-
crates/ely-platform/src/logging.rs:10 (and Cargo.toml:21,25, crates/ely-platform/Cargo.toml:12-13) What is wrong: logging is built on
log+env_logger. agents.md:90 (rule 4) requirestracing. Failing scenario: a later task follows rule 4 and writestracing::info!or atracingspan on a critical path, such as a LOK worker start. Notracingsubscriber is installed, so the record is dropped without any error. It reaches neither stderr norely-<app>.log. Direction: install atracing-subscriberfiltered byELY_LOGthat writes to the same file and stderr, and bridge gpui'slogrecords into it (tracing-log). The other option is to change rule 4 in agents.md tolog. Code and rule must agree. -
crates/ely-ui/src/shell.rs:25 What is wrong: the outer
div()exists only to carrydebug_selector("shell"). That call does nothing unless gpui is built withtest/test-support(gpui div.rs:887-894), and nothing in the repo queries "shell". The result is dead code plus a box inside a box around theFocusScoperoot. Failing scenario: a release or normal debug build gets an extra full-size layout node that does nothing. Searchingcrates apps tests scriptsfor "shell" turns up no reader of the selector. Direction: remove the wrapper and the selector, and return theFocusScoperoot directly. -
crates/ely-ui/src/shell.rs:34 What is wrong: the only content is an
h1with the app name, which already appears in the window title (run.rs:28). agents.md rule 7 forbids useless titles and text. Failing scenario: opening ElyDoc shows "ElyDoc" in the title bar and again as a large heading in the middle of the window. The heading adds no information. Direction: drop the heading and leave the themed content area empty until a later task gives it real content. -
Cargo.toml:28-29 What is wrong:
unexpected_cfgsdeclarescheck-cfgforfeature = "cargo-clippy", but no crate in the workspace usescfg(feature = "cargo-clippy"). This is dead configuration. Failing scenario: removing the two lines leavescargo checkandcargo clippyoutput unchanged. Direction: delete the[workspace.lints.rust]entry. -
tests/scripts/apps-start.sh:17 What is wrong: the script sandboxes only
HOME.directories::BaseDirs::data_local_diruses$XDG_DATA_HOMEfirst on Linux, which PRD §4.1 lists as a target. Failing scenario: on a Linux machine or CI runner withXDG_DATA_HOMEset, the eight apps append to the developer's real$XDG_DATA_HOME/ElyOffice/logs.find "$work"at line 20 finds nothing, so the script reports "wrote no log file" even though logging works. Direction: pointXDG_DATA_HOMEat the temp dir (or unset it) for each app run, as is done forHOME.