Skip to content

fix(agent): show the agent which wiki space a document was generated into - #79

Merged
Rl0007 merged 1 commit into
mainfrom
fix/agent-sees-published-wiki
Oct 6, 2026
Merged

Rl0007 merged 1 commit into
mainfrom
fix/agent-sees-published-wiki

Conversation

@Rl0007

@Rl0007 Rl0007 commented Oct 5, 2026

Copy link
Copy Markdown
Contributor
  1. On a published import, the assistant could say no wiki had been generated yet, because nothing it saw told it the wiki existed.
  2. The assistant now sees which wiki space the open document was generated into (and its route), and the wiki-page lookup no longer reads like "no wiki" when it is given the wrong kind of id.

You can visit an import that has a generated wiki and ask the assistant about the wiki to see it.

Fixes #43

Verification
  • New test test_document_context_says_where_the_wiki_is_published (test_agent_content): fails on main (no wiki line in the context block), passes on this branch. It uses the real wiki generation, not a stub.
  • Agent test modules (content, agent, polish, write) pass. Full suite on a devbox: 475 passed, 0 failed, 11 skipped (main baseline was 474/0/11, plus the new test).
  • Devbox e2e: generated the wiki for a [test] import for real, then called the context builder and read_wiki_page with the document id. Before: the tree only, and "Section ... not found." After: "Wiki: generated into wiki space [test] what-is-wikify at /test-what-is-wikify." and a not-found text that names the expected section id.
  • Backend review: approved. Its one wording note ("published" can overstate for an existing space that is not public) was applied.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@Rl0007
Rl0007 merged commit 734ab08 into main Oct 6, 2026
3 checks passed
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.

Assistant says no wiki has been generated for an import that is already published

1 participant