Skip to content

Commit 4e9b477

Browse files
committed
chore: prepare repo for public release
1 parent 984c7dc commit 4e9b477

11 files changed

Lines changed: 273 additions & 3 deletions

File tree

.gitattributes

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Auto-detect text files and normalize to LF
2+
* text=auto
3+
4+
# Explicitly mark source files as text
5+
*.js text eol=lf
6+
*.ts text eol=lf
7+
*.md text eol=lf
8+
*.json text eol=lf
9+
*.yaml text eol=lf
10+
*.yml text eol=lf
11+
*.sh text eol=lf
12+
13+
# Binary files — never normalize
14+
*.png binary
15+
*.jpg binary
16+
*.jpeg binary
17+
*.gif binary
18+
*.ico binary
19+
*.wav binary
20+
*.mp3 binary
21+
*.ogg binary
22+
*.fbx binary
23+
*.blend binary
24+
*.dll binary
25+
*.exe binary
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Bug report
3+
about: Report a bug to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
1. Run '...'
15+
2. See error
16+
17+
**Expected behavior**
18+
What you expected to happen instead.
19+
20+
**Environment:**
21+
- OS: [e.g. Windows, macOS, Linux]
22+
- OpenCode version: `opencode --version`
23+
- Repo version: `git log --oneline -1`
24+
25+
**Additional context**
26+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem?**
10+
A clear and concise description of what the problem is.
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
Any alternative solutions or workarounds you've thought of.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## Summary
2+
3+
<!-- One sentence describing the change. -->
4+
5+
## Related Issues
6+
7+
<!-- Link to any related issues. -->
8+
9+
## Type of Change
10+
11+
- [ ] Bug fix
12+
- [ ] New feature
13+
- [ ] Documentation
14+
- [ ] Refactor
15+
- [ ] CI/Build
16+
17+
## Testing
18+
19+
- [ ] All existing tests pass: `node .opencode/plugins/tests/test-<name>.mjs`
20+
- [ ] Added/modified tests for this change
21+
22+
## Checklist
23+
24+
- [ ] Conventional Commits style used in branch commits
25+
- [ ] README updated if public interface changed
26+
- [ ] No secrets or credentials committed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
- run: node .opencode/plugins/tests/test-session-start.mjs
18+
- run: node .opencode/plugins/tests/test-session-stop.mjs
19+
- run: node .opencode/plugins/tests/test-detect-gaps.mjs
20+
- run: node .opencode/plugins/tests/test-validate-assets.mjs
21+
- run: node .opencode/plugins/tests/test-validate-commit.mjs
22+
- run: node .opencode/plugins/tests/test-validate-push.mjs
23+
- run: node .opencode/plugins/tests/test-validate-skill-change.mjs
24+
- run: node .opencode/plugins/tests/test-pre-compact.mjs
25+
- run: node .opencode/plugins/tests/test-post-compact.mjs
26+
- run: node .opencode/plugins/tests/test-log-agent.mjs
27+
- run: node .opencode/plugins/tests/test-log-agent-stop.mjs

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,15 @@ opencode-config-debug*.json
66
opencode-debug-latest.json
77
fixed-debug.json
88
opencode-config-verify.json
9+
10+
# Session data (private — contains design discussions)
11+
production/session-logs/
12+
production/session-state/
13+
14+
# OS junk
15+
Thumbs.db
16+
.DS_Store
17+
desktop.ini
18+
*.swp
19+
*.swo
20+
*~

CODE_OF_CONDUCT.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment:
18+
19+
- Demonstrating empathy and kindness toward other people
20+
- Being respectful of differing opinions, viewpoints, and experiences
21+
- Giving and gracefully accepting constructive feedback
22+
- Accepting responsibility and apologizing to those affected by our mistakes
23+
- Focusing on what is best for the overall community
24+
25+
Examples of unacceptable behavior:
26+
27+
- The use of sexualized language or imagery, and sexual attention or advances
28+
- Trolling, insulting or derogatory comments, and personal or political attacks
29+
- Public or private harassment
30+
- Publishing others' private information without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a professional setting
32+
33+
## Enforcement Responsibilities
34+
35+
Project maintainers are responsible for clarifying and enforcing our standards
36+
and will take appropriate and fair corrective action in response to any behavior
37+
that they deem inappropriate, threatening, offensive, or harmful.
38+
39+
## Scope
40+
41+
This Code of Conduct applies within all community spaces, and also applies when
42+
an individual is officially representing the community in public spaces.
43+
44+
## Enforcement
45+
46+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
47+
reported to the project maintainers. All complaints will be reviewed and
48+
investigated promptly and fairly.
49+
50+
## Attribution
51+
52+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
53+
version 2.1, available at
54+
https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
55+
56+
[homepage]: https://www.contributor-covenant.org

CONTRIBUTING.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Contributing
2+
3+
Thanks for your interest in OpenCode Game Studios!
4+
5+
## Quick Start
6+
7+
```bash
8+
git clone https://github.com/striderZA/OpenCodeGameStudios.git
9+
cd OpenCodeGameStudios
10+
opencode
11+
```
12+
13+
## How to Contribute
14+
15+
1. **Open an issue** first — bug report or feature request
16+
2. Discuss the approach with maintainers
17+
3. Fork the repo and create a branch
18+
4. Make your changes
19+
5. Run the plugin tests: `node .opencode/plugins/tests/test-<name>.mjs`
20+
6. Submit a pull request
21+
22+
## Commit Conventions
23+
24+
We use [Conventional Commits](https://www.conventionalcommits.org/):
25+
26+
```
27+
<type>(<scope>): <imperative summary>
28+
```
29+
30+
Types: `feat`, `fix`, `refactor`, `docs`, `test`, `chore`, `build`, `ci`
31+
Scope: the affected system (e.g., `plugin`, `agents`, `docs`)
32+
33+
Examples:
34+
- `feat(plugin): add session-start time tracking`
35+
- `fix(agents): correct model prefix for director agents`
36+
- `docs: add model assignment strategy section`
37+
38+
## Pull Request Process
39+
40+
- Keep PRs focused — one feature/fix per PR
41+
- Update tests if changing plugin behavior
42+
- Update README if changing public interface
43+
- All tests must pass before merge
44+
45+
## Code of Conduct
46+
47+
Please read and follow our [Code of Conduct](CODE_OF_CONDUCT.md).

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 OpenCode Game Studios
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
55
```text
66
╔════════════════════════════════════════╗
7-
║ 49 AGENTS · 72 COMMANDS · 12 HOOKS ║
8-
║ 129 TESTS · ALL GREEN ║
9-
╚════════════════════════════════════════╝
7+
║ 49 AGENTS · 72 COMMANDS · 12 HOOKS ║
8+
║ 129 TESTS · ALL GREEN ║
9+
║ MIT LICENSE · FREE ║
10+
╚════════════════════════════════════════╝
1011
```
1112

1213
---
@@ -236,6 +237,8 @@ at **`.opencode/plugins/ccgs-hooks.ts`**:
236237
<sub>Built with ❤️ for AI-assisted game development</sub>
237238
<br>
238239
<sub>OpenCode Game Studios · CCGS Port</sub>
240+
<br>
241+
<sub>MIT License · Free for any use</sub>
239242
<br><br>
240243
<a href="https://paypal.me/striderZA">☕ Support development</a>
241244
</p>

0 commit comments

Comments
 (0)