Dear Tim Maudlin,
I know from your work that you have a strong acquaintance withh Bell's work (B). I arrived at Bell/CHSH inequality from my investigation of Kochen-Specker theorem for multiple qubits mainly through Mermin' treatise (my ref. [19]). At some stage, I observed that the commutation diagram for a set of four observables involved in the violation of the inequality is just a square/quadrangle.
Hence my attempt to deepen the subject. My work on KS in dimensions 4, 8 and 16 (two, three and four qubits) is in 1204.4275 (quant-ph) [Eur. Phys. J. Plus 127,86 (2012)] where I also mention a paper of P.K. Aravind on BKS.
My 2013 FQXi essay [also 1310.4267 (quant-ph)] provides the details you ask for. The inequality in p. 4 of my present essay is that of Peres's book [(6.30, p. 164 of Quantum Theory: Concepts and Methods, Kluwer, 1995]. Replacing the dichotomic variables s_i by the appropriate (i.e. commuting like a square) two-qubit operators (or n-qubit operators) that have dichotomic eigenvalues +/-1) as in Peres, p. 174, the norm of C equals 2v2. With two-qubits, there are 90 distinct squares/violations, some involve entangled pairs of operators, others no (as in my example of Fig. 2a). B or KS is not a matter of entanglement but of contexts (compatible observables) as already recognized by many authors. Here I don't refer to an interpretation of QM but to a strict application of its domain of action.
Of course on can go ahead and try to discover a realm for squares and other finite geometries relevant for BKS as I started to do in the 2010 FQXi essay and my subsequent work. I have found that the application of Grothendieck's dessins d'enfants is very promising in this respect. I have been quite surprised that stabilizing a particular square from the two-generator index 4 free group is an instance of the smallest moonshine group (p. 5) whose structure amounts to that of the Baby Monster group.
I hope that it clarifies a bit what I wrote. I am currently working at your own ambitious essay and I intend to give you some comments in the coming days.
All the best,
Michel