Skip to content

Commit f6c27b7

Browse files
committed
chore: add all open source structure files
1 parent 89c76f7 commit f6c27b7

13 files changed

Lines changed: 65388 additions & 1 deletion

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
6+
7+
## [Unreleased]
8+
9+
### Added
10+
- Initial changelog.
11+
12+
## [0.0.1] - 2026-01-31
13+
14+
### Added
15+
- Initial release.

CODE_OF_CONDUCT.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# Code of Conduct
2+
3+
This project follows the Contributor Covenant Code of Conduct.
4+
5+
## Our Pledge
6+
7+
We as members, contributors, and leaders pledge to make participation in our
8+
community a harassment-free experience for everyone, regardless of age, body
9+
size, visible or invisible disability, ethnicity, sex characteristics, gender
10+
identity and expression, level of experience, education, socio-economic status,
11+
nationality, personal appearance, race, religion, or sexual identity
12+
and orientation.
13+
14+
We pledge to act and interact in ways that contribute to an open, welcoming,
15+
diverse, inclusive, and healthy community.
16+
17+
## Our Standards
18+
19+
Examples of behavior that contributes to a positive environment for our
20+
community include:
21+
22+
- Demonstrating empathy and kindness toward other people
23+
- Being respectful of differing opinions, viewpoints, and experiences
24+
- Giving and gracefully accepting constructive feedback
25+
- Accepting responsibility and apologizing to those affected by our mistakes,
26+
and learning from the experience
27+
- Focusing on what is best not just for us as individuals, but for the
28+
overall community
29+
30+
Examples of unacceptable behavior include:
31+
32+
- The use of sexualized language or imagery, and sexual attention or advances
33+
- Trolling, insulting or derogatory comments, and personal or political attacks
34+
- Public or private harassment
35+
- Publishing others' private information, such as a physical or email
36+
address, without their explicit permission
37+
- Other conduct which could reasonably be considered inappropriate in a
38+
professional setting
39+
40+
## Enforcement Responsibilities
41+
42+
Community leaders are responsible for clarifying and enforcing our standards of
43+
acceptable behavior and will take appropriate and fair corrective action in
44+
response to any behavior that they deem inappropriate, threatening, offensive,
45+
or harmful.
46+
47+
Community leaders have the right and responsibility to remove, edit, or reject
48+
comments, commits, code, wiki edits, issues, and other contributions that are
49+
not aligned to this Code of Conduct, and will communicate reasons for
50+
moderation decisions when appropriate.
51+
52+
## Scope
53+
54+
This Code of Conduct applies within all community spaces, and also applies when
55+
an individual is officially representing the community in public spaces.
56+
Examples of representing our community include using an official email address,
57+
posting via an official social media account, or acting as an appointed
58+
representative at an online or offline event.
59+
60+
## Enforcement
61+
62+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
63+
reported to the community leaders responsible for enforcement at:
64+
luislucena137@gmail.com.
65+
66+
All complaints will be reviewed and investigated promptly and fairly.
67+
68+
## Enforcement Guidelines
69+
70+
Community leaders will follow these Community Impact Guidelines in determining
71+
the consequences for any action they deem in violation of this Code of Conduct:
72+
73+
### 1. Correction
74+
75+
Community Impact: Use of inappropriate language or other behavior deemed
76+
unprofessional or unwelcome in the community.
77+
78+
Consequence: A private, written warning from community leaders, providing
79+
clarity around the nature of the violation and an explanation of why the
80+
behavior was inappropriate. A public apology may be requested.
81+
82+
### 2. Warning
83+
84+
Community Impact: A violation through a single incident or series
85+
of actions.
86+
87+
Consequence: A warning with consequences for continued behavior. No interaction
88+
with the people involved, including unsolicited interaction with those
89+
enforcing the Code of Conduct, for a specified period of time. This includes
90+
avoiding interactions in community spaces as well as external channels like
91+
social media. Violating these terms may lead to a temporary or permanent ban.
92+
93+
### 3. Temporary Ban
94+
95+
Community Impact: A serious violation of community standards, including
96+
sustained inappropriate behavior.
97+
98+
Consequence: A temporary ban from any sort of interaction or public
99+
communication with the community for a specified period of time. No public or
100+
private interaction with the people involved, including unsolicited
101+
interaction with those enforcing the Code of Conduct, is allowed during this
102+
period. Violating these terms may lead to a permanent ban.
103+
104+
### 4. Permanent Ban
105+
106+
Community Impact: Demonstrating a pattern of violation of community standards,
107+
including sustained inappropriate behavior, harassment of an individual, or
108+
aggression toward or disparagement of classes of individuals.
109+
110+
Consequence: A permanent ban from any sort of public interaction within the
111+
community.
112+
113+
## Attribution
114+
115+
This Code of Conduct is adapted from the Contributor Covenant, version 2.1,
116+
available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
117+
118+
Community Impact Guidelines were inspired by
119+
https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing
2+
3+
Thanks for your interest in contributing to Midnight Escrow System!
4+
5+
## Quick Start
6+
7+
1. Fork the repository and create a feature branch
8+
2. Install dependencies: `yarn install`
9+
3. Run a full build: `yarn build:all`
10+
4. Open a pull request with a clear description
11+
12+
## Development Guidelines
13+
14+
- Keep changes focused and small
15+
- Add or update documentation when behavior changes
16+
- Keep security implications in mind for contract/API changes
17+
18+
## Commit and PR Guidelines
19+
20+
- Use clear, descriptive commit messages
21+
- Reference related issues when applicable
22+
- Ensure CI passes before requesting review
23+
24+
## Getting Help
25+
26+
If you have questions, open an issue or contact the maintainers listed in `MAINTAINERS.md`.

GOVERNANCE.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Governance
2+
3+
## Decision-Making
4+
5+
This project is maintained by the core maintainers listed in `MAINTAINERS.md`. Decisions are made through public discussion in issues and pull requests.
6+
7+
## Proposals and Changes
8+
9+
- Small changes: submit a PR and request review.
10+
- Significant changes (architecture, breaking changes, roadmap scope): open an issue and include a brief proposal before a PR.
11+
12+
## Maintainer Responsibilities
13+
14+
Maintainers are expected to:
15+
- Review changes in a timely manner
16+
- Enforce project standards and security practices
17+
- Keep documentation and roadmap current
18+
19+
## Conflict Resolution
20+
21+
If maintainers disagree, the default approach is to seek consensus. If consensus cannot be reached, the lead maintainer may make a final decision after a 7-day public discussion period.
22+
23+
## Code of Conduct
24+
25+
This project follows the Contributor Covenant. Reports should be sent to the security contact listed in `SECURITY.md`.

MAINTAINERS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Maintainers
2+
3+
## Core Maintainers
4+
5+
- Luis Lucena (GitHub: luislucena16) – lucenaluis137@gmail.com
6+
- Hong Jingle (GitHub: jinglescode) – jingles@meshjs.dev
7+
8+
## Responsibilities
9+
10+
Maintainers are responsible for:
11+
- Reviewing and merging pull requests
12+
- Managing releases and versioning
13+
- Maintaining project quality, security, and documentation
14+
- Triaging issues and engaging with the community

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ function App() {
155155
}
156156
```
157157

158+
## Testing
159+
160+
Automated tests are not yet available. CI currently validates builds only.
161+
Planned test coverage is tracked in `ROADMAP.md`.
158162

159163
## Try the Project
160164

RELEASE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Release Process
2+
3+
## Versioning
4+
5+
We follow Semantic Versioning (SemVer): MAJOR.MINOR.PATCH.
6+
7+
## Release Steps
8+
9+
1. Ensure CI is green on `main`
10+
2. Update CHANGELOG (if applicable)
11+
3. Tag the release: `vX.Y.Z`
12+
4. Create a GitHub Release with notes
13+
14+
## Support Policy
15+
16+
Only the latest release and `main` are supported for security fixes. See `SECURITY.md`.

ROADMAP.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Roadmap
2+
3+
Dates below are targets and may shift based on upstream changes and ecosystem priorities.
4+
5+
## Milestone 1 — Dependency & Tooling Refresh (Target: March 31, 2026)
6+
7+
- Upgrade core dependencies across packages (Midnight SDKs, Compact compiler, UI libraries)
8+
- Resolve deprecations and security advisories
9+
- Publish an updated SBOM
10+
- Acceptance criteria:
11+
- Builds succeed on CI for all workspaces
12+
- Updated lockfile committed
13+
- SBOM refreshed and documented
14+
15+
## Milestone 2 — Reliability & Test Coverage (Target: June 30, 2026)
16+
17+
- Add smoke tests for setup workflows (deploy, join, read state)
18+
- Add basic CLI/API integration tests where feasible
19+
- Document test coverage and known gaps
20+
- Acceptance criteria:
21+
- Tests run in CI and pass
22+
- Test documentation updated in README
23+
24+
## Milestone 3 — UX & Operator Improvements (Target: September 30, 2026)
25+
26+
- Improve onboarding UX for dApp setup and contract workflows
27+
- Add clearer network configuration messaging in UI/CLI
28+
- Update documentation with common troubleshooting steps
29+
- Acceptance criteria:
30+
- Updated UI/CLI documentation
31+
- Demo flow completed without manual patching

SBOM.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SBOM
2+
3+
This project publishes a CycloneDX Software Bill of Materials (SBOM).
4+
5+
## Generate
6+
7+
From the repo root:
8+
9+
```sh
10+
corepack enable
11+
npm_config_yes=true npx @cyclonedx/cyclonedx-npm --output-file sbom.cdx.json --output-format json
12+
```
13+
14+
Commit the updated `sbom.cdx.json` to the repository.
15+
16+
## Validate (basic)
17+
18+
Parse the file and print key fields:
19+
20+
```sh
21+
node -e "const fs=require('fs');const d=JSON.parse(fs.readFileSync('sbom.cdx.json','utf8'));console.log('bomFormat:',d.bomFormat);console.log('specVersion:',d.specVersion);console.log('version:',d.version);console.log('components:',(d.components||[]).length);"
22+
```
23+
24+
## Current File
25+
26+
- `sbom.cdx.json` (CycloneDX JSON format)

SECURITY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
If you discover a security issue, please report it privately by email:
6+
7+
- Email: luislucena137@gmail.com
8+
9+
Please include:
10+
- A clear description of the issue
11+
- Steps to reproduce
12+
- Affected components/versions
13+
- Any proof of concept or logs (if available)
14+
15+
We aim to acknowledge reports within 72 hours and provide a remediation plan or fix timeline within 10 business days.
16+
17+
## Supported Versions
18+
19+
Security fixes are provided for:
20+
- `main` branch
21+
- Latest tagged release
22+
23+
Older versions are not actively supported.

0 commit comments

Comments
 (0)