Repository navigation
Commit 906a6ed
gluck
outfit: a skill is keys, not a value holding an object
Every object-valued key on a real board came from one place: ContentEnvelope,
written as one key per skill and one for the credo. 25 of 36 keys.
They are keys now:
skills.bossman.frontmatter
skills.bossman.filePath
system.credo.content
system.credo.filePath
A value the board cannot reach into must be rewritten whole to change one
field, and it makes the keys a caller wrote differ from the paths the board
holds -- which is why enumerating a board yielded 61 leaves for 36 keys. With
the fields as keys the two are the same number.
testdata/board-default.json keeps the old shape on purpose: it is what an
older figaro wrote, and opening it is what the wire tests are for.1 parent fb7d2e0 commit 906a6ed
2 files changed
Lines changed: 67 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 399 | + | |
405 | 400 | | |
406 | 401 | | |
407 | 402 | | |
| |||
433 | 428 | | |
434 | 429 | | |
435 | 430 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
| 431 | + | |
441 | 432 | | |
442 | 433 | | |
443 | 434 | | |
| |||
608 | 599 | | |
609 | 600 | | |
610 | 601 | | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments