Skip to content

rmoehn/patchwork-reflection

Repository files navigation

Glossary

CASO

Context, action, successor context, other contexts. Reflection graph format with this basic unit:

Context
│
Action
│
├─ Successor context
├─ Other contexts
└─ …

This doesn't permit drilling down into child and niece contexts.

CSR

Context, source, result. Reflection graph format with the basic unit:

Context
├─ Source
│  ├─ Starting context
│  ├─ Action
│  ├─ Successor context
│  ├─ Other contexts
│  └─ …
└─ Result
   ├─ Same as above
   └─ …

Does permit drilling down into child and niece contexts.

Repository content

These files use a jumble of schemes and formats. This is bad for comprehension, but it lets us pick and choose.

  • reflected-locked-pointer.txt CASO:

    • Answer pointer of the same subquestion both in the reflected and the actual context.
  • reflected-locked-pointer.edn CSR:

    • Same scenario as in reflected-locked-pointer.txt.
    • Explores EDN representation.
    • And path-based pointers.
    • And "unlocking" pointers of reflected contexts.
    • And age of reflected context.
  • reflect-reflect.edn CSR:

    • The nested case: Reflecting a context that itself had reflected a context.
    • Abbreviated syntax.
    • Marking pointers as :loop when they are recursive, ie. they're pointing at the sub-graph that they're in.
    • Reflecting the root context with a pseudo-action :root.
    • Renumbering vs. pointer sharing.

About

Design documents for adding reflection to https://github.com/oughtinc/patchwork

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors