docs(readme): document crate layout and parsing-vs-rendering boundary (FJ-19) #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/document-crate-layout-parsing-rendering-boundary-fj-19"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Adds an Architecture section to
README.mddocumenting the Cargo workspace layout and the parsing-vs-rendering crate boundary, so thefj-client/fj-corereuse contract is discoverable from the project's main entry point rather than only from acrates/fj-core/src/lib.rsdocstring. Resolves FJ-19.Changes
fj-client(connection / credentials /keys.json/ client construction / URL+SSH resolution),fj-core(CLI-agnostic domain operations returningforgejo-apistructs, the issue-template parser, shared types likeRepoName), andfj(the binary: clap, crossterm, fluent, interactive prompts, all rendering).fj-client/fj-coreare CLI-free and the dependency target for the planned Forgejo MCP, banningclap/crossterm/fluent-*, and reproduces thecargo tree ... | grep -E 'clap|crossterm|fluent'verify grep verbatim so the README and the verify check agree.comrakas the one intentional exception: it powers the issue-template parser infj-core(parsing, which an MCP consumer needs) and is deliberately not part of the grep; ANSI / terminal markdown rendering stays in thefjbinary.v0.6.0), with the Forgejo Cargo package registry noted as an optional path.Acceptance criteria
fj-client/fj-coreare CLI-free and reusable (MCP target), banningclap/crossterm/fluent-*.comrakis allowed infj-coreas the issue-template parser; rendering stays infj.clap/crossterm/fluentonly: the documented grep inCLAUDE.md:24already excludescomrak, and the README now states the same rule, so README and verify check agree. Confirmedcargo tree -p fj-client -p fj-core -e normal | grep -E 'clap|crossterm|fluent'returns nothing.Notes
Docs-only change; no Rust touched. Committed with a bare
#FJ-19reference (noState Donetrailer): the Forgejo VCS integration applies commit commands at push time, so aState Donetrailer would resolve the issue before review. Per the YouTrack workflow,State Doneis set manually after a human merges.