Skip to content

Community contributions: layout, validator, index and CI - #25

Draft
assassin808 wants to merge 2 commits into
codex/build-study-platformfrom
claude/community-publishing
Draft

assassin808 wants to merge 2 commits into
codex/build-study-platformfrom
claude/community-publishing

Conversation

@assassin808

Copy link
Copy Markdown
Contributor

Groundwork for publishing studies from HumanStudy Hub desktop to the community, per humanstudy-desktop/docs/design/community-publishing.md.

  • community/<paper-key>/<slug>--<contributor>[-vN]/ layout: one folder per contribution, so several reconstructions of the same paper never conflict; paper.json per paper, CONTRIBUTION.json per contribution (schemas in contracts/).
  • scripts/validate_contribution.py (plain-language errors; reuses the package validator, now a function).
  • build_studies_index.py adds a community array to the index; existing studies entries unchanged.
  • validate-community.yml: PR author must be the contributor's GitHub login, or humanstudy-bot with a Hub signature; edits to others' folders need the owner, the bot or a maintainer; add-only green PRs get an auto-merge label.
  • 29 new tests in tests/test_community.py; full suite 202 pass.

Draft until the server side (bot PRs through the Hub) exists.

🤖 Generated with Claude Code

assassin808 and others added 2 commits October 12, 2026 09:15
- community/README.md, paper and contribution JSON schemas
- scripts/community.py (paper keys, folder names, maintainers)
- scripts/validate_contribution.py reusing validate_package and validate_human_program
- studies_index.json gains a community array
- validate-community workflow with contributor rules and auto-merge label

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…r dogfood deployments

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant