Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental/manifest technical note #1260

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

jannistsiroyannis
Copy link
Contributor

This draft implements a rough version of one CXZ rule (primary contribution) and creates an implied marker for it in the indexed version of the record. The stored (in pg) version does not have this implied marker. The (possibly broken out) agent-record where the actual change was made, however, has a "changed agent" marker both in the stored and indexed versions (uggh inconsistent).

It's black magic and sacrificed cats all the way, and there are some side effects of all this:

  1. ChangeNotes have to go under mainEntity, and cannot sit (where they perhaps should) in metadata (@graph,0). Because otherwise we cannot (without rebuilding the world) bring them with us when embellishing, which we must.

  2. TechnicalNotes and everything they contain must be part of the "card" or "search-card"-definition, because all of the data in these notes must be kept when embellishing, or else we won't have the necessary info from which to imply second order markers. This may have bad knock on-effects, such as for example these notes possibly showing up in the GUI (or otherwise requiring more dead cats to filter them out). For the moment being this was avoided by temporarily hacking the embellish-process, but that won't be good enough in the real world.

Also, this (if/when all the rules are implemented) obviously also only delivers ~1/3 of the CXZ-feature, as the actual stream this is supposed to result in, and all handling of the actual notifications aren't here, and will have to be built in the front end instead.

I consider all this a Very Bad Idea (tm), but there it is.

The notes are added when a significant change (according to some set of rules)
is made to a record.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant