You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync repo-template contract with current upstream wording
timestamp: 2026-04-12 09-23-10 KST
changes:
- restored the governed repo-template surfaces to the current upstream wording
- kept Markfops-only material in explicit local-divergence sections and local enforcement extensions
- synchronized the commit standards hook, range checker, hook installer, and CI workflow with the current template contract
rationale:
- the repo should match the upstream contract verbatim where the template governs the wording
- explicit local divergence keeps Markfops-specific commands and stronger checks visible without rewriting the template text
checks:
- git diff --check
- sh -n .githooks/commit-msg scripts/check-commit-standards.sh scripts/check-commit-range.sh scripts/install-hooks.sh
- ruby -e 'require "yaml"; YAML.load_file(".github/workflows/commit-standards.yml")'
notes:
- commit history remains the canonical execution record via commit-backed LOG ids
project: markfops
agent: codex-markfops-upsync
role: orchestrator
commit: LOG-20260412-092310-upsync
artifacts: DEC-20260412-001
Copy file name to clipboardExpand all lines: AGENTS.md
+16-14Lines changed: 16 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,15 +18,6 @@ Before running a repeatable repo workflow, read the relevant `skills/<name>/SKIL
18
18
19
19
When writing into an artifact directory, read that directory's `README.md` first. If it includes a prescriptive shape, follow it. If it is intentionally lightweight, keep the output lightweight too.
20
20
21
-
## Repo-Specific Notes
22
-
23
-
-`docs/` is for Sparkle and GitHub Pages assets, not canonical project truth.
24
-
-`ref/` contains research specimens and reference repos, not production dependencies.
25
-
- Generate the Xcode project with `xcodegen generate` when needed.
-`xcodebuild test -project Markfops.xcodeproj -scheme MarkfopsTests -destination 'platform=macOS' CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO`
29
-
30
21
## Operating Rules
31
22
32
23
- Keep durable truth in repo files, not only in external tools.
@@ -35,10 +26,11 @@ When writing into an artifact directory, read that directory's `README.md` first
35
26
- Worker agents should prefer evidence, proposals, and compliant commit-backed execution records. The orchestrator or operator owns truth-doc updates unless the operator explicitly allows a different flow.
36
27
- Treat `INBOX.md` as pressure, not a backlog. During inbox review, cluster capture and promote only survived triage.
37
28
- Promote sparsely. Do not mirror one evolving thought into research, decisions, plans, spec, status, upstream records, and execution records.
29
+
- If the repo tracks upstream on a cadence, use `upstream-intake/` instead of inventing a parallel workflow.
38
30
- When creating artifacts or commits, follow the stable-ID and provenance rules in `REPO.md`.
39
31
- Prefer the local `README.md` shape over ad hoc formatting when it defines one.
40
-
-If hooks are installed with `scripts/install-hooks.sh`, your commit message must satisfy the local provenance check before the commit is allowed.
41
-
-If CI commit checks are enabled, your pushed commits must satisfy the same provenance rules remotely.
32
+
-Your commit message must satisfy the local repo provenance check before the commit is allowed.
33
+
-Your pushed commits must satisfy the same provenance rules remotely in CI.
42
34
- Treat each committed change as a canonical execution record through `commit: LOG-*`.
43
35
- Normal commits must use the structured body keys `timestamp:`, `changes:`, `rationale:`, and `checks:` with `notes:` optional.
44
36
@@ -52,15 +44,25 @@ When you write or update repo artifacts, adherence to the repo's ruleset is requ
52
44
- Do not turn an inbox review into a giant digest of every low-confidence idea. Report counts or clusters when full detail does not protect focus.
53
45
- Do not write chatty transcripts where the repo expects normalized records.
54
46
- If an artifact guide is intentionally lightweight, do not over-structure the document just to make it look uniform.
47
+
- If the repo guidance and the requested output appear to conflict, follow the repo rules and explain the tension in the artifact or handoff.
55
48
- Do not bypass commit provenance checks by omitting required trailers unless the commit is an explicit bootstrap or migration exception.
56
49
- Do not put `LOG-*` ids inside `artifacts:`.
57
-
- If a request pressures you to break the ruleset, keep the repo artifact compliant and surface the mismatch explicitly.
58
50
59
51
## Skills
60
52
61
53
`skills/<name>/SKILL.md` files are reusable procedures for bounded workflows.
62
54
63
-
- Read `skills/README.md` and the relevant skill before executing a repeatable repo workflow.
64
-
- Keep skills procedural.
55
+
- Keep them procedural.
65
56
- Do not duplicate canonical repo policy inside them.
66
57
- Use them to standardize repeatable tasks, escalation triggers, and output shape.
58
+
59
+
## Local Divergence
60
+
61
+
Markfops-specific repo notes:
62
+
63
+
-`docs/` is for Sparkle and GitHub Pages assets, not canonical project truth.
64
+
-`ref/` contains research specimens and reference repos, not production dependencies.
65
+
- Generate the Xcode project with `xcodegen generate` when needed.
Copy file name to clipboardExpand all lines: REPO.md
+58-45Lines changed: 58 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,63 +1,58 @@
1
-
# REPO
1
+
# Repo Operating Model
2
2
3
-
This file is the canonical repo contract for Markfops.
4
-
5
-
This document is the instruction layer for Markfops.
3
+
This document is the canonical repo contract for repo-template-style repos.
6
4
7
5
## Purpose
8
6
9
-
Use this model to keep Markfops legible as a repo managed through durable product docs, research artifacts, decisions, and implementation history.
7
+
Use this model when a repo is managed by one operator plus many agents and you want the repo itself to remain legible over time.
10
8
11
-
Markfops is a native macOS Markdown app with an active research and implementation program around a future native WYSIWYG engine. This repo uses a repo-native operating model so that product truth, accepted future direction, reusable research, and execution history do not collapse into external transcripts or one-off notes.
9
+
The goal is simple:
12
10
13
-
The goals are:
11
+
- keep canonical truth in-repo
12
+
- keep noisy activity out of truth docs
13
+
- keep provenance explicit
14
+
- let the orchestrator route work without inventing new storage rules each time
14
15
15
-
- keep canonical truth in repo-root documents
16
-
- keep research reusable and separate from commit-backed execution records
17
-
- keep decisions durable and append-only
18
-
- make provenance visible through stable artifact ids and commit trailers
19
-
- reserve `docs/` for Sparkle and GitHub Pages assets rather than canonical project truth
16
+
This file is part of the ready-to-copy scaffold for adopted repos.
20
17
21
18
## Core Surfaces
22
19
20
+
Every repo using this system should separate these surfaces:
21
+
23
22
| Surface | Role | Mutability |
24
23
| --- | --- | --- |
25
-
|`SPEC.md`| Durable statement of what Markfops is supposed to be. | rewritten |
# DEC-20260412-001: Current Upstream Repo-Template Contract Sync
2
+
Opened: 2026-04-12 09-23-10 KST
3
+
Recorded by agent: codex-markfops-upsync
4
+
5
+
## Metadata
6
+
7
+
- Status: accepted
8
+
- Scope: repo contract, local divergence handling, and commit provenance enforcement
9
+
- Related artifacts: `REPO.md`, `AGENTS.md`, `skills/README.md`, `skills/repo-orchestrator/SKILL.md`, `.github/workflows/commit-standards.yml`
10
+
11
+
## Decision
12
+
13
+
Markfops will keep the current upstream repo-template contract verbatim in the governed surfaces and keep repo-specific material only in explicit local-divergence sections or local extensions.
14
+
15
+
## Context
16
+
17
+
The repo already adopted repo-template, but the governed contract files and enforcement helpers had accumulated local wording and a few local conveniences. The repo needed a clean sync to the current upstream contract without losing the Markfops-specific commands, paths, and project notes that still matter locally.
18
+
19
+
## Options Considered
20
+
21
+
- Keep the existing local wording and mixed contract surfaces
22
+
- Replace the governed surfaces with the current upstream repo-template wording and isolate local details separately
23
+
- Rebuild the repo contract around a new Markfops-only policy layer
24
+
25
+
## Rationale
26
+
27
+
Keeping the upstream contract verbatim reduces drift and makes future migrations easier to compare against the source template. Isolating local notes and stronger local checks in explicit divergence sections keeps the repo-specific behavior visible without rewriting the upstream rules in Markfops phrasing.
28
+
29
+
- governed docs stay aligned with the current template source
30
+
- local commands and project notes remain available where they are useful
31
+
- stronger local enforcement can remain explicit instead of hidden inside rewritten policy prose
32
+
33
+
## Consequences
34
+
35
+
-`REPO.md`, `AGENTS.md`, and the skills layer track the current upstream wording
36
+
- Markfops-specific notes live in labeled local-divergence sections
37
+
- the commit standards hook and range checker remain active locally
38
+
- remote enforcement stays on the same upstream contract through CI
0 commit comments