docs: weekly architecture docs refresh automation#167
Draft
Conversation
… helper - Add scripts/openhands_api.py minimal client for OpenHands Cloud API - Add scripts/prompts/architecture_refresh.j2 prompt with style/citation/PR requirements - Add .github/workflows/weekly-architecture-refresh.yml to trigger weekly refresh Co-authored-by: openhands <openhands@all-hands.dev>
enyst
commented
Dec 9, 2025
…n 3.12 Co-authored-by: openhands <openhands@all-hands.dev>
…lpers - Replace urllib with requests - Keep simple _http_json wrapper for consistency, but leverage response.json() Co-authored-by: openhands <openhands@all-hands.dev>
- Use astral-sh/setup-uv and uv run with Python 3.12 - Inline requests Session calls; remove urllib/json glue Co-authored-by: openhands <openhands@all-hands.dev>
…re-agent-sdk under openhands-agent-server/) Co-authored-by: openhands <openhands@all-hands.dev>
…n\nCo-authored-by: openhands <openhands@all-hands.dev>
…oftware-agent-sdk HEAD for audit\n\nCo-authored-by: openhands <openhands@all-hands.dev>
…\n\nCo-authored-by: openhands <openhands@all-hands.dev>
…with correct agent-server path)\n\nCo-authored-by: openhands <openhands@all-hands.dev>
neubig
reviewed
Dec 31, 2025
Contributor
neubig
left a comment
There was a problem hiding this comment.
Thanks for this @enyst ! But is there a reason why we need openhands_api.py and couldn't just use the more standard workflow here? https://github.com/OpenHands/software-agent-sdk/tree/main/examples/03_github_workflows/01_basic_action
If there's a reason why you particularly want to run this on the cloud, it might be nice to have a standard "dispatch to cloud" github workflow in the examples directory, and then re-use that here.
Contributor
|
Converting to draft for now pending review comments. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a weekly workflow that refreshes the SDK architecture documentation using the OpenHands Cloud API, adapted from the ideas in OpenHands/OpenHands#10566.
What’s included
.github/workflows/weekly-architecture-refresh.ymlscripts/openhands_api.pyscripts/prompts/architecture_refresh.j2.github/pull_request_template.md; run pre-commit; ensure CI passesCredentials
OPENHANDS_API_KEYto be set as an Actions secret. If a different secret name is preferred (e.g., ALL_HANDS_BOT), we can adjust the workflow environment variable.Notes
Co-authored-by: openhands openhands@all-hands.dev
@enyst can click here to continue refining the PR