Commit graph

2 commits

Author SHA1 Message Date
b6b9630148 feat(git): add license, opencode project config and branch protection
Some checks are pending
ci / test (push) Waiting to run
- LICENSE (GPL-2.0-or-later, matching the crate manifests) plus a README note.
- .opencode/opencode.json encodes the safety rules as tool permissions (deny
  disk/format tools and secret stores) and pulls OBJECTIVES/ROADMAP/HANDOFF
  into context; .opencode/command/{verify,handoff}.md add session commands.
- scripts/forgejo.sh protect/unprotect and 'make protect'; main is protected
  (owner push allowed, force-push blocked).
2026-09-20 02:41:35 -07:00
e680084f83 feat(git): add Forgejo API helper and one-command token setup
Adds scripts/forgejo.sh: 'init' prompts for the token with hidden input,
stores it 0600 at ~/.config/phoebus/forgejo.token, verifies the account and
makes the repository public. Also whoami/repo-info/set-public/list-repos/
create-repo/create-release, using a 0600 temp curl config so the token never
appears in argv, logs or history. Wires make forgejo-init/public/release and
documents the flow in docs/GIT-WORKFLOW.md.
2026-09-20 02:25:48 -07:00