Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9ea42077b | ||
|
|
c0b6dc7bc8 | ||
|
|
36d457f166 | ||
|
|
97605a3f19 | ||
|
|
092db7bb6d | ||
|
|
203768831d | ||
|
|
5f6102e501 | ||
|
|
9ca5cd58a7 | ||
|
|
134c470a57 | ||
|
|
59f933b8b2 | ||
|
|
9724ef1151 | ||
|
|
9578ddc963 | ||
|
|
1258903289 |
@@ -0,0 +1,33 @@
|
||||
name: Component conformance
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
conformance:
|
||||
name: Component conformance (blocking)
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
|
||||
with:
|
||||
node-version: 22
|
||||
- name: Checkout canonical siax-standard (SSOT)
|
||||
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
with:
|
||||
repository: admin/siax-standard
|
||||
token: ${{ secrets.SIAX_CI_TOKEN }}
|
||||
path: siax-standard-ssot
|
||||
persist-credentials: false
|
||||
- name: Component conformance (blocking)
|
||||
run: |
|
||||
node --input-type=module -e "import('./siax-standard-ssot/packages/doctor/src/commands/component-conformance.mjs').then(m=>{process.exit(m.run(['--repo', process.env.GITHUB_WORKSPACE, '--allow-path-prefix', 'siax-standard-ssot/', '--fail-on=block']))})"
|
||||
|
||||
+18
-8
@@ -1,14 +1,24 @@
|
||||
# C0PY Web (Next.js) — repo-root build context
|
||||
# C0PY Web (Next.js) — Coolify-bygge.
|
||||
#
|
||||
# Coolify-appen c0py-web är av typen "Dockerfile" och får därför INGEN
|
||||
# källkodskontext (bara denna Dockerfile). Därför klonar imagen repot själv i
|
||||
# stället för att COPY:a från en tom kontext. Repot är publikt, så ingen
|
||||
# credential behövs i bygget.
|
||||
FROM node:22-alpine
|
||||
|
||||
ARG C0PY_REPO=https://git.siax.io/admin/c0py.git
|
||||
ARG C0PY_REF=main
|
||||
|
||||
RUN apk add --no-cache git wget \
|
||||
&& corepack enable \
|
||||
&& corepack prepare pnpm@9.15.9 --activate
|
||||
|
||||
RUN git clone --depth 1 --branch "${C0PY_REF}" "${C0PY_REPO}" /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN corepack enable && corepack prepare pnpm@9.15.9 --activate
|
||||
|
||||
COPY package.json pnpm-workspace.yaml pnpm-lock.yaml ./
|
||||
COPY packages ./packages
|
||||
COPY apps ./apps
|
||||
|
||||
RUN apk add --no-cache wget && pnpm install --frozen-lockfile && pnpm --filter @siax/c0py-web build
|
||||
RUN pnpm install --frozen-lockfile \
|
||||
&& pnpm --filter @siax/c0py-web build
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=3000
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
# c0py — Status
|
||||
|
||||
Senast uppdaterad: 2026-11-11 (mekaniskt verifierad mot `origin/main` @ `36d457f`).
|
||||
|
||||
## Vad detta dokument är
|
||||
|
||||
Kort, mekaniskt verifierad lägesbild för repot enligt SIAX Standard. Statusnivåer följer
|
||||
`standard/MASTER-DEFINITION-OF-DONE.md`:
|
||||
|
||||
`MISSING → DOCUMENTED_ONLY → SKELETON → MOCK_ONLY → IMPLEMENTED → INTEGRATION_TESTED → LIVE_VERIFIED → PRODUCTION_READY`
|
||||
|
||||
**Endast `PRODUCTION_READY` räknas som DONE.** Ingen rad nedan är DONE utan bevis.
|
||||
Denna fil ersätter inte `docs/production-readiness.md` eller `siax/production-gaps.json`
|
||||
där sådana finns — den pekar ut dem.
|
||||
|
||||
## Verifierade fakta
|
||||
|
||||
| Faktum | Värde |
|
||||
|---|---|
|
||||
| Default branch | `main` @ `36d457f` |
|
||||
| CI-workflows | `.gitea/workflows/ci.yml`, `.gitea/workflows/component-conformance.yml`, `.gitea/workflows/masterplan-lock.yml` |
|
||||
| Test/lint-kommandon | `npm run typecheck`, `npm run lint`, `npm run test`, `npm run build` |
|
||||
| Manifest | `siax.repo.v3.json` |
|
||||
| Produktionsdokumentation | `docs/production-readiness.md` saknas |
|
||||
| Containerisering | `Dockerfile` |
|
||||
| README | finns |
|
||||
|
||||
## Statusnivåer
|
||||
|
||||
| Område | Nivå | Bevis |
|
||||
|---|---|---|
|
||||
| Dokumentation (denna fil) | `DOCUMENTED_ONLY` | `STATUS.md` finns och är daterad |
|
||||
| CI | `IMPLEMENTED` | workflows: .gitea/workflows/ci.yml, .gitea/workflows/component-conformance.yml, .gitea/workflows/masterplan-lock.yml |
|
||||
| Test | `IMPLEMENTED` | scripts: typecheck, lint, test, build |
|
||||
| Integration | `EJ FASTSTÄLLD` | kräver körd integrationssvit mot riktiga beroenden |
|
||||
| Live/produktion | `EJ FASTSTÄLLD` | kräver live-verifiering med faktiskt SHA och kvittens |
|
||||
|
||||
## Nästa steg mot slutproduktion
|
||||
|
||||
1. Fastställ faktisk nivå per område ovan med bevis (kommando + utdata + SHA), inte påståenden.
|
||||
2. Komplettera `docs/production-readiness.md` och `siax/production-gaps.json` om de saknas
|
||||
(ägare: repoansvarig session), inklusive UI/UX-gap där repot har ett användargränssnitt.
|
||||
3. Säkerställ att CI kör typecheck/lint/test/build och att main är grön.
|
||||
4. Verifiera live-drift och dokumentera SHA, miljö och kvittens; först därefter kan nivån höjas.
|
||||
|
||||
## Pekare
|
||||
|
||||
- `standard/status/ESTATE-GAP-20261110.md` (siax-standard) — estate-gap per repo.
|
||||
- `standard/MASTER-DEFINITION-OF-DONE.md` — nivåer och krav.
|
||||
- `standard/SIAX-REPO-OPERATIONS-CONTRACT.md` — repo-operationskontrakt.
|
||||
- `docs/production-readiness.md` / `siax/production-gaps.json` — där de finns.
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"name":"c0py","version":"0.1.0","private":true,"description":"C0PY — canonical SIAX web product capture, digital twin, reconstruction and verification engine.","type":"module","scripts":{"build":"pnpm -r build","typecheck":"pnpm -r typecheck","test":"pnpm -r test","lint":"eslint .","validate:architecture":"node scripts/validate-canonical-architecture.mjs","dev:api":"pnpm --filter @siax/c0py-api dev","dev:web":"pnpm --filter @siax/c0py-web dev","start:api":"pnpm --filter @siax/c0py-api start"},"devDependencies":{"typescript":"^5.7.2","@types/node":"^24.0.0","@eslint/js":"^9.18.0","eslint":"^9.18.0","eslint-config-prettier":"^10.0.0","prettier":"^3.4.2","typescript-eslint":"^8.20.0"},"engines":{"node":">=20.17.0"},"pnpm":{"overrides":{"nanoid@<5.1.16":"5.1.16"}},"packageManager":"pnpm@9.15.9"}
|
||||
{"name":"c0py","version":"0.1.0","private":true,"description":"C0PY — canonical SIAX web product capture, digital twin, reconstruction and verification engine.","type":"module","scripts":{"build":"pnpm -r build","typecheck":"pnpm -r typecheck","test":"pnpm -r test","lint":"eslint .","validate:architecture":"node scripts/validate-canonical-architecture.mjs","dev:api":"pnpm --filter @siax/c0py-api dev","dev:web":"pnpm --filter @siax/c0py-web dev","start:api":"pnpm --filter @siax/c0py-api start"},"devDependencies":{"typescript":"^5.7.2","@types/node":"^24.0.0","@eslint/js":"^9.18.0","eslint":"^9.18.0","eslint-config-prettier":"^10.0.0","prettier":"^3.4.2","typescript-eslint":"^8.20.0"},"engines":{"node":">=20.17.0"},"pnpm":{"overrides":{"nanoid@<5.1.16":"5.1.16","postcss@<8.5.18":"8.5.28"}},"packageManager":"pnpm@9.15.9"}
|
||||
Generated
+2
-11
@@ -6,6 +6,7 @@ settings:
|
||||
|
||||
overrides:
|
||||
nanoid@<5.1.16: 5.1.16
|
||||
postcss@<8.5.18: 8.5.28
|
||||
|
||||
importers:
|
||||
|
||||
@@ -1307,10 +1308,6 @@ packages:
|
||||
engines: {node: '>=20'}
|
||||
hasBin: true
|
||||
|
||||
postcss@8.4.31:
|
||||
resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
|
||||
engines: {node: ^10 || ^12 || >=14}
|
||||
|
||||
postcss@8.5.28:
|
||||
resolution: {integrity: sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==}
|
||||
engines: {node: ^10 || ^12 || >=14}
|
||||
@@ -2579,7 +2576,7 @@ snapshots:
|
||||
'@next/env': 15.5.25
|
||||
'@swc/helpers': 0.5.15
|
||||
caniuse-lite: 1.0.30001810
|
||||
postcss: 8.4.31
|
||||
postcss: 8.5.28
|
||||
react: 19.3.0
|
||||
react-dom: 19.3.0(react@19.3.0)
|
||||
styled-jsx: 5.1.6(react@19.3.0)
|
||||
@@ -2690,12 +2687,6 @@ snapshots:
|
||||
|
||||
playwright-core@1.63.0: {}
|
||||
|
||||
postcss@8.4.31:
|
||||
dependencies:
|
||||
nanoid: 5.1.16
|
||||
picocolors: 1.1.1
|
||||
source-map-js: 1.2.1
|
||||
|
||||
postcss@8.5.28:
|
||||
dependencies:
|
||||
nanoid: 5.1.16
|
||||
|
||||
@@ -1,21 +1,64 @@
|
||||
{
|
||||
"$schema": "https://git.siax.io/sax3l/siax-standard/raw/branch/main/schema/siax.repo.schema.json",
|
||||
"$schema": "https://git.siax.io/sax3l/siax-standard/raw/branch/main/schema/siax.repo.v3.schema.json",
|
||||
"standardVersion": "3.0",
|
||||
"repo": "c0py",
|
||||
"category": "product",
|
||||
"tier": "product",
|
||||
"category": "business",
|
||||
"subcategory": "website-registry",
|
||||
"appId": "C0PY",
|
||||
"appIdJustification": "Produkt: webbplatsregistreringsverktyg. Kategori product per siax-standard. ej plattform (K1).",
|
||||
"owner": "SIAX Technology AB",
|
||||
"codeowners": [
|
||||
"@sax3l"
|
||||
],
|
||||
"lifecycle": "active",
|
||||
"operationalState": "dev",
|
||||
"operationalState": "building",
|
||||
"operationalStateNote": "v2-manifestet deklarerade operationalState \"dev\".",
|
||||
"gitHost": "git.siax.io",
|
||||
"node": null,
|
||||
"capabilityPrefix": "c0py",
|
||||
"packageName": "@siax/c0py",
|
||||
"domains": [],
|
||||
"nodeNote": "Ingen driftsättning deklarerad (node null i v2).",
|
||||
"runtime": {
|
||||
"language": "typescript",
|
||||
"node": ">=20.17",
|
||||
"packageManager": "pnpm"
|
||||
},
|
||||
"canonical": true,
|
||||
"parentRepo": null,
|
||||
"capabilities": [],
|
||||
"surfaces": [
|
||||
"api",
|
||||
"ui"
|
||||
],
|
||||
"contracts": {
|
||||
"openapi": "contracts/openapi.yaml"
|
||||
},
|
||||
"identity": {
|
||||
"workloadIdentity": false,
|
||||
"tenantScoped": false
|
||||
},
|
||||
"persistence": {
|
||||
"stateful": true,
|
||||
"database": "postgres",
|
||||
"storage": "none"
|
||||
},
|
||||
"deployment": {
|
||||
"dedicated": false,
|
||||
"environments": []
|
||||
},
|
||||
"observability": {
|
||||
"health": true,
|
||||
"ready": false,
|
||||
"metrics": false,
|
||||
"otel": false
|
||||
},
|
||||
"reliability": {
|
||||
"backupFrequency": "none",
|
||||
"provenRestore": true
|
||||
},
|
||||
"licenses": {
|
||||
"spdx": "MIT",
|
||||
"approved": true
|
||||
},
|
||||
"productionEvidence": {
|
||||
"verified": false
|
||||
},
|
||||
"consumes": [
|
||||
"CL0UD",
|
||||
"AUD0",
|
||||
@@ -24,6 +67,7 @@
|
||||
"N0D"
|
||||
],
|
||||
"consumedBy": [],
|
||||
"replacesSaaS": [],
|
||||
"children": [
|
||||
{
|
||||
"path": "apps/api",
|
||||
@@ -51,12 +95,9 @@
|
||||
"lifecycle": "active"
|
||||
}
|
||||
],
|
||||
"replacesSaaS": [],
|
||||
"contracts": {
|
||||
"openapi": "contracts/openapi.yaml"
|
||||
},
|
||||
"standardVersion": "1.0",
|
||||
"reliability": {
|
||||
"provenRestore": true
|
||||
}
|
||||
"domains": [],
|
||||
"engines": [],
|
||||
"decoupled": false,
|
||||
"capabilityPrefix": "c0py",
|
||||
"packageName": "@siax/c0py"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"repo": "c0py",
|
||||
"role": "consumer",
|
||||
"canonicalOwner": "sax3l/DES1GN",
|
||||
"sourceRoots": [
|
||||
"apps/web"
|
||||
],
|
||||
"packagePolicy": {
|
||||
"namespace": "@siax",
|
||||
"registry": "https://git.siax.io/api/packages/sax3l/npm/",
|
||||
"forbidMutableSpecs": true,
|
||||
"forbidInternalImports": true,
|
||||
"requiredPackages": []
|
||||
},
|
||||
"tokenPolicy": "not-applicable",
|
||||
"fontPolicy": "canonical-self-hosted",
|
||||
"geometryPolicy": "canonical",
|
||||
"elevationPolicy": "canonical-only",
|
||||
"guard": {
|
||||
"required": true,
|
||||
"sourceRootAware": true,
|
||||
"negativeFixtures": false,
|
||||
"command": "siax-doctor design --repo . --fail-on=block"
|
||||
},
|
||||
"liveArtifactIdentity": {
|
||||
"required": false,
|
||||
"separateFromApiArtifact": true
|
||||
},
|
||||
"exceptions": []
|
||||
}
|
||||
Reference in New Issue
Block a user