[core] scaena-core v0.1.0: canon parser, claim checker, hook templates #1
Reference in New Issue
Block a user
Delete Branch "feature/core"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Praeco Domi Day 1: the pure core (CPAL-1.0).
canon: strict parser forapps/<id>.md(front matter,- [F<n>]facts,(assumption), 64 KiB cap, hostile characters refused),Canon,CanonFile::adhocfor release facts.claims: fail-closed checker (every fact-stating sentence needs a[app#Fn]to an existing, confirmed fact; unknown apps, missing or assumption facts, malformed refs, URLs not in canon and hidden characters are refused),strip_refs.hooks: templates with the fixed slot set,fill, a simpleGenome.Self-review: pure Rust, no I/O,
#![forbid(unsafe_code)], deps serde, thiserror and unicode-segmentation only. Every file carries the SPDX CPAL-1.0 header and the Exhibit A notice; README says redistributors must show the Exhibit B credit. Tests: 59 pass (canon 21, claims 16, hooks 13, property tests 9 x 512 cases).cargo clippy --all-targets -D warningsclean;cargo checkfor aarch64-linux-android and wasm32-unknown-unknown clean. API matches Praeco's DAY1_PLAN with additions only (HiddenCharacter,#[non_exhaustive]error enums). Tagcore-v0.1.0on the last commit.Merged with --no-ff into main as
47d1a0a(the repo does not auto-detect local merges, so this PR is closed by hand).Pull request closed