M0 — Bootstrap repository and freeze A/B/C intelligence proof contract #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/model-intelligence#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Goal
Establish the smallest usable Apache-2.0 Python repository foundation for Model Intelligence / Creatidy Intelligence and the durable Kilo single-issue workflow. Freeze the acceptance contract for a later M0 proof, without implementing that proof or the intelligence product now.
Adrian explicitly authorizes creation and immediate implementation of this one bootstrap issue. Successful creation makes it the owner-selected issue for this task only. This exception expires at bootstrap handoff; future implementation requires Adrian to select an actual Forgejo issue by number, URL, or unambiguous title.
Why
Existing open upstreams already cover substantial catalog, model, and pricing intelligence. This project must not build another generic AI model catalog. The later M0 proof exists to test whether an actual missing temporal/provenance layer warrants a separate Creatidy product, not to justify a predetermined GO outcome.
Three deliberately different cases will challenge a small shared representation: A models and conflicting evidence, B temporal public market economics, and C execution-surface capabilities and identity control. Their differing semantics must remain explicit instead of being flattened into a generic model fact.
Scope
Bootstrap deliverable now
src/model_intelligencepackage; Apache-2.0 using the existing license; deterministic local synthetic tests; minimal external dependencies and no runtime dependencies unless necessary for this foundation.make checkinterface owning the exact lint, formatting, basedpyright typing, test and whitespace gates..kilo/rules/and.kilo/command/implement-issue.mdandreview-pr.md. Normal operation is one explicitly owner-selected issue, fetched before planning/editing, isolated issue-numbered worktree/branch from exact fetchedorigin/develop, focused implementation, checks, commit, Git push, Forgejo MCP PR to develop, concise issue update, no merge.Product boundary
Model Intelligence is a public/shared intelligence layer about the external AI ecosystem: model/release identity, capability/performance evidence, public pricing/plans/promotions and temporal market rules, execution surfaces, provenance/freshness, source disagreement and semantic snapshot changes.
It must not own credentials, actual remaining user quota, private subscriptions, reset credits/cards held, authenticated local runtime state, private workspaces, local GPUs, private preferences or task-specific final routing decisions. No downstream decision engine and no dependency on another Creatidy product.
Reuse-first rule
Evaluate existing open upstreams first, including models.dev, AI Model Watch, Model Price Watch, pydantic/genai-prices and wmpeng/codingplan. Reuse/consume/adapt only where actual semantics and licenses permit. Verify the actual license before copying or substantially adapting code, preserve notices/attribution, record provenance for materially reused code/data, and do not elevate convenient secondary sources to authoritative status. Do not redistribute datasets without license/terms permission or add a paid SaaS dependency to the core. Create/update a concise reuse/NOTICE record when actual material first lands; no large reuse document now.
Frozen future M0 proof A: model intelligence
Use existing open sources, not a newly constructed catalog. Candidate test subject: GLM-5.3-Flash (candidate, not an asserted verified model/source fact). Demonstrate stable model identity; provider-specific representation; capability/performance evidence; benchmark methodology/version/configuration; pricing evidence; provenance and freshness; and simultaneous conflicting source assertions without silent overwrite. Verify actual sources before relying on any candidate.
Frozen future M0 proof B: temporal market economics
Use a real, verified Z.ai plan/promotion. Demonstrate plan identity/generation,
effective_from,effective_until, timezone-aware recurring windows, price/quota multiplier semantics, promotion conditions and automatic expiry. Public plan rules must remain distinct from private account state. Demonstrate meaningful changes includingPROMOTION_STARTED,PROMOTION_ENDEDandOFFER_CHANGED. Do not assume promotions, API prices and quota multipliers can always be mechanically multiplied together. Time-driven proof tests must use controlled synthetic time rather than live clock/network dependence.Frozen future M0 proof C: execution-surface intelligence
Use official ZCode, with source and surface/version explicitly verified. Distinguish headless support, structured output, workspace read/edit, model discovery, model selection/steering, reasoning steering, physical-model observability, physical-model enforceability, provider-managed identity and surface/version. Preserve
advertised,observed,selectableandenforceableas distinct assertions, never one genericmodelfact.Future M0 architectural hypothesis and decision
Test whether existing open upstreams plus a small Creatidy-owned common temporal/provenance representation can express A/B/C and meaningful versioned snapshot changes without provider-specific hacks leaking into core semantics. Likely shared concerns are source/provenance, retrieval/observation time, effective validity, epistemic state, immutable/versioned snapshots and semantic change; these are hypotheses, not a prescribed schema.
Future M0 must answer: Can existing open upstreams plus a small Creatidy-owned temporal/provenance layer correctly represent A, B and C and produce meaningful versioned snapshot changes?
STOP — do not build a separate intelligence service.If existing upstreams already solve the complete problem sufficiently.GO — continue Creatidy Intelligence as a separate product.Only if the missing temporal/subscription/execution intelligence layer remains real and cannot be delegated cleanly.The later proof must record source/license evidence, verifiable A/B/C results, unresolved limitations and a reasoned STOP/GO assessment without bias toward GO. Bootstrap does not decide STOP/GO or authorize autonomous follow-on implementation.
Acceptance Criteria
issue-<number>-<short-topic>originates at that exact develop base. No direct develop development or main change.make checksucceeds with Ruff lint/format, basedpyright, tests andgit diff --check./implement-issueends with an unmerged develop PR and issue update..task_progress.mdis excluded via.git/info/exclude, never .gitignore or the commit.Constraints
No production SQLite, web/REST/MCP server, scheduler or ingestion dependencies; no speculative empty sources/reconcile/api/store/domain packages. No generic EAV, event-sourcing framework, PostgreSQL, generic rules engine, universal score, leaderboard or ML calibration framework. No deployment, merge, release or main promotion. No extra issues, Projects, milestones, planning labels/taxonomies, program controller, execution graph or autonomous issue selection.
Use normal Git for repository objects and configured Forgejo MCP for platform operations. Do not use direct HTTP/REST when MCP supports the operation. Use local files/search for repository contents. Demonstrate permissions through successful operations; do not assume access. Diagnose failed operations before any corrected retry; stop finite failures rather than looping. Ordinary safe/reversible scoped implementation needs no additional owner permission; ask only for actual authority/security/privacy/architecture/scope/destructive/cost/credential decisions. Do not weaken acceptance to bypass blockers or encode model names in repository workflow policy.
Links
033f82956bf5d56c0df0a9cf6472d11a3bf099b4READY_FOR_REVIEW: bootstrap delivered in PR #2, targeting
develop; pushed branch/worktreeissue-1-bootstrap.033f82956bf5d56c0df0a9cf6472d11a3bf099b4eb0964adb8be2bc43aa8b1239d778d5b051ac329make check, short README, thin AGENTS, five scoped rules and two Kilo commands. No runtime dependencies or product/M0 implementation. This issue remains the frozen future A/B/C and unbiased STOP/GO contract.uv sync --locked --group dev;make check(Ruff lint/format, basedpyright 0 errors/warnings, 2 tests, unstaged/staged whitespace);uv build; isolated installed-wheel unittest (2 tests);git diff --check 033f82956bf5d56c0df0a9cf6472d11a3bf099b4..HEADandgit diff --check origin/develop...HEAD. Exact commands/evidence are in the PR.No merge, main promotion, release, deployment or GitHub mutation. Keeping this issue open; future work again requires explicit Adrian issue selection. No unresolved product/authority decision or delivery blocker.
PR #2 narrow workflow remediation pushed on existing
issue-1-bootstrap.eb0964adb8be2bc43aa8b1239d778d5b051ac329c0910c6c467e2a1b7753c2a3c776dceca3a18ccb033f82956bf5d56c0df0a9cf6472d11a3bf099b4pyproject.toml(120 columns),AGENTS.md(runtime/reload/active-worktree note),.kilo/rules/20-forgejo-mcp.md(Git vs platform identity),.kilo/command/review-pr.md(fail-closed self-authorship gate). No dependencies, product implementation or M0 contract changed.Adrian Tkacz <adrian.tkacz@creatidy.com>. Configured/effective identity checked before committing; no Git configuration changed.make check(Ruff lint/format, basedpyright zero errors/warnings, two tests, whitespace),git diff --check, andgit diff --check 033f82956bf5d56c0df0a9cf6472d11a3bf099b4..HEAD. Full original-base PR delta inspected; issue checkout clean; canonical head matches local.PR #2 updated with exact HEAD and evidence. READY_FOR_REVIEW by an eligible independent reviewer, not formal approval. The PR platform author is
kilo; self-authorship must fail closed if Forgejo rejects independence. Issue remains open; PR remains unmerged; no new issue/branch/PR or main change.Owner-authorized workflow remediation delivered on existing PR #2; no replacement PR or identity workaround.
033f82956bf5d56c0df0a9cf6472d11a3bf099b4; current HEADb3b1b5e2adcfec222d8c09fc7602115dbc550ce5.make checkpassed (Ruff, basedpyright zero diagnostics, two tests, whitespace); YAML frontmatter and local producer-schema/canonical-marker round-trip checks passed. Exact remote/MCP head and Adrian author/committer verified; checkout clean.Formal gate is OPERATOR-BLOCKED, not approved: current host ROG lacks canonical
/opt/creatidy-onpremand Precision autonomy runtime; deployed requester/publisher permissions, expanded allowlist, Model Intelligence webhook/HMAC delivery and production preflight are unverified. MCP hook inspection denied repository-admin access. Onprem PR #47 records the exact existing SOPS/operator deployment and webhook status/apply path needed on the established host, without secret rotation/output or new implementations.Review request id: none allocated; marker not posted. Formal autonomy status/verdict: NOT_REQUESTED; exact-HEAD review gate: NOT_PASSED. After verified operator enablement, request exactly one M5-B review of then-current HEAD and authenticate the result. No merge, release, main promotion, production mutation or independent self-review.
READY_FOR_REVIEW: owner-directed interactive-review correction pushed to existing PR #2.
033f82956bf5d56c0df0a9cf6472d11a3bf099b43e1adc80920ea977a0d18b91167b4f9aeeb6e22d.kilo/command/review-pr.md,AGENTS.md,.kilo/rules/20-forgejo-mcp.md.make check(locked sync, Ruff lint/format, basedpyright zero diagnostics, two tests, whitespace), explicit command YAML parsing, and full-base whitespace validation. Complete PR/intended delta inspected, configured/effective Adrian identity verified, normal additive commit/push succeeded, exact canonical head confirmed, checkout clean.This issue's M0 A/B/C, STOP/GO, product contract and commit-count policy remain unchanged. PR #2 and issue #1 remain open; no merge, release, deployment or history rewriting. READY_FOR_REVIEW is not independent approval.