Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# SPDX-FileCopyrightText: 2026 Abhishek Mallepalli
# SPDX-FileCopyrightText: 2026 Shawn Bullock
# SPDX-License-Identifier: MIT
#
# Origin: https://github.com/manybyte/pak
#
# Author: Abhishek Mallepalli (@noisethanks),
# via https://github.com/manybyte/pak
# Co-author: Shawn Bullock (@shawnthehumble),
# via https://github.com/manybyte/pak
#
# Copyright (c) 2026 Abhishek Mallepalli
# Copyright (c) 2026 Shawn Bullock
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

name: CI

on: [push, pull_request]

permissions:
contents: read

jobs:
checks:
name: Checks (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install stable Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
target: wasm32-unknown-unknown
cache: false
rustflags: ""
- uses: Swatinem/rust-cache@v2
- name: Fetch dependencies
run: cargo fetch --locked
- name: Check formatting
if: runner.os == 'Linux'
run: cargo fmt --all --check
- name: Run clippy
if: runner.os == 'Linux'
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Run tests
run: cargo test --workspace --offline
- name: Build WebAssembly
if: runner.os == 'Linux'
run: cargo build -p pak-wasm --target wasm32-unknown-unknown --offline
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/target/
.DS_Store
/.agents/
/.idea/
/crates/wasm/pkg/
21 changes: 21 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Code

- Rust code follows `agents/rust-style.md`.
- `docs/spec rev3.md` is the format. Where code and spec disagree, the spec wins or the spec is changed first.
- `pak-core` does no I/O; `crates/core/clippy.toml` fails the lint run on a slip.

## Before calling a change done

```sh
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
cargo build -p pak-wasm --target wasm32-unknown-unknown
devops/wasi
```

<!-- tasky:compact-instructions:start -->
## Compact Instructions

Route every action on the data root (`.agents/tasky/`) through a `references/*.md` playbook under `~/.claude/skills/tasky/`. "Create a task" / "track this as work" → `structure.md`, even mid-flow on another task. Before the first action that changes a file or produces a deliverable, or on an ask reporting work finished or ticking a criterion, run the Tracked-Work Check in `navigate.md`. On a match, route through `execute.md`. Never create a task; that is `structure.md`. Two or more equal matches → ask which. When a task completes, the hand-back takes the form in `references/report.md`: `STATUS:` first, every line something that matters to the user, a `DECIDE:` line only when the user must decide something.
<!-- tasky:compact-instructions:end -->
Loading
Loading