@augurworks/augur 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CANVAS.md +858 -0
- package/INSTALL.md +603 -0
- package/LICENSE +27 -0
- package/README.md +150 -0
- package/TRADEMARKS.md +72 -0
- package/agents/README.md +65 -0
- package/agents/canon-extract.md +117 -0
- package/agents/canon.md +151 -0
- package/agents/canvas.md +88 -0
- package/agents/currency.md +74 -0
- package/agents/drafts.md +92 -0
- package/agents/identity.md +148 -0
- package/agents/prototype-contract.md +69 -0
- package/agents/publishing.md +324 -0
- package/agents/review-feedback.md +76 -0
- package/agents/space-json.md +132 -0
- package/agents/ui-skill.md +101 -0
- package/agents/working-marks.md +86 -0
- package/brand/augur-eye.svg +3 -0
- package/brand/augur-icon.svg +41 -0
- package/brand/augur-mark.svg +5 -0
- package/brand/lentianova-bulky.otf +0 -0
- package/brand/lentianova-median.otf +0 -0
- package/brand/lentianova.woff2 +0 -0
- package/build.js +8409 -0
- package/changelog.md +133 -0
- package/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/package.json +57 -0
- package/pitis/PETS.md +121 -0
- package/pitis/README.md +117 -0
- package/pitis/index.html +266 -0
- package/pitis/piti.build.js +81 -0
- package/pitis/piti.js +929 -0
- package/pitis/roast-agent.md +185 -0
- package/realtime/src/index.js +119 -0
- package/realtime/wrangler.example.toml +44 -0
- package/scripts/adopt.mjs +106 -0
- package/scripts/board-snapshot.mjs +197 -0
- package/scripts/build-seed-pack.mjs +33 -0
- package/scripts/bundle-rekey.mjs +112 -0
- package/scripts/bundle-tenancy-rehearsal.mjs +781 -0
- package/scripts/canon-extract.mjs +578 -0
- package/scripts/canon.mjs +599 -0
- package/scripts/canvas-screen.mjs +333 -0
- package/scripts/check-local.mjs +136 -0
- package/scripts/clawd-art.mjs +75 -0
- package/scripts/clawd-canvas.mjs +741 -0
- package/scripts/cli.mjs +100 -0
- package/scripts/clone.mjs +422 -0
- package/scripts/close.mjs +30 -0
- package/scripts/connect.mjs +103 -0
- package/scripts/deploy.mjs +157 -0
- package/scripts/dev.mjs +54 -0
- package/scripts/doc-lint.mjs +143 -0
- package/scripts/export.mjs +300 -0
- package/scripts/fork.mjs +64 -0
- package/scripts/freeze.mjs +74 -0
- package/scripts/frontdoor-parity.mjs +180 -0
- package/scripts/hook.mjs +67 -0
- package/scripts/identity-rekey.mjs +112 -0
- package/scripts/init.mjs +122 -0
- package/scripts/land.mjs +40 -0
- package/scripts/lib/adapters.mjs +156 -0
- package/scripts/lib/board-snapshot.mjs +511 -0
- package/scripts/lib/draft.mjs +385 -0
- package/scripts/lib/graduate.mjs +276 -0
- package/scripts/lib/instance.mjs +74 -0
- package/scripts/lib/marks.mjs +107 -0
- package/scripts/lib/materialize.mjs +138 -0
- package/scripts/lib/merge3.mjs +124 -0
- package/scripts/lib/offline-posture.mjs +120 -0
- package/scripts/lib/offline-respawn.mjs +18 -0
- package/scripts/lib/offline-wrangler.mjs +78 -0
- package/scripts/lib/publish-compose.mjs +12 -0
- package/scripts/lib/publish-conflict.mjs +78 -0
- package/scripts/lib/publish-evidence.mjs +144 -0
- package/scripts/lib/refine-compare.mjs +140 -0
- package/scripts/lib/refine-ledger.mjs +150 -0
- package/scripts/lib/refine-png.mjs +149 -0
- package/scripts/lib/seed-pack-build.mjs +141 -0
- package/scripts/lib/state-compare.mjs +68 -0
- package/scripts/lib/store.mjs +122 -0
- package/scripts/login.mjs +84 -0
- package/scripts/mark.mjs +112 -0
- package/scripts/migrate-board-keys.mjs +164 -0
- package/scripts/migrate.mjs +265 -0
- package/scripts/no-foreign-vocabulary.mjs +216 -0
- package/scripts/no-product-names.mjs +157 -0
- package/scripts/no-tenant-globals.mjs +1134 -0
- package/scripts/offline.mjs +247 -0
- package/scripts/og.mjs +170 -0
- package/scripts/one-tenant-resolver.mjs +146 -0
- package/scripts/open.mjs +63 -0
- package/scripts/publish.mjs +1041 -0
- package/scripts/read.mjs +31 -0
- package/scripts/refine.mjs +455 -0
- package/scripts/release-drift.mjs +138 -0
- package/scripts/restore.mjs +322 -0
- package/scripts/review.mjs +125 -0
- package/scripts/save.mjs +21 -0
- package/scripts/shell-lint.mjs +189 -0
- package/scripts/ship.mjs +460 -0
- package/scripts/shoot.mjs +264 -0
- package/scripts/smoke-invite.mjs +113 -0
- package/scripts/state-inventory.mjs +223 -0
- package/scripts/status.mjs +177 -0
- package/scripts/sync.mjs +27 -0
- package/scripts/tenant-do-rehearsal.mjs +1314 -0
- package/scripts/ui-copy-lint.mjs +202 -0
- package/scripts/watch.mjs +32 -0
- package/scripts/wrangler-preflight.mjs +246 -0
- package/seed/CANON.md +43 -0
- package/seed/README.md +119 -0
- package/seed/prototype-status.json +9 -0
- package/seed/registry.json +88 -0
- package/seed/skills/starter-ui/SKILL.md +52 -0
- package/seed/skills/starter-ui/skill.json +11 -0
- package/seed/skills/starter-ui/starter-tokens.css +73 -0
- package/seed/skills/starter-ui/starter-ui.css +318 -0
- package/seed/skills/starter-ui/starter-ui.js +50 -0
- package/seed/space.json +5 -0
- package/seed/start-here/prototypes/connect-your-terminal/index.html +428 -0
- package/seed/start-here/prototypes/connect-your-terminal/preview.webp +0 -0
- package/seed/start-here/prototypes/sample-with-comments/index.html +172 -0
- package/seed/start-here/prototypes/sample-with-comments/preview.webp +0 -0
- package/seed/start-here/prototypes/set-up-your-design-system/index.html +353 -0
- package/seed/start-here/prototypes/set-up-your-design-system/preview.webp +0 -0
- package/seed/threads.json +52 -0
- package/seed/worked-examples/prototypes/field-readings/index.html +273 -0
- package/seed/worked-examples/prototypes/field-readings/preview.webp +0 -0
- package/seed/worked-examples/prototypes/slide-deck/index.html +214 -0
- package/seed/worked-examples/prototypes/slide-deck/preview.webp +0 -0
- package/seed/worked-examples/prototypes/specimen-viewer/index.html +203 -0
- package/seed/worked-examples/prototypes/specimen-viewer/preview.webp +0 -0
- package/src/_worker.js +12668 -0
- package/src/board-key.mjs +57 -0
- package/src/board-room.mjs +881 -0
- package/src/bundle-keys.mjs +138 -0
- package/src/canon/collect-in-browser.js +215 -0
- package/src/canon/emit.mjs +232 -0
- package/src/canon/observe.mjs +260 -0
- package/src/canon/schema.mjs +451 -0
- package/src/canvas/DSEG-LICENSE.txt +95 -0
- package/src/canvas/DSEG7Classic-Bold.woff2 +0 -0
- package/src/canvas/canvas.css +885 -0
- package/src/canvas/canvas.js +5780 -0
- package/src/canvas/capture.js +485 -0
- package/src/chrome/appchrome.mjs +568 -0
- package/src/currency.mjs +203 -0
- package/src/delete-confirmation.mjs +254 -0
- package/src/drafts/drafts.js +326 -0
- package/src/entry.js +58 -0
- package/src/galleries.mjs +400 -0
- package/src/health-cron.mjs +173 -0
- package/src/identity.json +1 -0
- package/src/kv-codec.mjs +135 -0
- package/src/kv-identity.mjs +259 -0
- package/src/mail.mjs +599 -0
- package/src/provenance.mjs +74 -0
- package/src/publish-compose.mjs +363 -0
- package/src/publish-fork.mjs +221 -0
- package/src/publish-units.mjs +44 -0
- package/src/purge.mjs +81 -0
- package/src/review/COMMENTING-UX.md +306 -0
- package/src/review/cat.png +0 -0
- package/src/review/comment-cursor.svg +7 -0
- package/src/review/comments.js +1738 -0
- package/src/room-ticket.mjs +96 -0
- package/src/roster-chip.mjs +32 -0
- package/src/seed-pack.mjs +261 -0
- package/src/state-inventory.mjs +249 -0
- package/src/sw-logic.mjs +48 -0
- package/src/tenant-cache.mjs +141 -0
- package/src/tenant-context.mjs +386 -0
- package/src/tenant-do.js +2940 -0
- package/src/tenant-host.mjs +144 -0
- package/src/tenant-quotas.mjs +140 -0
- package/src/unit-core.mjs +103 -0
- package/src/unit-object.mjs +338 -0
- package/templates/README.md +67 -0
- package/templates/shell/deploy.yml +145 -0
- package/templates/shell/engine-bump.yml +142 -0
- package/templates/shell/health.yml +233 -0
- package/templates/shell/kv-backup.yml +201 -0
- package/templates/shell/roster-update.yml +110 -0
- package/templates/shell/space-preflight.yml +35 -0
- package/templates/shell/space-rebake.yml +79 -0
- package/templates/shell/store-backup.yml +152 -0
- package/templates/shell/wrangler.example.toml +266 -0
- package/templates/space/publish.yml +91 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Working marks — say what you are about to touch, read what everyone else is
|
|
2
|
+
|
|
3
|
+
Nothing in a workspace used to say what was already being worked on. Two people's
|
|
4
|
+
agents, on two machines, both told to improve "the checkout flow", would each open
|
|
5
|
+
the same folder, each edit it, and find out at publish time — where the answer is a
|
|
6
|
+
fork, a conflict file and an afternoon nobody planned.
|
|
7
|
+
|
|
8
|
+
A **mark** is a note on a path saying *something is editing here right now*. It
|
|
9
|
+
carries the path, a one-way id for who left it, when it started, and how long it is
|
|
10
|
+
good for. That is all it is.
|
|
11
|
+
|
|
12
|
+
Where the workspace serves drafts, a draft IS the mark: `augur open` tells you who else
|
|
13
|
+
has the prototype open and shows you on their chips, with nothing to leave and nothing to
|
|
14
|
+
expire — see [drafts.md](./drafts.md). Marks stay for workspaces without drafts.
|
|
15
|
+
|
|
16
|
+
## ⚠️ It is not a lock, and you must not treat it as one
|
|
17
|
+
|
|
18
|
+
A mark **grants nothing and refuses nothing**. A marked path can still be opened,
|
|
19
|
+
edited, published and shipped by anybody, including you. Nothing in the engine asks
|
|
20
|
+
a mark for permission — not the gate, not the publish handler, not the commit.
|
|
21
|
+
`augur mark` exits 0 whatever it finds.
|
|
22
|
+
|
|
23
|
+
So do not write a script that blocks on a mark, retries until one clears, or treats
|
|
24
|
+
one as a failure. When coordination genuinely fails, the composed publish settles it
|
|
25
|
+
on evidence after the fact (see [publishing.md](./publishing.md)) — that is the part
|
|
26
|
+
that is allowed to refuse, and it is the only part.
|
|
27
|
+
|
|
28
|
+
## The protocol, in one line
|
|
29
|
+
|
|
30
|
+
**Read the marks before you start. Leave one when you do.**
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
augur mark what is being worked on right now
|
|
34
|
+
augur mark <path> [--ttl <seconds>] leave a mark on it, then start
|
|
35
|
+
augur mark <path> --clear take yours down early
|
|
36
|
+
augur mark … --json the same answer, for a tool to read
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
A path is a URL path (`/checkout/flow/`). The repo folder is accepted and
|
|
40
|
+
translated, so `checkout/prototypes/flow` — the folder you were just editing —
|
|
41
|
+
marks the URL it publishes to. The line printed back is always the instance's own
|
|
42
|
+
spelling; do not assume yours won.
|
|
43
|
+
|
|
44
|
+
Marking a path that somebody else already marked **still works**, and prints their
|
|
45
|
+
mark next to yours. That is the whole design: you now know, and you choose. Pick a
|
|
46
|
+
different path, wait it out, or carry on knowing you will be merging.
|
|
47
|
+
|
|
48
|
+
## It expires by itself
|
|
49
|
+
|
|
50
|
+
A mark is good for ten minutes by default and an hour at the most. The instance
|
|
51
|
+
stops reporting it the moment that passes, whether or not anything ever clears it.
|
|
52
|
+
|
|
53
|
+
That is the point rather than a detail. The thing leaving marks is a process that
|
|
54
|
+
can be killed — an interrupt, an out-of-memory, a closed laptop — and a claim that
|
|
55
|
+
outlives the claimant is worse than no claim at all, because the next reader
|
|
56
|
+
believes it. **`--clear` is a courtesy, never the guarantee.** There is no cleanup
|
|
57
|
+
job to run and none to forget.
|
|
58
|
+
|
|
59
|
+
If the work is genuinely still going when the mark lapses, mark it again. An agent
|
|
60
|
+
that wants a four-hour mark is describing a lock, and the answer to a lock is a
|
|
61
|
+
short mark re-written as the work continues.
|
|
62
|
+
|
|
63
|
+
## Where marks show up without being asked for
|
|
64
|
+
|
|
65
|
+
- `augur status` prints what is being worked on, under the live-vs-clone table.
|
|
66
|
+
- `augur clone` and `augur pull` print the marks on the paths they are about to
|
|
67
|
+
write, before the first byte lands — and write anyway, with the same exit code
|
|
68
|
+
as always.
|
|
69
|
+
- A gallery card carries a small badge (*"… is working on this"*) while a mark on
|
|
70
|
+
that exact URL is live, and drops it when the mark lapses.
|
|
71
|
+
|
|
72
|
+
The badge is the **byproduct**, not the point. As an agent's edit shrinks toward
|
|
73
|
+
seconds, a mark is felt almost never and read always — which is why the write side
|
|
74
|
+
is the CLI and the browser side only ever reads.
|
|
75
|
+
|
|
76
|
+
## What is stored
|
|
77
|
+
|
|
78
|
+
`{path, personId, startedAt, ttl}` — and `personId` is the same one-way fingerprint
|
|
79
|
+
a comment carries, so a mark holds **no address**. The display name beside it is
|
|
80
|
+
resolved from the roster at read time, never stored, so a rename shows through and
|
|
81
|
+
somebody who has left resolves to "Someone".
|
|
82
|
+
|
|
83
|
+
Marks are workspace state, not published content: they are covered by
|
|
84
|
+
`augur export --full`, and a restore deliberately drops them (see
|
|
85
|
+
`src/state-inventory.mjs`) rather than reinstating a claim about a moment that has
|
|
86
|
+
passed.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="643" height="643" viewBox="0 0 643 643" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Augur">
|
|
2
|
+
<path fill="#2C2150" fill-rule="evenodd" clip-rule="evenodd" d="M303.668 0.501099C480.9 -9.31876 632.543 126.378 642.396 303.609C652.249 480.839 516.579 632.508 339.35 642.392C162.076 652.279 10.36 516.567 0.504883 339.291C-9.34912 162.015 126.39 10.3241 303.668 0.501099ZM321.31 58.589C313.993 78.2949 309.682 91.0001 300.003 110.42C256.894 196.544 185.761 265.436 98.3008 305.765C84.5568 312.054 73.3451 316.365 59.0391 321.205C166.492 358.562 254.54 437.345 303.567 540.001C306.201 545.441 320.11 580.712 320.888 581.447C329.254 559.649 338.869 536.27 350.55 515.916C397.544 434.024 469.471 370.244 555.57 331.86C563.577 328.29 574.85 323.736 583.145 321.47C472.786 278.754 383.1 203.746 334.938 93.8761C332.878 89.1732 321.885 59.2127 321.31 58.589Z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Augur">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="tile" x1="160" y1="80" x2="880" y2="980" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset="0" stop-color="#241A3D"/>
|
|
5
|
+
<stop offset="0.55" stop-color="#2C1F49"/>
|
|
6
|
+
<stop offset="1" stop-color="#382350"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<radialGradient id="dawn" cx="512" cy="900" r="520" gradientUnits="userSpaceOnUse">
|
|
9
|
+
<stop offset="0" stop-color="#7A4E86" stop-opacity="0.55"/>
|
|
10
|
+
<stop offset="0.45" stop-color="#4A2D5A" stop-opacity="0.30"/>
|
|
11
|
+
<stop offset="1" stop-color="#382350" stop-opacity="0"/>
|
|
12
|
+
</radialGradient>
|
|
13
|
+
<linearGradient id="gold" x1="254" y1="296" x2="770" y2="686" gradientUnits="userSpaceOnUse">
|
|
14
|
+
<stop offset="0" stop-color="#FAD79A"/>
|
|
15
|
+
<stop offset="0.55" stop-color="#F1C078"/>
|
|
16
|
+
<stop offset="1" stop-color="#E2A14E"/>
|
|
17
|
+
</linearGradient>
|
|
18
|
+
</defs>
|
|
19
|
+
|
|
20
|
+
<!-- tile -->
|
|
21
|
+
<rect x="32" y="32" width="960" height="960" rx="224" fill="url(#tile)"/>
|
|
22
|
+
<rect x="32" y="32" width="960" height="960" rx="224" fill="url(#dawn)"/>
|
|
23
|
+
<rect x="33.5" y="33.5" width="957" height="957" rx="222.5" stroke="#FFFFFF" stroke-opacity="0.07" stroke-width="3"/>
|
|
24
|
+
|
|
25
|
+
<!-- soaring raptor, top-down -->
|
|
26
|
+
<path fill="url(#gold)" d="
|
|
27
|
+
M512 300
|
|
28
|
+
C 526 316 531 342 539 366
|
|
29
|
+
C 566 358 664 350 744 392
|
|
30
|
+
C 672 452 600 452 570 480
|
|
31
|
+
C 564 540 562 576 553 612
|
|
32
|
+
C 558 642 560 662 558 682
|
|
33
|
+
L 512 642
|
|
34
|
+
L 466 682
|
|
35
|
+
C 464 662 466 642 471 612
|
|
36
|
+
C 462 576 460 540 454 480
|
|
37
|
+
C 424 452 352 452 280 392
|
|
38
|
+
C 360 350 458 358 485 366
|
|
39
|
+
C 493 342 498 316 512 300
|
|
40
|
+
Z"/>
|
|
41
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="1024" height="1024" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Augur">
|
|
2
|
+
<rect width="1024" height="1024" rx="224" fill="#F4EFE6"/>
|
|
3
|
+
<g transform="translate(153.5 153.5) scale(1.115)" fill="#2C2150" fill-rule="evenodd"><path d="M303.668 0.501099C480.9 -9.31876 632.543 126.378 642.396 303.609C652.249 480.839 516.579 632.508 339.35 642.392C162.076 652.279 10.36 516.567 0.504883 339.291C-9.34912 162.015 126.39 10.3241 303.668 0.501099ZM321.31 58.589C313.993 78.2949 309.682 91.0001 300.003 110.42C256.894 196.544 185.761 265.436 98.3008 305.765C84.5568 312.054 73.3451 316.365 59.0391 321.205C166.492 358.562 254.54 437.345 303.567 540.001C306.201 545.441 320.11 580.712 320.888 581.447C329.254 559.649 338.869 536.27 350.55 515.916C397.544 434.024 469.471 370.244 555.57 331.86C563.577 328.29 574.85 323.736 583.145 321.47C472.786 278.754 383.1 203.746 334.938 93.8761C332.878 89.1732 321.885 59.2127 321.31 58.589Z"/></g>
|
|
4
|
+
<rect x="2" y="2" width="1020" height="1020" rx="222" fill="none" stroke="#2C2150" stroke-opacity="0.14" stroke-width="4"/>
|
|
5
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|