fuchikoma 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +61 -0
- data/LICENSE +21 -0
- data/README.md +119 -0
- data/lib/fuchikoma/version.rb +6 -0
- data/sig/fuchikoma.rbs +3 -0
- metadata +52 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: da3aced2346b8f6148bdc56182316fd64ec89fcaf8802a21947f2208789f1a1b
|
|
4
|
+
data.tar.gz: c92505a46df27e0a73e984d5017a6f6fec456cf82a4bb2a99979d830dc8b0bee
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 84b3903776fff3fd0cbcaeea52b92349864e80cccfff15a8ae6baa22b56dea3bc043cf409cb87e4fa42e4e790f83330fb601d70ccdf3976631a7361aa479d728
|
|
7
|
+
data.tar.gz: 14588b2a4cb8cae3264146020802522c31ab73b37756af884d3ce521f4e65b8dbf8bdb02f63109d8cc96397529bba34ef7c7de1b39da058379cc059298a90816
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to Fuchikoma are recorded in this file.
|
|
4
|
+
|
|
5
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and the project follows [Semantic Versioning](https://semver.org/). Before
|
|
7
|
+
1.0.0, a minor release may change the API, with a note in this file.
|
|
8
|
+
|
|
9
|
+
## [Unreleased]
|
|
10
|
+
|
|
11
|
+
## [0.0.2] - 2026-11-25
|
|
12
|
+
|
|
13
|
+
Supply chain and release automation. There is still no framework code.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- `DEPENDENCIES.md`, the policy of fewer than 15 runtime gems, each justified.
|
|
18
|
+
- Dependabot for Bundler and GitHub Actions, and a `bundler-audit` workflow
|
|
19
|
+
that runs on every pull request, on `main` and every week.
|
|
20
|
+
- A tag-triggered release workflow that publishes to RubyGems.org with trusted
|
|
21
|
+
publishing. Running it by hand is a dry run that publishes nothing.
|
|
22
|
+
- Release tag checks (`.github/scripts/check-release-tag.sh`): tag name,
|
|
23
|
+
version, changelog section, signature verified by GitHub and tagged commit
|
|
24
|
+
on `main`.
|
|
25
|
+
- A reproducible gem build, with build provenance attestations for the gem and
|
|
26
|
+
its SBOM, and a `SHA256SUMS` file.
|
|
27
|
+
- A CycloneDX 1.6 SBOM of the gem and its runtime dependencies
|
|
28
|
+
(`.github/scripts/generate-sbom.sh`), attached to every GitHub release.
|
|
29
|
+
- Release notes taken from this changelog, and 0.x releases marked as
|
|
30
|
+
pre-releases.
|
|
31
|
+
- The release manager rules in `GOVERNANCE.md`: multi-factor authentication
|
|
32
|
+
and signed tags are required.
|
|
33
|
+
- `RELEASING.md`, the release runbook.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- The repository moved to `KevinSaison/fuchikoma`, and its links were updated.
|
|
38
|
+
- The development dependency on minitest moved to 6.1.
|
|
39
|
+
|
|
40
|
+
## [0.0.1] - 2026-11-24
|
|
41
|
+
|
|
42
|
+
First release: the repository skeleton. There is no framework code yet.
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
|
|
46
|
+
- MIT licence, Contributor Covenant 2.1 code of conduct and a security policy
|
|
47
|
+
with a private disclosure address.
|
|
48
|
+
- An empty gem (`fuchikoma.gemspec`, `Gemfile`, `Rakefile`, `.ruby-version` and
|
|
49
|
+
`bin/setup`) that exposes `Fuchikoma::VERSION`.
|
|
50
|
+
- A GitHub Actions workflow running RuboCop, Steep and the tests on Ruby 3.4
|
|
51
|
+
and 4.0.
|
|
52
|
+
- `CONTRIBUTING.md` with the Developer Certificate of Origin sign-off, and a
|
|
53
|
+
pull request check that enforces it.
|
|
54
|
+
- `GOVERNANCE.md` describing the steering group, the RFC process and the
|
|
55
|
+
maintainer ladder.
|
|
56
|
+
- Issue templates, a pull request template and `CODEOWNERS`.
|
|
57
|
+
- A README with the vision, a status banner and the non-goals.
|
|
58
|
+
|
|
59
|
+
[Unreleased]: https://github.com/KevinSaison/fuchikoma/compare/v0.0.2...HEAD
|
|
60
|
+
[0.0.2]: https://github.com/KevinSaison/fuchikoma/compare/v0.0.1...v0.0.2
|
|
61
|
+
[0.0.1]: https://github.com/KevinSaison/fuchikoma/releases/tag/v0.0.1
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 The Fuchikoma contributors
|
|
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.
|
data/README.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Fuchikoma
|
|
2
|
+
|
|
3
|
+
[](https://github.com/KevinSaison/fuchikoma/actions/workflows/ci.yml)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
**The Ruby framework for one-process, fiber-native web applications with typed
|
|
8
|
+
boundaries, secure-by-default data access and first-class agent support.**
|
|
9
|
+
|
|
10
|
+
> [!WARNING]
|
|
11
|
+
> **Status: pre-alpha, version 0.0.1. There is no framework code yet.**
|
|
12
|
+
> The repository currently holds an empty gem, the project's governance and
|
|
13
|
+
> its continuous integration. Nothing here is usable for an application, and
|
|
14
|
+
> nothing is stable. The name "Fuchikoma" is a working name and may change
|
|
15
|
+
> before 1.0. Follow the progress, join the discussion, and see
|
|
16
|
+
> [Contributing](#contributing) if you want to help build it.
|
|
17
|
+
|
|
18
|
+
## Why Fuchikoma
|
|
19
|
+
|
|
20
|
+
Ruby has one dominant full-stack framework, one serious architectural
|
|
21
|
+
alternative and several small or API-focused tools. None combines
|
|
22
|
+
fiber-native concurrency, an integrated front-end story and a typed,
|
|
23
|
+
agent-ready surface.
|
|
24
|
+
|
|
25
|
+
Fuchikoma keeps what Rails taught the world (conventions, generators, one-person
|
|
26
|
+
productivity) and changes four defaults:
|
|
27
|
+
|
|
28
|
+
| Default | Rails-style today | Fuchikoma |
|
|
29
|
+
|---------|-------------------|---------|
|
|
30
|
+
| **Concurrency** | Threads and processes | Every request, job and socket runs in its own fiber, on the Ruby fiber scheduler |
|
|
31
|
+
| **Contracts** | Implicit, checked at runtime | Request, response and view props are declared once as schemas; validation, OpenAPI 3.1 and RBS signatures come from them |
|
|
32
|
+
| **Tenancy** | Each query must remember to scope itself | A scope object travels through every request, query and job; unscoped access is explicit and logged |
|
|
33
|
+
| **AI** | A library you bolt on | Tools, agents, streaming and evals are framework concepts, and any route can be exposed as an MCP tool |
|
|
34
|
+
|
|
35
|
+
## Who it is for
|
|
36
|
+
|
|
37
|
+
1. **Solo developers and small teams** building SaaS products who want a single
|
|
38
|
+
deployable unit. This is the primary audience.
|
|
39
|
+
2. **Rails teams** that want a lighter, typed service for a new bounded
|
|
40
|
+
context, running as a *sidecar* beside the existing app and sharing its
|
|
41
|
+
database, session and scope.
|
|
42
|
+
3. **Teams building AI-enabled backends** in Ruby, without adding a Python or
|
|
43
|
+
Node service.
|
|
44
|
+
|
|
45
|
+
## Design principles
|
|
46
|
+
|
|
47
|
+
1. **Boring by default, explicit when it matters.** Generated code is plain
|
|
48
|
+
Ruby that you own; no hidden metaprogramming in the core flow.
|
|
49
|
+
2. **One process first.** Web, jobs, real-time and scheduled work run in one
|
|
50
|
+
process on one machine. Scaling out is configuration, not a rewrite.
|
|
51
|
+
3. **Schema once, everywhere.** One declaration yields validation,
|
|
52
|
+
serialization, OpenAPI, RBS and test fixtures.
|
|
53
|
+
4. **Secure by construction.** The scope is part of every request, query and
|
|
54
|
+
job; leaving it out is a deliberate, logged act.
|
|
55
|
+
5. **Small core, honest dependencies.** Fewer than 15 runtime gems, each pinned
|
|
56
|
+
and justified. Everything else is a plugin.
|
|
57
|
+
6. **Agents are users too.** Every convention is documented in
|
|
58
|
+
machine-readable form (`AGENTS.md`, MCP descriptors) from the first
|
|
59
|
+
generated app.
|
|
60
|
+
|
|
61
|
+
## Non-goals
|
|
62
|
+
|
|
63
|
+
Fuchikoma deliberately does **not** try to be:
|
|
64
|
+
|
|
65
|
+
- **A Rails clone or drop-in replacement.** A compatibility layer is a plugin,
|
|
66
|
+
not the core.
|
|
67
|
+
- **A JavaScript front-end framework.** Fuchikoma renders on the server and
|
|
68
|
+
supports islands for the parts that need client-side code.
|
|
69
|
+
- **A new ORM.** Version 1 integrates Sequel and ActiveRecord through one
|
|
70
|
+
adapter interface.
|
|
71
|
+
- **A hosting product.** Deployment targets are a plain VM, containers and
|
|
72
|
+
Kamal-style tools.
|
|
73
|
+
|
|
74
|
+
## Roadmap
|
|
75
|
+
|
|
76
|
+
The project advances in four phases, each closed by a gate that must be
|
|
77
|
+
passed before the next phase starts.
|
|
78
|
+
|
|
79
|
+
| Phase | Versions | Goal |
|
|
80
|
+
|-------|----------|------|
|
|
81
|
+
| Foundation | 0.0.x | Governance, supply chain, RFCs and a public benchmark harness. Ends at gate A: three maintainers and a fiscal host |
|
|
82
|
+
| Walking skeleton | 0.1.x to 0.2.x | A fiber server, a router, schemas, a CLI, data and scopes, and a first sidecar demo beside Rails |
|
|
83
|
+
| Public beta | 0.3.x to 0.5.x | Views, real-time, jobs, authentication, observability, testing, and real users |
|
|
84
|
+
| Release 1.0 | 0.6.x to 1.0.0 | AI agents and MCP, islands, upgrade tool, deployment, performance and API freeze |
|
|
85
|
+
|
|
86
|
+
Claims about speed will be backed by published, reproducible benchmarks, and
|
|
87
|
+
the benchmark harness is built before the framework itself. The detailed
|
|
88
|
+
release-by-release roadmap will be published in this repository.
|
|
89
|
+
|
|
90
|
+
## Contributing
|
|
91
|
+
|
|
92
|
+
Contributions of every kind are welcome: code, tests, documentation,
|
|
93
|
+
benchmarks, bug reports and reviews.
|
|
94
|
+
|
|
95
|
+
- Read [CONTRIBUTING.md](CONTRIBUTING.md) for the workflow, the commit format
|
|
96
|
+
and the Developer Certificate of Origin sign-off required on every commit.
|
|
97
|
+
- Read [GOVERNANCE.md](GOVERNANCE.md) to learn how decisions are made, how the
|
|
98
|
+
RFC process works and how to become a committer or maintainer.
|
|
99
|
+
- Follow the [Code of Conduct](CODE_OF_CONDUCT.md) in every project space.
|
|
100
|
+
|
|
101
|
+
To set up a development environment you need Ruby 3.4 or later:
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
git clone https://github.com/KevinSaison/fuchikoma.git
|
|
105
|
+
cd fuchikoma
|
|
106
|
+
bin/setup
|
|
107
|
+
bundle exec rake # tests, RuboCop and Steep
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Security
|
|
111
|
+
|
|
112
|
+
Please do not report vulnerabilities in public issues. Follow
|
|
113
|
+
[SECURITY.md](SECURITY.md) to report them privately.
|
|
114
|
+
|
|
115
|
+
## Licence
|
|
116
|
+
|
|
117
|
+
Fuchikoma is released under the [MIT licence](LICENSE). There is no contributor
|
|
118
|
+
licence agreement: contributors keep their copyright and certify their work
|
|
119
|
+
with the Developer Certificate of Origin.
|
data/sig/fuchikoma.rbs
ADDED
metadata
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: fuchikoma
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Kevin Saison
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 2026-11-25 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: 'Fuchikoma is a Ruby framework for one-process web applications: every
|
|
13
|
+
request, job and socket runs in a fiber, contracts are declared once as schemas,
|
|
14
|
+
data access is scoped by default, and AI agents are a framework concept.'
|
|
15
|
+
email:
|
|
16
|
+
- saisonkevin@protonmail.com
|
|
17
|
+
executables: []
|
|
18
|
+
extensions: []
|
|
19
|
+
extra_rdoc_files: []
|
|
20
|
+
files:
|
|
21
|
+
- CHANGELOG.md
|
|
22
|
+
- LICENSE
|
|
23
|
+
- README.md
|
|
24
|
+
- lib/fuchikoma/version.rb
|
|
25
|
+
- sig/fuchikoma.rbs
|
|
26
|
+
homepage: https://github.com/KevinSaison/fuchikoma
|
|
27
|
+
licenses:
|
|
28
|
+
- MIT
|
|
29
|
+
metadata:
|
|
30
|
+
homepage_uri: https://github.com/KevinSaison/fuchikoma
|
|
31
|
+
source_code_uri: https://github.com/KevinSaison/fuchikoma
|
|
32
|
+
changelog_uri: https://github.com/KevinSaison/fuchikoma/blob/main/CHANGELOG.md
|
|
33
|
+
bug_tracker_uri: https://github.com/KevinSaison/fuchikoma/issues
|
|
34
|
+
rubygems_mfa_required: 'true'
|
|
35
|
+
rdoc_options: []
|
|
36
|
+
require_paths:
|
|
37
|
+
- lib
|
|
38
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '3.4'
|
|
43
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
requirements: []
|
|
49
|
+
rubygems_version: 4.0.20
|
|
50
|
+
specification_version: 4
|
|
51
|
+
summary: Fiber-native, typed, one-process Ruby web framework.
|
|
52
|
+
test_files: []
|