Skip to content

docs: add Simplified Chinese README - #8

Merged
safishamsi merged 1 commit into
Graphify-Labs:v3from
cyxer000:docs/chinese-readme
Apr 6, 2026
Merged

safishamsi merged 1 commit into
Graphify-Labs:v3from
cyxer000:docs/chinese-readme

Conversation

@cyxer000

@cyxer000 cyxer000 commented Apr 6, 2026

Copy link
Copy Markdown

Summary

  • add README.zh-CN.md as a Simplified Chinese translation of the project README
  • add a language switcher to README.md so readers can discover the Chinese version
  • keep the change documentation-only and aligned with the existing structure

Test plan

  • git diff --check
  • Verified README links and file structure locally

Add a Chinese README translation and link it from the main README for easier language discovery.
@safishamsi
safishamsi merged commit 5f5cf4a into Graphify-Labs:v3 Apr 6, 2026
phreakocious added a commit to phreakocious/graphify that referenced this pull request May 8, 2026
…aths

Field report (graphify dogfood, 2026-05-07): on a fuzzy miss
(`@nonexistent`) or a `--node-kind`-zeroed listing, the call prints
`session: <id>` underneath an error/empty result. Threading --session
on the next call resumes a cursor that didn't move, so the line is
noise on a row the agent can't act on.

Rule: print session-id only when the call produced something pickable
(node, non-empty listing, pivot). On hard misses (resolver returned
no candidates → "no node matches" error, --node-kind filter zeroed
the listing), drop it.

Lap-22 disambig affordance preserved: disambig listings have items
and ARE chainable via `[N] --session <id>`, so they keep the line +
pick hint.

3 tests in test_navigate.py:
- test_session_id_suppressed_on_resolver_miss
- test_session_id_suppressed_on_kind_filter_zeroed_listing
- test_session_id_kept_on_disambig_listing_with_pickable_rows
  (regression guard for lap-22b)

Co-Authored-By: Claude Opus 4.7 <[email protected]>
phreakocious added a commit to phreakocious/graphify that referenced this pull request May 8, 2026
When the indent-walker returns 1-3 lines but the graph stamped a much
longer source_location range (`L1796-L1812` → 17 lines), the rendered
body is misleading: the agent reads "1 lines" and concludes the
function is one line long. Most plausible cause is a stale graph —
the file content shifted (refactor, insertion above the stamp) but
the cached source_location wasn't refreshed, so the walker landed
on a comment/blank line and bailed at the first dedent.

Add a `⚠ body walker returned N line(s) but the graph said M` line
under the body header when:
- the stamped range is `L<a>-<b>` with b-a+1 >= 6
- the walker's visible line count is <= 3 AND less than half
  the stamped count
- truncation by --lines is NOT the cause (the truncated banner
  already explains that case)

The warning names the next op (`graphify update .` then retry) so
the agent doesn't have to guess what to do with a misleading body
dump. Discovered while dogfooding the lap-27 Graphify-Labs#8 session-id check
on graphify itself — `navigate "@_emit_hint" read` returned 1
line because the graph still had pre-edit line stamps; the warning
now makes the staleness visible at the point of friction rather
than hidden behind the top-of-output stale-graph banner that the
agent was already past.

Tests: warns when walker bails far short; no warning on benign
truncation or well-matched walker output. 811 tests passing.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants