Repository navigation
feat(analysis): decision provenance and citation foundations (#32) - #37
Draft
ClaudiaFang wants to merge 5 commits into
Draft
ClaudiaFang wants to merge 5 commits into
ClaudiaFang wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First implementation slice for #32 (part of #31): selectively port evidence-grounded Decision Attribution from b08x into Firstsun's analysis pipeline, without replacing Firstsun schema or UI.
decided_by(user | agent | collaborative | unknown) plus optionalintentandbranch_point.User#N/Assistant#Nevidence remains; prompt now specifies role-specific zero-based ordinals.insights.metadatawith conservativeunknownfallback for absent/invalid actor values, notcollaborative.3.1.0so the new analytical output is identifiable.No SQLite migration in this slice. Firstsun V1-V14, Multi-home/Personality/Kilo, Docker and Node24/pnpm12 configuration are untouched.
Remaining for #32 (this PR is DRAFT)
TurnRef -> message IDresolver rejects malformed or out-of-range references; literal quote grounding still requires manual/fixture verification.Source
Refs #31; Partially implements #32.